Difference between revisions of "Template:English official language clickable map/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>FrescoBot
imported>WOSlinker
(tidy style for better HTML5 compatibility)
Line 120: Line 120:
 
}}
 
}}
 
|belowstyle = text-align:center; background:#ccd; color:darkblue;
 
|belowstyle = text-align:center; background:#ccd; color:darkblue;
|below = '''[[Wikt:Main page|<font color="purple">English Wiktionary</font>]]'''
+
|below = '''[[Wikt:Main page|<span style="color:purple;">English Wiktionary</span>]]'''
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
[[Category:Template sandboxes]]
 
[[Category:Template sandboxes]]
 
</noinclude>
 
</noinclude>

Revision as of 19:06, 10 May 2015

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

The Anglophone states/English official language clickable map template is an ongoing work-in-progress. While many improvements have been made, including the merge with the Anglophone states template, there is still much work to be done. Any and all help is very greatly appreciated!