Template:Collapsible option: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
Created page with '; {{larger|How to manage this template's visibility}} * Use <code>{{<!-- --><includeonly>{{BASEPAGENAME}}</includeonly><!-- --><noinclude>''Template name''</noinclude> <…'
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
; {{larger|How to manage this template's visibility}}
; How to manage this template's visibility
* Use <code>{&#123;<!--
* Use <code>{&#123;<!--
   --><includeonly>{{BASEPAGENAME}}</includeonly><!--
   --><includeonly>{{BASEPAGENAME}}</includeonly><!--
Line 22: Line 22:
{{documentation}}
{{documentation}}
<!-- Add categories, interwiki links etc on the bottom of /doc page, not here -->
<!-- Add categories, interwiki links etc on the bottom of /doc page, not here -->
</noinclude>
</noinclude><noinclude>[[Category:Collapse templates]]</noinclude>

Latest revision as of 21:09, 6 August 2021

How to manage this template's visibility
  • Use {{Template name |state=collapsed}}  to show this template in its collapsed (hidden) state.
  • Use {{Template name |state=expanded}}  to show this template in its expanded (fully visible) state.
  • Use {{Template name |state=autocollapse}}  to show this template in its collapsed (hidden) state only if there is another template of the same type on the page.
  • Unless set otherwise (see state parameter within the template's code), autocollapse is the default state.
[create] Template documentation