Mal:Ifsubst: Forskjell mellom sideversjoner

Fra wikisida.no
Hopp til navigering Hopp til søk
fix
move doc to subpage
Linje 1: Linje 1:
{{ {{{|safesubst:}}}#ifeq:{{ {{{|safesubst:}}}NAMESPACE}}|{{NAMESPACE}}|{{{2|}}}|{{{1|}}} }}<noinclude>
{{ {{{|safesubst:}}}#ifeq:{{ {{{|safesubst:}}}NAMESPACE}}|{{NAMESPACE}}|{{{2|}}}|{{{1|}}} }}<noinclude>
{{Documentation|content=
{{Documentation}}
 
===Usage===
Meta template that returns the first parameter if evaluated during substitution, and the second parameter if evaluated during transclusion.<br>Note that this template must be used in [[meta:Help:Safesubst|safesubst]] mode to work properly:
 
:<code><nowiki>{{ {{{|safesubst:}}}ifsubst| yes | no }}</nowiki></code>
 
<!--Categories-->
[[Category:Wikipedia metatemplates|{{PAGENAME}}]]
 
}}
</noinclude>
</noinclude>

Sideversjonen fra 29. apr. 2010 kl. 10:07

Lua-feil: bad argument #1 to "get" (not a valid title).