Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:BadgeLink/doc"

From Paragon Wiki Archive
Jump to: navigation, search
m (typo)
(updating to document new parameter)
 
(7 intermediate revisions 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.
  
 
==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. -->
+
[[Category:Badge Templates]]
+
</includeonly><noinclude>
+
  
[[Category:Link Templates]]</noinclude>
+
{{BadgeLink|Resolute|Veteran}}
 +
 
 +
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 +
[[Category:Link Templates]]
 +
[[Category:Badge Templates]]
 +
</includeonly>

Latest 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