Template:If empty: Difference between revisions

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
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>