Clowan:Collapsible option/doc: Difference between revisions

Ass Wikipedia.
Content deleted Content added
m bot scryssit magh ec: es:Plantilla:Opción plegable (deleted)
m Bot: Migrating interwiki links, now provided by Wikidata on d:q5621491
 
Linney 33: Linney 33:
[[Ronney:Metachlowanyn Wikipedia]]
[[Ronney:Metachlowanyn Wikipedia]]


[[ar:قالب:خيار قابلية الطي]]
[[bn:টেমপ্লেট:Collapsible option]]
[[da:Skabelon:Collapsible option]]
[[en:Template:Collapsible option]]
[[id:Templat:Collapsible option]]
[[ja:Template:Collapsible option]]
[[ka:თარგი:Collapsible option]]
[[ky:Template:Collapsible option]]
[[ml:ഫലകം:Collapsible option]]
[[tpi:Template:Collapsible option]]
[[pt:Predefinição:Collapsible option]]
[[sl:Predloga:Collapsible option]]
[[vi:Tiêu bản:Tùy chọn đóng mở]]
[[uk:Шаблон:Collapsible option]]
[[ur:سانچہ:Collapsible option]]
[[zh:Template:Collapsible option]]
</includeonly>
</includeonly>



Aavriwnys s'noa er 16:55, 15 Luanistyn 2013


The {{collapsible option}} template gives a standardised message for transclusion on template pages whose templates include a state parameter (through which their collapsibility may be managed).

Ymmyd[edit source]

It may be used on either the template page itself (wrapped within <noinclude></noinclude> tags), or on the template's {{documentation}} subpage.

Indicating optional use of state name[edit source]

If, in a template where {{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; i.e. the state parameter includes {{{1| }}}, e.g.

|state = {{{state|{{{1|}}}}}}
or
|state = {{{state|{{{1|<noinclude>expanded</noinclude>}}}}}}
etc

then

{{collapsible option |statename=optional}}

removes the instances of "state=" from the {{collapsible option}} message, i.e.

  • Use {{Template name |collapsed}}  to show this template in its collapsed (hidden) state.
  • Use {{Template name |expanded}}  to show this template in its expanded (fully visible) state.
  • Use {{Template name |autocollapse}}  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.)

See also[edit source]



Jeeagh er reesht[edit source]