Template:Ifnotempty: Difference between revisions

From Milliways
(init: Ifnotempty template used in table lines)
 
m (removed the "safe" prefix from subst, as it apparently doesn't exist)
 
Line 5: Line 5:


[http://meta.wikimedia.org/wiki/Help:Newlines_and_spaces#Parameter_selection_templates Meta-Wiki]
[http://meta.wikimedia.org/wiki/Help:Newlines_and_spaces#Parameter_selection_templates Meta-Wiki]
</noinclude><includeonly>{{{{{|safesubst:}}}{{{{{|safesubst:}}}#if:{{{1}}}|p1|p2}}|{{{2}}}|{{{3|}}}}}</includeonly>
</noinclude><includeonly>{{{{{|subst:}}}{{{{{|subst:}}}#if:{{{1}}}|p1|p2}}|{{{2}}}|{{{3|}}}}}</includeonly>

Latest revision as of 11:21, 16 June 2022

Um bei Bedingungen den Whitespace nicht rauszuschneiden. Benötigt u.a. für optionale Zeilen in Tabellen.

Used so that whitespace is not cut out on conditions. Is for example used in table lines.

Meta-Wiki