Template:Infobox Template

From Twinsuniverse
Revision as of 23:44, 28 May 2014 by J McKalling (Talk | contribs)

Jump to: navigation, search

This template is used as an infobox for Template pages. It should be the first of the page, before the general description.

Parameters

  • title: An optional title to display at the top of the infobox (case sensitive, defaults to {{PAGENAME}})
  • purpose: The purpose of the template; infobox, formatting, messagebox or website (case insensitive, defaults to "unknown", see the /purpose subpage)
  • singletag: Whether or not the template should be called without parameters; yes, optional or no (case insensitive, defaults to "unspecified", see the /singletag subpage)
  • gamerelated: Whether or not the template directly relates to any of the games; yes or no (case insensitive, defaults to "unknown", see the /gamerelated subpage)
  • normalcat: The category name used for normal categorization if only one; "multiple" otherwise (case sensitive, defaults to not a categorizer)
  • abnormalcat: The category name used for abnormal categorization (case sensitive, defaults to not a categorizer)
  • defaultcat: The category name used for default categorization (case sensitive, defaults to not a categorizer)
  • suppressible: Whether or not the template allows suppression of categorization; yes, recursively or no (case insensitive, defaults to unknown, see the /suppressible subpage)
  • nocat: Whether or not to suppress categorization of the template itself under all automatically chosen categories (defaults to false, which means auto categorization).


Note: The value of the Protected heading of this infobox is automatically set, and cannot be specified manually.

Syntax

Copy and paste the following for quick use:

{{Infobox Template
 |purpose=
 |singletag=
 |gamerelated=
 |normalcat=
 |abnormalcat=
 |defaultcat=
 |suppressable=
}}

Example

On a template page called "Infobox User/adventure":

Infobox User/adventure
Purpose

Infobox [list all]

Single tag

No [list all]

Protected

No [list all]

Game related

Yes [list all]

Categorization
Normally

Multiple [list all]

Default

Users with unknown adventure xp

Suppressible

Yes [list all]

Maintenance tasks
Variables
Subpages
{{Infobox Template
 |purpose=infobox
 |singletag=no
 |gamerelated=yes
 |normalcat=multiple
 |abnormalcat=
 |defaultcat=Users with unknown adventure xp
 |suppressable=yes
}}

example paragraph: Description text about the template, in this case Adventure XP. Description text about the template, in this case Adventure XP. Description text about the template, in this case Adventure XP. Description text about the template, in this case Adventure XP. Description text about the template, in this case Adventure XP. Description text about the template, in this case Adventure XP. Description text about the template, in this case Adventure XP. Description text about the template, in this case Adventure XP. Description text about the template, in this case Adventure XP. Description text about the template, in this case Adventure XP. Description text about the template, in this case Adventure XP. Description text about the template, in this case Adventure XP. Description text about the template, in this case Adventure XP. Description text about the template, in this case Adventure XP. Description text about the template, in this case Adventure XP. Description text about the template, in this case Adventure XP. Description text about the template, in this case Adventure XP. Description text about the template, in this case Adventure XP.