Template:If

From Alpine Linux
Revision as of 08:35, 30 May 2017 by Dubiousjim (talk | contribs) (Protected "Template:If": Template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template Documentation for If

This page is a template and should only be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

Template branching without Extension:ParserFunctions

Template Documentation

{{if|value|then|else}} yields then if value isn't blank; otherwise it yields else.

One limitation: {{if|2=then}} yields then (but works properly if value is defined and empty, or else is defined).

See Wikimedia's Ifwp