Template:BadgeHunter Badge: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Warriorpoet
m (another typo :/)
imported>Konoko
(Took identical text outside the if/then statements)
Line 1: Line 1:
{{#if: {{{ID|}}} | * [http://www.badge-hunter.com/view_badges.php?id={{{ID}}} {{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]
{{#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>
<noinclude>
[[Category:External Link Templates|{{PAGENAME}}]]
[[Category:External Link Templates|{{PAGENAME}}]]

Revision as of 17:53, 8 June 2007

* BadgeHunter Badge at Badge-Hunter.com

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 at Badge-Hunter.com
{{BadgeHunter Badge|name=Other_Badge_Name}}
* BadgeHunter Badge at Badge-Hunter.com
{{BadgeHunter Badge|ID=0}}
* BadgeHunter Badge at Badge-Hunter.com