Template:Ifsubst: Difference between revisions
From All Skies Encyclopaedia
imported>Alfakim No edit summary |
imported>Dinoguy1000 (fix "|=foo" bug) |
||
(19 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{ safesubst:<noinclude/>#if:{{{demo|}}} |
|||
<noinclude><code></noinclude>{{{{{1|}}}#if:{{<includeonly>subst</includeonly>:empty template|foo}}|{{{else|}}}|{{{then|}}}}}<noinclude></code></noinclude> |
|||
|{{ safesubst:<noinclude/>#ifeq:{{{demo}}} |no |
|||
|{{{no|{{{2|}}}}}} |
|||
|{{{yes|{{{1|}}}}}} |
|||
}} |
|||
|{{ safesubst:<noinclude/>#ifeq:{{ safesubst:<noinclude/>NAMESPACE}}|{{NAMESPACE}} |
|||
|{{{no|{{{2|}}}}}} |
|||
|{{{yes|{{{1|}}}}}} |
|||
}}}}<noinclude> |
|||
{{Documentation}} |
|||
</noinclude> |