Template:Wraptext/doc

< Template:Wraptext
Revision as of 16:57, 2 November 2024 by Muskit Gergous (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Bharatdata. --> == Usage == Typically used in other templates, it displays the content in the order {{{1}}}{{{2}}}{{{3}}} only when {{{2}}} is not empty. <syntaxhighlight lang="wikitext">{{Wraptext|1=(|2=text|3=)}}</syntaxhighlight> displays: {{Wraptext|1=(|2=text|3=)}} <syntaxhighlight lang="wikitext">{{Wraptext|1=(|2=|3=)}}</syntaxhighlight> displays nothing: {{Wraptext|1=(|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Typically used in other templates, it displays the content in the order {{{1}}}{{{2}}}{{{3}}} only when {{{2}}} is not empty.

{{Wraptext|1=(|2=text|3=)}}

displays: (text)

{{Wraptext|1=(|2=|3=)}}

displays nothing: