Difference between revisions of "Template:Lusophone Games"

From blackwiki
Jump to navigation Jump to search
imported>Airplaneman
m (moved Template:LusophonyGames to Template:Lusophony Games: A space added between 'Lusophony' and 'Games'. Reflects naming of similar pages in the Category and Template namespaces. The page is currently a redirect but is not used for its inten...)
imported>Cordyceps-Zombie
 
(14 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
{{navbox
 
{{navbox
| name = LusophonyGames
+
| name = Lusophone Games
| title  = [[Lusophony Games]]
+
| title  = [[Lusofonia Games]]
| titlestyle = background:#BFD7FF
+
| state  = {{{state|autocollapse}}}
| list1 = [[2006 Lusophony Games|Macau 2006]]{{,}} [[2009 Lusophony Games|Lisbon 2009]]{{,}} ''[[2013 Lusophony Games|Goa 2013]]''{{,}} ''[[2017 Lusophony Games|Fortaleza 2017]]
+
| listclass = hlist
 +
 
 +
| list1 =
 +
* [[2006 Lusofonia Games|Macau 2006]]
 +
* [[2009 Lusofonia Games|Lisbon 2009]]
 +
* [[2014 Lusofonia Games|Goa 2014]]
 +
* [[2017 Lusofonia Games|{{color|grey|Maputo 2017}}]]
 +
* ''[[2021 Lusofonia Games|Luanda 2021]]''
 +
 
 
}}<noinclude>
 
}}<noinclude>
[[Category:Lusophony Games navbox templates]]
+
{{collapsible option}}
 +
[[Category:Lusofonia Games navigational boxes]]
 
</noinclude>
 
</noinclude>

Latest revision as of 19:52, 10 April 2020

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Lusophone Games|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Lusophone Games|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Lusophone Games|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.