Template:BadgeLink/doc: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Zombie Man (historical)
m (making progress)
imported>Sekoia (historical)
(updating to document new parameter)
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.


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

Revision as of 17:00, 5 September 2010

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.

Example

{{BadgeLink|Hallow Spirit}}

Hallow Spirit

{{BadgeLink|Resolute|Veteran}}

Resolute