Difference between revisions of "Template:Japanese romanization"

From blackwiki
Jump to navigation Jump to search
imported>Dispenser
(Navbox conformity, better CSS/XHTML and collapsible using AWB)
imported>Andrybak
 
(16 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{| class="navbox nowraplinks collapsible" style="margin-left:auto; margin-right:auto; width:45em;"
+
{{Navbox
! {{tnavbar-collapsible| [[Romanization of Japanese]] |Japanese romanization}}
+
|name  = Japanese romanization
|-
+
|title = [[Romanization of Japanese]]
|| [[Kunrei-shiki Rōmaji|Kunrei-shiki]] (ISO 3602) | [[Nihon-shiki Rōmaji|Nihon-shiki]] (ISO 3602 Strict) | [[Hepburn romanization|Hepburn]] | [[JSL]] | [[Wāpuro rōmaji|Wāpuro]]
+
|state = {{{state|autocollapse}}}
|}<noinclude>
+
|listclass = hlist
{{Uncategorized template|type=navbox|date=August 2007}}
+
|list1 =
 +
* [[Hepburn romanization|Hepburn]]
 +
* [[JSL romanization|JSL]]
 +
* [[Kunrei-shiki romanization|Kunrei-shiki <small>(ISO 3602)</small>]]
 +
* [[Nihon-shiki romanization|Nihon-shiki <small>(ISO 3602 Strict)</small>]]
 +
* [[Wāpuro rōmaji|Wāpuro]]
 +
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:Japanese language navigational boxes|Romanization]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:21, 24 October 2020

Initial visibility: currently defaults to autocollapse

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

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