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:BadgeHunter Badge"

From Paragon Wiki Archive
Jump to: navigation, search
m (double eesh)
(Created conditional statements to allow for name OR id parameters to be used, in case of legacy links)
Line 1: Line 1:
* [http://www.badge-hunter.com/view_badges.php?name={{{name|{{PAGENAMEE}}}}} {{PAGENAME}}] at [http://www.Badge-Hunter.com/ Badge-Hunter.com]<noinclude>
+
{{#if: {{{ID|}}} | * [http://www.badge-hunter.com/view_badges.php?id={{{ID}}} {{PAGENAME}}] at [http://www.Badge-Hunter.com/ Badge-Hunter.com] }}
 +
{{#if: {{{name|}}} | * [http://www.badge-hunter.com/view_badges.php?name={{{name}}} {{PAGENAME}}] at [http://www.Badge-Hunter.com/ Badge-Hunter.com] |  * [http://www.badge-hunter.com/view_badges.php?name={{PAGENAMEE}} {{PAGENAME}}] at [http://www.Badge-Hunter.com/ Badge-Hunter.com] }}
 +
<noinclude>
 
[[Category:External Link Templates|{{PAGENAME}}]]
 
[[Category:External Link Templates|{{PAGENAME}}]]
  
Line 5: Line 7:
 
A template that can be used to link to badge listings at [http://www.Badge-Hunter.com/ Badge-Hunter.com]
 
A template that can be used to link to badge listings at [http://www.Badge-Hunter.com/ Badge-Hunter.com]
  
By default will use the article's PAGENAMEE (converts spaces to underscores and makes it URL friendly), however in the event that PAGENAMEE does not match what badge-hunter is using, can be replaced by the name parameter. (id parameter will be added in the near future)
+
By default will use the article's PAGENAMEE (converts spaces to underscores and makes it URL friendly), however in the event that PAGENAMEE does not match what badge-hunter is using, can be replaced by the name parameter. As a last resort, should the name search feature at Badge-Hunter fail completely, the ID parameter can be used, however, this requires the page editor to verify the badge id at badge-hunter.
 
:{{tl|BadgeHunter Badge}}
 
:{{tl|BadgeHunter Badge}}
 
:{{BadgeHunter Badge}}  
 
:{{BadgeHunter Badge}}  
 
:{{tl|BadgeHunter Badge|name&#61;Other_Badge_Name}}
 
:{{tl|BadgeHunter Badge|name&#61;Other_Badge_Name}}
 
:{{BadgeHunter Badge|name=Other_Badge_Name}}
 
:{{BadgeHunter Badge|name=Other_Badge_Name}}
 +
 
</noinclude>
 
</noinclude>

Revision as of 17:41, 8 June 2007


A template that can be used to link to badge listings at Badge-Hunter.com

By default will use the article's PAGENAMEE (converts spaces to underscores and makes it URL friendly), however in the event that PAGENAMEE does not match what badge-hunter is using, can be replaced by the name parameter. As a last resort, should the name search feature at Badge-Hunter fail completely, the ID parameter can be used, however, this requires the page editor to verify the badge id at badge-hunter.

{{BadgeHunter Badge}}
{{BadgeHunter Badge|name=Other_Badge_Name}}