Template:Clan: Difference between revisions

From A KoL Wiki
imported>SomeStranger
m revert
imported>Oneforfortytwo
m reinstate category
 
(14 intermediate revisions by 6 users not shown)
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|{{ifeq|{{{link}}}|}}|'''{{{clan}}}'''|[{{{link}}} '''{{{clan}}}''']}}
| style="background:#cedff2;text-align: center;" | Proud member of {{#if:{{{link|}}}|[{{{link}}} '''{{{clan}}}''']|'''{{{clan}}}'''}}
|}
|}</includeonly><noinclude>
<noinclude>
{{Code2}}


----
==Usage==
This template should be used on user pages to show one's pride for the clan that one is a member of. It should be used like so:


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:
<nowiki>{{clan|clan=My Clan|link=http://www.mywebpage.com/}}</nowiki>


<nowiki>{{clan|clan=My Clan|link=http://www.mywebpage.com}}</nowiki>
This would appear as:
{{clan|clan=My Clan|link=http://www.mywebpage.com/}}


Which would appear as:
If your clan does not have a webpage, or you do not want to link to it, you should leave the "link" value blank:
{{clan|clan=My Clan|link=http://www.mywebpage.com}}


<nowiki>{{clan|clan=My Clan}}</nowiki>


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:
This would appear as:
{{clan|clan=My Clan}}


<nowiki>{{clan|clan=My Clan|link=}}</nowiki>
[[Category:User Page Templates|{{PAGENAME}}]]</noinclude>
 
Which would appear as:
{{clan|clan=My Clan|link=}}
 
 
[[category:Templates| {{PAGENAME}}]]</noinclude>

Latest revision as of 18:38, 8 September 2013

{{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}}}'''}}

|}

Usage

This template should be used on user pages to show one's pride for the clan that one is a member of. It should be used like so:

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

This 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, you should leave the "link" value blank:

{{clan|clan=My Clan}}

This would appear as:

Proud member of My Clan