Jump to content

Template:If empty: Difference between revisions

From WikiGenius
m Changed protection settings for "Template:If empty": Highly visible template: used on 2 million pages and permanently cascade protected; matches module protection ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))
m 1 revision imported
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{<includeonly>safesubst:</includeonly>#invoke:If empty|main}}<noinclude>{{Documentation}}</noinclude>
{{#if: {{{1|}}} | {{{1}}} | {{#if: {{{2|}}} | {{{2}}} | {{#if: {{{3|}}} | {{{3}}} | {{#if: {{{4|}}} | {{{4}}} | {{#if: {{{5|}}} | {{{5}}} | {{#if: {{{6|}}} | {{{6}}} | {{#if: {{{7|}}} | {{{7}}} | {{#if: {{{8|}}} | {{{8}}} | {{#if: {{{9|}}} | {{{9}}} |  }} }} }} }} }} }} }} }} }}<noinclude>Returns the first non-empty parameter. Works up to 9 parameters but no further.</noinclude>

Latest revision as of 17:36, 21 September 2024

Returns the first non-empty parameter. Works up to 9 parameters but no further.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.