Template:BadgeLink/doc: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Eabrace (historical)
m (documentation for template)
 
(added text parameter)
 
(10 intermediate revisions by 2 users 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}}


<includeonly><!--
<nowiki>{{BadgeLink|Resolute|Veteran}}</nowiki>
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 
{{BadgeLink|Resolute|Veteran}}
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Link Templates]]
[[Category:Badge Templates]]
[[Category:Badge Templates]]
</includeonly>
</includeonly>

Latest revision as of 08:06, 24 April 2022

This is a documentation subpage for Template:BadgeLink (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

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}}

Hallow Spirit

{{BadgeLink|Resolute|Veteran}}

Resolute