Difference between revisions of "Template:IPA navigation"

From blackwiki
Jump to navigation Jump to search
imported>Nardog
m
imported>Nardog
(compensated)
Line 40: Line 40:
 
| group2 = [[Consonant]]s
 
| group2 = [[Consonant]]s
 
| abbr2 = consonants
 
| abbr2 = consonants
| list2 = '''[[Pulmonic consonant]]s''' {{IPA pulmonic consonants|style=margin: auto; font-size: 114%;|caption=}}<div class="nowrap"><div style="display: inline-block; margin-right: 2em;">'''Non-pulmonic consonants''' {{IPA non-pulmonic consonants|style=font-size: 114%;|caption=|notes=no}}</div><div style="display: inline-block;">'''[[Co-articulated consonant]]s''' {{IPA co-articulated consonants|style=font-size: 114%;|caption=}}</div></div>
+
| list2 = '''[[Pulmonic consonant]]s''' {{IPA pulmonic consonants|style=margin: auto;|caption=}}<div class="nowrap"><div style="display: inline-block; margin-right: 2em;">'''Non-pulmonic consonants''' {{IPA non-pulmonic consonants|caption=|notes=no}}</div><div style="display: inline-block;">'''[[Co-articulated consonant]]s''' {{IPA co-articulated consonants|caption=}}</div></div>
  
 
| group3 = [[Vowel]]s
 
| group3 = [[Vowel]]s
 
| abbr3 = vowels
 
| abbr3 = vowels
| list3 = {{IPA vowels|style=margin: auto; font-size: 114%;|caption=}}
+
| list3 = {{IPA vowels|style=margin: auto;|caption=}}
  
 
}}<noinclude>{{documentation}}</noinclude>
 
}}<noinclude>{{documentation}}</noinclude>

Revision as of 20:20, 26 February 2020

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

Usage

The template is a navigation box, to be placed as a footer. Set first parameter to IPA, consonants, or vowels to expand one of the rows by default, e.g. {{IPA navigation|consonants}}.

Collapsing

Initial visibility: currently defaults to autocollapse

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

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

See also