Template:Ifsubst: Difference between revisions
From lisamarieyoung.ca
fix "|=foo" bug
en>ExE Boss m (Use <onlyinclude> and {{subst:InitDoc}}) |
en>Dinoguy1000 (fix "|=foo" bug) |
||
Line 1: | Line 1: | ||
{{ safesubst:<noinclude/>#if:{{{demo|}}} | |||
|{{ | |{{ safesubst:<noinclude/>#ifeq:{{{demo}}} |no | ||
|{{{no|{{{2|}}}}}} | |{{{no|{{{2|}}}}}} | ||
|{{{yes|{{{1|}}}}}} | |{{{yes|{{{1|}}}}}} | ||
}} | }} | ||
|{{ | |{{ safesubst:<noinclude/>#ifeq:{{ safesubst:<noinclude/>NAMESPACE}}|{{NAMESPACE}} | ||
|{{{no|{{{2|}}}}}} | |{{{no|{{{2|}}}}}} | ||
|{{{yes|{{{1|}}}}}} | |{{{yes|{{{1|}}}}}} | ||
}}}}< | }}}}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
< | </noinclude> |