Difference between revisions of "Template:Infobox Template"

From Twinsuniverse
Jump to: navigation, search
m (new fix)
m (fix attempt)
Line 43: Line 43:
  
 
  |label3=Protected
 
  |label3=Protected
  |data3={{#switch:{{PROTECTIONLEVEL:edit}}|sysop=Full|No|#default=Semi}}
+
  |data3={{#switch:{{PROTECTIONLEVEL:edit}}|sysop=Full|=No|#default=Semi}}
  
 
  |label4=Game related
 
  |label4=Game related

Revision as of 21:04, 28 May 2014

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 "unknown", 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 no, 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).

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

Game related

unknown [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.