Template:Fantasy fiction: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
No edit summary
meta>TonyTheTiger
adding {{collapsible option}} and/or {{{state}}}
Line 2: Line 2:
| name      = Fantasy fiction
| name      = Fantasy fiction
| title    = [[Fantasy]]
| title    = [[Fantasy]]
| state = {{{state|autocollapse}}}
| image    =  
| image    =  
| bodyclass = hlist
| bodyclass = hlist
Line 175: Line 176:


}}<noinclude>
}}<noinclude>
{{collapsible option}}
[[Category:Fantasy templates| ]]
[[Category:Fantasy templates| ]]
[[Category:Arts and culture templates|Fantasy]]
[[Category:Arts and culture templates|Fantasy]]

Revision as of 04:55, 1 October 2012

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed{{Fantasy fiction|state=collapsed}} to show the template collapsed, i.e., hidden, save for its title bar.
  • |state=expanded{{Fantasy fiction|state=expanded}} to show the template expanded, that is, fully visible.
  • |state=autocollapse{{Fantasy fiction|state=autocollapse}}</nowiki>
    • shows the template collapsed to the title bar if there is a {{Navbar}}, {{Sidebar}}, or some other table on the page with the collapsible attribute.
    • shows the template in its expanded state if there are no other collapsible items on the page.

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the {{Collapsible option}} template.

For the template on this page, that currently evaluates to autocollapse.

fr:Modèle:Palette Fantasy ja:Template:Fantasy fiction