Difference between revisions of "Template:Clanbox"

From The Shartak Wiki
Jump to navigationJump to search
m
m (Added support for optional "sort_as" and "open_to" tags.)
Line 13: Line 13:
 
|-style="vertical-align: top"
 
|-style="vertical-align: top"
 
|'''Contact:'''||{{{clan_contact}}}
 
|'''Contact:'''||{{{clan_contact}}}
|}<includeonly>[[Category:Clans]]</includeonly><noinclude>[[Category:Templates|Clanbox]]</noinclude>
+
|}<includeonly>{{ifeq:{{{sort_as|}}}|{{{sort_as|.}}}|[[Category:Clans|{{{sort_as}}}]]|[[Category:Clans]]}}{{ifeq:{{{open_to|}}}|{{{open_to|.}}}|{{ifeq:{{{sort_as|}}}|{{{sort_as|.}}}|[[Category:Clans for {{{open_to}}}|{{{sort_as}}}]]|[[Category:Clans for {{{open_to}}}]]}}}}</includeonly><noinclude>[[Category:Templates|Clanbox]]</noinclude>

Revision as of 05:47, 19 July 2006

{{{clan_name}}}

Template:Ifeq:

Leadership: {{{clan_leaders}}}
Membership: {{{clan_membership}}}
Goals: {{{clan_goals}}}
Recruitment policy: {{{clan_recruit}}}
Contact: {{{clan_contact}}}