Template:Notice and warning templates: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Edokter (Standardize, such use of columns are detrimental on small screens.) |
meta>Sardanaphalus (Navbox with columns, state handling, syntax, related-version formatting (Warning)) |
||
Line 1: | Line 1: | ||
{{Navbox | {{Navbox with columns | ||
| name = Notice and warning templates | | name = Notice and warning templates | ||
| state = {{{state|}}} | | state = {{{state|{{{1|}}}}}} | ||
| title = {{c|Notice and warning templates}} | | title = {{c|Notice and warning templates}} | ||
| | | listclass<!--colclass--> = plainlist nowrap | ||
| colstyle = <!--font-size:105%;-->text-align:left; | |||
| | | col1 = | ||
* {{tlb|Caution}} | * {{tlb|Caution}}, for messages indicating e.g. that errors or misuse may have wide repercussions. | ||
* {{tlb|Consensus}} | * {{tlb|Consensus}}, for notices relating to consensus about methods, procedures, editing, etc. | ||
* {{tlb|Notice}} | * {{tlb|Notice}}, for significant information. | ||
* {{tlb|Warning}} | * {{tlb|Warning}}, for particularly significant warnings ({{tlbare|Warnsign|inline version}}). | ||
* {{tlb|Blackboxwarning}}, for warnings in particularly sensitive situations. | |||
* {{tlb|Blackboxwarning}} | |||
| below = See also {{tl|Ambox}}, the generic [[Template:Mbox|messagebox]] for article messages. | | below = See also {{tl|Ambox}}, the generic [[Template:Mbox|messagebox]] for article messages. |
Revision as of 20:58, 4 January 2015
Template documentation
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state=
parameter may be used:
|state=collapsed
:{{Notice and warning templates|state=collapsed}}
to show the template collapsed, i.e., hidden apart from its title bar|state=expanded
:{{Notice and warning templates|state=expanded}}
to show the template expanded, i.e., fully visible|state=autocollapse
:{{Notice and warning templates|state=autocollapse}}
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
.