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

From blackwiki
Jump to navigation Jump to search
blackwiki>TedEdwards
(Don't believe years are necessary for this template)
blackwiki>Paine Ellsworth
(convert to /doc page + fmt)
Line 146: Line 146:
  
 
  | below =  
 
  | below =  
* {{Icon|Book}} '''[[Book:A Song of Ice and Fire|Book]]'''
+
* {{Icon|Book}} [[Book:A Song of Ice and Fire|Book]]
* {{Icon|Category}} '''[[:Category:A Song of Ice and Fire|Category]]'''
+
* {{Icon|Category}} [[:Category:A Song of Ice and Fire|Category]]
* {{icon|Outline}} '''[[Outline of A Song of Ice and Fire franchise|Outline]]'''
+
* {{icon|Outline}} [[Outline of A Song of Ice and Fire franchise|Outline]]
}}<noinclude>{{collapsible option}}
+
 
[[Category:A Song of Ice and Fire templates]]
+
}}<noinclude>
 +
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 15:19, 15 August 2019

50px Template documentation[view] [edit] [history] [purge]

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.