Difference between revisions of "Template:Clanbox"

From The Shartak Wiki
Jump to navigationJump to search
m (Changed categorization for inactive clans.)
Line 13: Line 13:
 
|-style="vertical-align: top"
 
|-style="vertical-align: top"
 
|'''Contact:'''||{{{clan_contact}}}
 
|'''Contact:'''||{{{clan_contact}}}
|}{{ifeq:{{{sort_as|}}}||[[Category:Clans]]|[[Category:Clans|{{{sort_as}}}]]}}{{ifeq:{{{open_to|}}}|||{{ifeq:{{{sort_as|}}}||[[Category:Clans for {{{open_to}}}]]|[[Category:Clans for {{{open_to}}}|{{{sort_as}}}]]}}}}{{ifeq:{{{official_id|}}}|||{{ifeq:{{{sort_as|}}}||[[Category:Officially recognized clans]]|[[Category:Officially recognized clans|{{{sort_as}}}]]}}}}</includeonly><noinclude>Each [[clan]] should use this template to present their information in the way visitors expect.
+
|}
 +
{{ifeq:{{{active|}}}|no|{{ifeq:{{{sort_as|}}}||[[Category:Inactive clans]]|[[Category:Clans|{{{sort_as}}}]]}}|{{ifeq:{{{sort_as|}}}||[[Category:Clans]]|[[Category:Clans|{{{sort_as}}}]]}}{{ifeq:{{{open_to|}}}|||{{ifeq:{{{sort_as|}}}||[[Category:Clans for {{{open_to}}}]]|[[Category:Clans for {{{open_to}}}|{{{sort_as}}}]]}}}}{{ifeq:{{{official_id|}}}|||{{ifeq:{{{sort_as|}}}||[[Category:Officially recognized clans]]|[[Category:Officially recognized clans|{{{sort_as}}}]]}}}}}}</includeonly><noinclude>Each [[clan]] should use this template to present their information in the way visitors expect.
  
 
== Usage ==
 
== Usage ==

Revision as of 20:30, 26 July 2006

Each clan should use this template to present their information in the way visitors expect.

Usage

{{Clanbox|
clan_name=Clan Name|
official_id=|
open_to=everyone|
clan_image=|
clan_leaders=|
clan_membership=|
clan_goals=|
clan_recruit=|
clan_contact=|
sort_as=|
}}

Fields

Required fields are in bold text.

  • clan_name: The name.
  • official_id: If the clan is registered, its ID is the number at the end of the address of its in-game page. If it's not registered, leave this field blank.
  • open_to: Must be everyone, outsiders, or natives, with no capitalization.
  • clan_image: An image for the clan. Large images should be used like [[Image:ClanImage.jpg|300px]], where 300 is the width in pixels to shrink the image to on the page.
  • clan_leaders: The leader(s), if any.
  • clan_membership: The number of members.
  • clan_goals: The goals, if any.
  • clan_recruit: Recruiting policies, if any.
  • clan_contact: Preferred methods of contact.
  • sort_as: Sort key; leave blank in most cases. If your clan's name is "The Wimps", this should be "Wimps, The" to be sorted in the W's.