الفرق بين النسختين بتاع: «قالب:Collapsible option/doc»
تم حذف المحتوى تمت إضافة المحتوى
ص روبوت: تغييرات تجميلية |
ص Migrating 15 interwiki links, now provided by Wikidata on d:Q5621491 |
||
سطر 1:
{{documentation subpage}}
<!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE--->
It may be used on either the template page itself (wrapped
===Indicating optional use of ''state'' name===
=== See also ===▼
If, in a template where {{tlc|collapsible option}} has been transcluded, that template's ''state'' parameter has been enabled such that it need not be named when the template is called{{spaced ndash}}i.e. the ''state'' parameter includes <code><nowiki>{{{1| }}}</nowiki></code>, e.g.
: <code><nowiki>|state = {{{state|{{{1|}}}}}}</nowiki></code>
: or
: <code><nowiki>|state = {{{state|{{{1|<noinclude>expanded</noinclude>}}}}}}</nowiki></code>
: etc
then
: <code><nowiki>{{collapsible option |statename=optional}}</nowiki></code>
removes the instances of "state=" from the {{tlc|collapsible option}} message, i.e.
<div style="padding-left:2.0em;padding-right:2.0em;background:white;">
; {{larger|How to manage this template's visibility}}
* Use <code>{{''Template name'' |collapsed}}</code> to show this template in its collapsed (hidden) state.
* Use <code>{{''Template name'' |expanded}}</code> to show this template in its expanded (fully visible) state.
* Use <code>{{''Template name'' |autocollapse}}</code> to show this template in its collapsed (hidden) state '''only if''' there is another template of the same type on the page. (This is usually the default, i.e. doesn't usually need specifying.)
</div>
* {{tl|Collapsible lists option}}
* {{tl|Collapsible sections option}}
<!--Disabling per template as this does not generally appear to be used (and does not change if/when default state changed in template):
Accepts the optional parameter <code>default</code> for cases when the template's default is not "autocollapsed"; it then displays its value instead of the "This" at the start of last sentence (bracketed).--> <includeonly>
<!--Categories-->
[[Category:Wikipedia metatemplates
<!--Interwikis-->
</includeonly>
<includeonly>
[[es:Plantilla:Opción plegable]]
</includeonly>
|