Template:BadgeHunter Badge: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko
m (rm extra space at beginning)
imported>Konoko
(fixed if/then nesting)
Line 1: Line 1:
* [http://www.badge-hunter.com/view_badges.php?{{#if: {{{ID|}}} |id={{{ID}}}}}{{#if: {{{name|}}} |name={{{name}}}|name={{PAGENAMEE}}}} {{PAGENAME}}] at [http://www.Badge-Hunter.com/ Badge-Hunter.com]
* [http://www.badge-hunter.com/view_badges.php?{{#if: {{{ID|}}} |id={{{ID}}}|{{#if: {{{name|}}} |name={{{name}}}|name={{PAGENAMEE}}}}}} {{PAGENAME}}] at [http://www.Badge-Hunter.com/ Badge-Hunter.com]
<noinclude>
<noinclude>
[[Category:External Link Templates|{{PAGENAME}}]]
[[Category:External Link Templates|{{PAGENAME}}]]

Revision as of 17:54, 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}}
{{BadgeHunter Badge|ID=0}}