Mal:Ifsubst: Forskjell mellom sideversjoner
Hopp til navigering
Hopp til søk
imported>Alfakim finalise |
+vi: (noinclude) |
||
| Linje 3: | Linje 3: | ||
Add the above code to a template of yours to give it <code>ifsubst</code> functionality. If your template is substituted, your "then" text will appear, else your "else" text. Note that this template in itself must be substituted into your new one. | Add the above code to a template of yours to give it <code>ifsubst</code> functionality. If your template is substituted, your "then" text will appear, else your "else" text. Note that this template in itself must be substituted into your new one. | ||
[[Category:Wikipedia special effects templates|Ifsubst]]</noinclude> | [[Category:Wikipedia special effects templates|Ifsubst]] | ||
[[vi:Tiêu bản:Ifsubst]] | |||
</noinclude> | |||
Sideversjonen fra 11. nov. 2006 kl. 22:02
{{subst:ifsubst|then|else}}
Add the above code to a template of yours to give it ifsubst functionality. If your template is substituted, your "then" text will appear, else your "else" text. Note that this template in itself must be substituted into your new one.