--On Tuesday, March 31, 2009 11:42 PM +0200 Jean-Marc van Leerdam 
<[email protected]> wrote:

> Actually, calling {{Test| }} also correctly renders the space, so it's
> probably not the template parameter passing part that is causing your
> problem but the template code that processes the parameter value. Do
> you have more details about the template you are trying to use?

The wiki is a public wiki hosted by Wikia.

>From <http://www.wowwiki.com/Special:Version> it looks like they're running 
MediaWiki 1.13.4.

The template can be found here:

<http://www.wowwiki.com/Template:Guildbox>

Here's the content (the armory link at the bottom is the one I want to get 
working):

{{Talkpagedoc}}
[[Category:Infobox templates|{{PAGENAME}}]]


<includeonly><onlyinclude>{{Iconbox
|icon = {{{{{faction|Neutral}}} Icon}}
|name = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|body =
{{#if:{{{image|}}}|<div style="text-align: center; padding: 5px 
0">[[Image:{{{image}}}|200x300px|Image of {{{name}}}]]</div>}}
{{{!}} style="background-color: transparent; width: 100%"
{{#if:{{{name|}}}|
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Name
{{!}} {{{name}}} }}
{{!}}-
{{#if:{{{server|}}}|
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Server
{{!}} [[Server:{{{server}}} {{{location}}}|{{{server}}} {{{location}}}]] }}
{{!}}-
{{#if:{{{leader|}}}|
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Guild Leader
{{!}} {{{leader}}} }}
{{!}}-
{{#if:{{{co-gm|}}}|
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Co-GM
{{!}} {{{co-gm}}} }}
{{!}}-
{{#if:{{{officers|}}}|
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Guild Officers
{{!}} {{{officers}}} }}
{{!}}-
{{#if:{{{level|}}}|
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Levels
{{!}} {{{level}}} }}
{{!}}-
{{#if:{{{type|}}}|
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Type
{{!}} 
{{#ifexist:{{{type}}}|[[{{{type}}}]]{{#if:{{{doc|}}}||{{#switch:{{lc:{{{type|-}}}}}|pve=[[Category:PvE
 
guilds]]|pvp=[[Category:PvP guilds]]|rp=[[Category:RP 
guilds]]|-=}}}}|{{{type}}}}} }}
{{!}}-
{{#if:{{{accounts|}}}|
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Accounts
{{!}} {{{accounts}}} }}
{{!}}-
{{#if:{{{web|}}}|
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Website
{{!}} [{{{web}}} {{{name}}} Website] }}
{{!}}-
{{#ifeq:{{{location}}}|US
|{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Armory
{{!}} 
[http://www.wowarmory.com/guild-info.xml?r={{urlencode:{{{server}}}}}&n={{urlencode:{{{name}}}}}&p=1
 
{{{name}}} Armory]
|{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Armory
{{!}} 
[http://eu.wowarmory.com/guild-info.xml?r={{urlencode:{{{server}}}}}&n={{urlencode:{{{name}}}}}&p=1
 
{{{name}}} Armory] }}
{{!}}}
}}{{#if:{{{doc|}}}||{{#switch:{{lc:{{{faction|-}}}}}|horde=[[Category:Horde 
guilds]]|alliance=[[Category:Alliance 
guilds]]|-=}}}}</onlyinclude></includeonly>




_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to