Template:Clan: Difference between revisions

From A KoL Wiki
imported>SomeStranger
changing to parserfunctions
imported>SomeStranger
fixed parserfunctions (I got it backwards)
Line 1: Line 1:
{| cellpadding="8px" cellspacing="5px" style="border:1px solid #cedff2;background-color:#f5faff;"
<includeonly>{| cellpadding="8px" cellspacing="5px" style="border:1px solid #cedff2;background-color:#f5faff;"
|-  
|-  
| style="background:#cedff2;text-align: center;" | Proud member of {{#if:{{{link|}}}|'''{{{clan}}}'''|[{{{link}}} '''{{{clan}}}''']}}
| style="background:#cedff2;text-align: center;" | Proud member of {{#if:{{{link|}}}|[{{{link}}} '''{{{clan}}}''']|'''{{{clan}}}'''}}
|}<noinclude>
|}</includeonly><noinclude>==Code=={{Code2}}
 
----
 
This template should be used on User: pages to show your pride for the clan that you are a member of. It should be used like this:
This template should be used on User: pages to show your pride for the clan that you are a member of. It should be used like this:


==Usage==
<nowiki>{{clan|clan=My Clan|link=http://www.mywebpage.com}}</nowiki>
<nowiki>{{clan|clan=My Clan|link=http://www.mywebpage.com}}</nowiki>



Revision as of 16:04, 20 June 2006

==Code==

{{Clan}}
{| cellpadding="8px" cellspacing="5px" style="border:1px solid #cedff2;background-color:#f5faff;"

|- | style="background:#cedff2;text-align: center;" | Proud member of {{#if:{{{link|}}}|[{{{link}}} '''{{{clan}}}''']|'''{{{clan}}}'''}}

|}

This template should be used on User: pages to show your pride for the clan that you are a member of. It should be used like this:

Usage

{{clan|clan=My Clan|link=http://www.mywebpage.com}}

Which would appear as:

Proud member of My Clan


If your clan does not have a webpage or you do not want to link to it, instead you should leave the "link" value as blank:

{{clan|clan=My Clan}}

Which would appear as:

Proud member of My Clan