User talk:Alfwyn/Sandbox/Template:Infobox pirate/BK

It annoys me a bit that the names of brigand kings are shown 'plused'. Ways around that I can think of:


 * 1) Use a template like this for the brigand kings. Drawback currently is that it will show an Opal alt seperately even if the german name is the same as the english one. This could be fixed by comparing the english and the german name given as parameter.
 * 2) Put code into Infobox pirate so a name different from the URL-ified one can be specified to display. Perhaps too much change for a feature not needed at a later time (see next point).
 * 3) Using the urlencode magic word when creating yoweb links in the Infobox pirate code, allowing for spaces in 'piratenames'. Unfortunately this works only with MediaWiki 1.7 and later.
 * 4) Install the urlencode extension instead of waiting for a newer MediaWiki.

--Alfwyn 11:48, 10 March 2008 (PDT)


 * Personally I don't want to see the creation of an additional parameter in the Infobox pirate template that would allow for a different name to be displayed. There is already enough of a problem with what name some people would like displayed.  Option #3 is likely a direction that would be preferred since there is an update to the version of MediaWiki we are using in the not to distant future.  -- Cedarwings (talk) 13:11, 10 March 2008 (PDT)


 * Another option: Ask the devs to allow the lookup to work with spaces.... --Barrister 13:25, 10 March 2008 (PDT)
 * I think that already works (replacing the plus in the yoweb URL of my browser by a space or %20 works). The problem is more to convince the browser that the link doesn't end at the space - hm, I've to do some HTML testing without the wiki level added, but I'm not sure it will lead to something useable. --Alfwyn 13:39, 10 March 2008 (PDT)
 * Actually the problem is a wiki one, convincing it the space isn't the usual seperator of the url from the linktitle in a [ ... ] construct. --Alfwyn 14:00, 10 March 2008 (PDT)