Difference between revisions of "Template:Collapse top"
Jump to navigation
Jump to search
>Pppery (Cleanup) |
>Pppery |
||
Line 16: | Line 16: | ||
<td style="border:solid {{{border2|1px silver}}}; padding:{{{padding|8px}}}; background-color:{{{bg2|white}}}; font-size:112%"> | <td style="border:solid {{{border2|1px silver}}}; padding:{{{padding|8px}}}; background-color:{{{bg2|white}}}; font-size:112%"> | ||
| #default= | | #default= | ||
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Collapse top|noshift=1}} | {{#invoke:Template translation/sandbox|renderTranslatedTemplate|template=Template:Collapse top|noshift=1}} | ||
}}<noinclude> | }}<noinclude> | ||
<div style="width:100%; text-align:center">''<translate><!--T:4--> The following content has been placed in a collapsed box for improved usability.</translate>''</div> | <div style="width:100%; text-align:center">''<translate><!--T:4--> The following content has been placed in a collapsed box for improved usability.</translate>''</div> | ||
Line 41: | Line 41: | ||
;{{para|1}}, {{para|title}}, {{para|reason}}, {{para|header}}, {{para|heading}} <span style="font-weight: normal;">, or first unnamed parameter</span>: Will give the collapsed box a title, which occurs on the same line as the ''show'' link and is always visible. It defaults to "Extended content". For example, <code><nowiki>{{collapse top|title=This is the title text}}</nowiki></code> or <code><nowiki>{{collapse top|This is the title text}}</nowiki></code>. Note: The shorter, unnamed markup will not work if the title value contain an equals (<code>=</code>) character. | ;{{para|1}}, {{para|title}}, {{para|reason}}, {{para|header}}, {{para|heading}} <span style="font-weight: normal;">, or first unnamed parameter</span>: Will give the collapsed box a title, which occurs on the same line as the ''show'' link and is always visible. It defaults to "Extended content". For example, <code><nowiki>{{collapse top|title=This is the title text}}</nowiki></code> or <code><nowiki>{{collapse top|This is the title text}}</nowiki></code>. Note: The shorter, unnamed markup will not work if the title value contain an equals (<code>=</code>) character. | ||
;{{para|warning|yes}}: Will display a default warning line under the main title which reads "The following is a closed debate. {{ | ;{{para|warning|yes}}: Will display a default warning line under the main title which reads "The following is a closed debate. {{strong|Please do not modify it.|style="color:red"}}" Any value supplied to this parameter will have this effect (i.e. {{para|warning|<span style="color:#8B0000">no</span>}} will not work as expected). | ||
;{{para|2}}<span style="font-weight: normal;"> or second unnamed parameter</span>: This is optional warning-line text. It will override the standard warning line above; it is not necessary to also use {{para|warning|yes}} in this case, though doing so is harmless. | ;{{para|2}}<span style="font-weight: normal;"> or second unnamed parameter</span>: This is optional warning-line text. It will override the standard warning line above; it is not necessary to also use {{para|warning|yes}} in this case, though doing so is harmless. | ||
;{{para|left|yes}}: Will align the title along the left margin (in RTL languages, along the right margin instead). By default, text is centered, specifically between the left edge of the green box and the left edge of the "show" link. Any value will enable this parameter (i.e. {{para|left|<span style="color:#8B0000">no</span>}} will not work as expected) | ;{{para|left|yes}}: Will align the title along the left margin (in RTL languages, along the right margin instead). By default, text is centered, specifically between the left edge of the green box and the left edge of the "show" link. Any value will enable this parameter (i.e. {{para|left|<span style="color:#8B0000">no</span>}} will not work as expected) |
Revision as of 19:11, 27 April 2020
<languages /> Script error: No such module "Template translation/sandbox".
<translate> The following content has been placed in a collapsed box for improved usability.</translate>
Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.[[Category:Template documentation pages{{#translation:}}]]