Difference between revisions of "Template:A Song of Ice and Fire"

From blackwiki
Jump to navigation Jump to search
(too wide, stretches past article border)
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
| name  = ASOIAF
 
| name  = ASOIAF
 
| title  = ''[[A Song of Ice and Fire]]'' by [[George R. R. Martin]]
 
| title  = ''[[A Song of Ice and Fire]]'' by [[George R. R. Martin]]
 +
| state = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
  
Line 43: Line 44:
 
* [[Translations of A Song of Ice and Fire|Translations]]
 
* [[Translations of A Song of Ice and Fire|Translations]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
  
 
[[Category:A Song of Ice and Fire|μNavigational box]]
 
[[Category:A Song of Ice and Fire|μNavigational box]]

Revision as of 01:36, 1 October 2012

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{A Song of Ice and Fire|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{A Song of Ice and Fire|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{A Song of Ice and Fire|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{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 Le Trône de fer gl:Modelo:ASOIAF it:Template:Cronache del ghiaccio e del fuoco nl:Sjabloon:Navigatie Het lied van ijs en vuur pl:Szablon:Pieśń Lodu i Ognia ru:Шаблон:ПЛиО uk:Шаблон:Пісня Льоду та Полум'я zh:Template:ASOIAF