Template:Collapse/doc: Difference between revisions
From Space Station 14 Wiki
(example fix) |
(more examples) |
||
Line 1: | Line 1: | ||
* {{c|<nowiki>{{Collapse|text inside!!}}</nowiki>}}: | * As a separate string of text {{c|<nowiki>{{Collapse|text inside!!}}</nowiki>}}: | ||
{{Collapse|text inside!!}} | {{Collapse|text inside!!}} | ||
* {{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> |
Revision as of 15:53, 24 June 2024
- As a separate string of text
{{Collapse|text inside!!}}
:
- Inside a string of text
Lorem ipsum {{Collapse|text inside!!}} dolor sit amet
:
Lorem ipsum
dolor sit amet
- Inside a string of text but with
inline
/i
enabledLorem ipsum {{Collapse|i=1|text inside!!}} dolor sit amet
Lorem ipsum
dolor sit amet