Template talk:BadgeHunter Badge

From Unofficial Homecoming Wiki
Revision as of 12:08, 8 June 2007 by imported>Warriorpoet (Request for assistance on template adjustment)
Jump to navigation Jump to search

TEst


Easy Template

Right now the template requires the use of the Badge-Hunter ID associated with a given badge. This puts a higher burden of work on anyone attempting to add new badges or standards existing articles.

For some time, the view_badges.php page at badge-hunter.com has had the ability to display badges based on id OR badge name. For wiki, I added code to handle the " Badge" that would be appended to any search based on article name. However, when I tried to edit the template to utilize this feature, I ran up against a wall - the spaces in the article name broke what I was trying to do.

Here is what I tried:

What it should look like is:

Is there a way to adjust the template so that the spaces are properly included/encoded?

Sapph 08:08, 8 June 2007 (EDT)