Template:Ifsubst: Difference between revisions

109 bytes removed ,  2 years ago
m
20 revisions imported from wikipedia:Template:Ifsubst
(fix - still test)
m (20 revisions imported from wikipedia:Template:Ifsubst)
 
(14 intermediate revisions by 8 users not shown)
Line 1:
{{ {{{|safesubst:}}}#if:{{{demo|}}}
<noinclude><code></noinclude>{{#{{<includeonly>subst:</includeonly>#if:||i}}f:{{<include{{<includeonly>subst:</includeonly>#if:||only}}>subst:</include{{<includeonly>subst:</includeonly>#if:||only}}>Empty template|.}}|<!--else-->{{{else|}}}|<!--then-->{{{then|}}}}}<noinclude></code></noinclude>
|{{ {{{|safesubst:}}}#ifeq:{{{demo}}} |no
 
|{{{no|{{{2|}}}}}}
 
|{{{yes|{{{1|}}}}}}
{{{{{operand|subst:}}}#if:{{<includeonly>subst:</includeonly>Empty template|.}}|SUBST ME|ok}}
}}
|{{ {{{|safesubst:}}}#ifeq:{{ {{{|safesubst:}}}NAMESPACE}}|{{NAMESPACE}}
|{{{no|{{{2|}}}}}}
|{{{yes|{{{1|}}}}}}
}}}}<noinclude>
{{Documentation}}
</noinclude>