Template:Link and Image/doc

From Sunrust Wiki
< Template:Link and Image
Revision as of 20:48, 23 June 2021 by Wither (talk | contribs) (added Template/doc.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is used for adding an image with a text, if the image exists, then the image will be shown.

Note: This template might be limited up to 500 per page.

Usage

This template has three unnamed parameters.

The first parameter is the image, e.g.: "File:weapon_zs_bustersword.png"

The second parameter is the text to be shown, if third parameter is defined, then it will also be used as link.

The third parameter is optional, if defined, will be the link to redirect.

Examples

Wikitext What is rendered
{{Template:Link_and_Image|Buster Sword|File:weapon_zs_bustersword.png}}
Weapon zs bustersword.pngBuster Sword
{{Template:Link_and_Image|Buster Sword|File:weapon_zs_bustersword.png|Breaker Blade}}
Weapon zs bustersword.pngBreaker Blade
{{Template:Link_and_Image|Buster Sword|False:brokenImage.jpg}}
Buster Sword
{{Template:Link_and_Image|Buster Sword|False:brokenImage.jpg|Breaker Blade}}
Breaker Blade