Template:Template other: Difference between revisions

From FusionGirl Wiki
Jump to navigationJump to search
(Create Template:Template other — utility helper)
 
(Create Template:Template other - utility)
 
Line 1: Line 1:
{{#if:{{{1|}}}|{{{1}}}|{{{2|}}}}}<noinclude>
<includeonly>{{#if:{{{1|}}}|{{{1}}}|{{{2|}}}}}</includeonly><noinclude>
Utility template: returns {{{1}}} if provided, else {{{2}}}.
Utility template: returns first parameter if provided, else second.
Used by Template:Infobox to conditionally emit categories.
[[Category:Utility templates]]
[[Category:Utility templates]]
</noinclude>
</noinclude>

Latest revision as of 17:52, 13 March 2026

Utility template: returns first parameter if provided, else second.