Template:BadgeLink: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Eabrace
m (template for creating links to badge articles with only the name of the badge showing)
 
(allow custom text parameter)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[{{{1}}} Badge|{{{1}}}]]</noinclude>{{Documentation}}</noinclude>
[[{{{1}}} Badge {{#if:{{{2|}}}|({{{2}}})|}}|{{{text|{{{1}}}}}}]]<noinclude>{{Documentation}}</noinclude>

Latest revision as of 08:06, 24 April 2022

[[{{{1}}} Badge |{{{1}}}]]

[edit] [purge] Documentation

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