Template:BadgeLink/doc: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia
(updating to document new parameter)
(added text 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. The first value is the badge name. The second value, if present, is the parenthetical after the badge name.
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==

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