Template:Collapse/doc: Difference between revisions

From Space Station 14 Wiki
(more examples)
(removed unused example)
 
Line 4: Line 4:
* Inside a string of text {{c|<nowiki>Lorem ipsum {{Collapse|text inside!!}} dolor sit amet</nowiki>}}:
* Inside a string of text {{c|<nowiki>Lorem ipsum {{Collapse|text inside!!}} dolor sit amet</nowiki>}}:
Lorem ipsum {{Collapse|text inside!!}} dolor sit amet
Lorem ipsum {{Collapse|text inside!!}} dolor sit amet
* Inside a string of text but with {{c|inline}}/{{c|i}} enabled {{c|<nowiki>Lorem ipsum {{Collapse|i=1|text inside!!}} dolor sit amet</nowiki>}}
Lorem ipsum {{Collapse|i=1|text inside!!}} dolor sit amet


<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 15:58, 24 June 2024

  • As a separate string of text {{Collapse|text inside!!}}:
text inside!!
  • Inside a string of text Lorem ipsum {{Collapse|text inside!!}} dolor sit amet:

Lorem ipsum

text inside!!

dolor sit amet