Template:Drug List/ja: Difference between revisions

From Azupedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
| state = uncollapsed
| state = uncollapsed
<noinclude>
<noinclude>
| state1 = uncollapsed | state2 = collapsed  | state3 = uncollapsed | state4 = uncollapsed | state5 = uncollapsed | state6 = uncollapsed | state7 = uncollapsed | state8 = uncollapsed | state9 = uncollapsed | state10 = uncollapsed | state11 = uncollapsed | state12 = uncollapsed | state13 = uncollapsed | state14 = uncollapsed
| state1 = {{{state1|collapsed}}} | state2 = {{{state2|collapsed}}} | state3 = {{{state3|collapsed}}} | state4 = {{{state4|collapsed}}} | state5 = {{{state5|collapsed}}} | state6 = {{{state6|collapsed}}} | state7 = {{{state7|collapsed}}} | state8 = {{{state8|collapsed}}} | state9 = {{{state9|collapsed}}} | state10 = {{{state10|collapsed}}} | state11 = {{{state11|collapsed}}} | state12 = {{{state12|collapsed}}} | state13 = {{{state13|collapsed}}} | state14 = {{{state14|collapsed}}}
</noinclude>
</noinclude>
| title = 薬一覧
| title = 薬一覧

Revision as of 20:15, 12 January 2024

Initial visibility: currently defaults to autocollapse

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

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