Template:BadgeLink/doc: Difference between revisions
Jump to navigation
Jump to search
imported>Zombie Man (historical) m (making progress) |
(added text parameter) |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> | ||
==Usage== | ==Usage== | ||
This template creates a link to a badge article using only the name of the badge. This allows a link of this type to be created without having to type the name of the badge twice. | This template creates a link to a badge article using only the name of the badge. This allows a link of this type to be created without having to type the name of the badge twice. The first value is the badge name. The second value, if present, is the parenthetical after the badge name. The text parameter, if present, overrides the displayed text. | ||
==Example== | ==Example== | ||
Line 10: | Line 10: | ||
{{BadgeLink|Hallow Spirit}} | {{BadgeLink|Hallow Spirit}} | ||
<nowiki>{{BadgeLink|Resolute|Veteran}}</nowiki> | |||
{{BadgeLink|Resolute|Veteran}} | |||
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:Link Templates]][[Category:Badge Templates]] | [[Category:Link Templates]] | ||
[[Category:Badge Templates]] | |||
</includeonly> | </includeonly> |
Latest revision as of 08:06, 24 April 2022
Usage
This template creates a link to a badge article using only the name of the badge. This allows a link of this type to be created without having to type the name of the badge twice. The first value is the badge name. The second value, if present, is the parenthetical after the badge name. The text parameter, if present, overrides the displayed text.
Example
{{BadgeLink|Hallow Spirit}}
{{BadgeLink|Resolute|Veteran}}