Jump to content

Template:Tic-Tac-Toe

From Wikipedia, the free encyclopedia

This template's initial visibility currently defaults to expanded, meaning that it is fully visible.

To change this template's initial visibility, the |state= parameter may be used:

  • {{Tic-Tac-Toe|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{Tic-Tac-Toe|state=autocollapse}} will show the template autocollapsed, i.e. if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar, but if not, it is fully visible.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Tic-Tac-Toe in articles based on its TemplateData.

TemplateData for Tic-Tac-Toe

Used to link tic tac toe and its variants

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
statestate

This parameter may be used to set the template's initial visibility: if "collapsed" the content is hidden and only the title bar is visible (with [show] link), if "expanded" the content and title bar are fully visible (with [hide] link), and if "autocollapse" the template is collapsed when the page contains other collapsible items.

Default
expanded
Example
|state=autocollapse
Auto value
expanded
Stringsuggested