Template:Ifn

From Alpine Linux
Revision as of 18:22, 7 March 2012 by Dubiousjim (talk | contribs) (Add docs)

Template Documentation for Ifn

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

{{ifn|value|result}} yields result if value isn't blank.

One limitation:

This material is proposed for deletion ...

There is no reason for this Template to exist on modern MediaWiki versions. Please use the built-in parser functions instead. Nothing links to this template. (Discuss)
Make sure no other pages link here and check the page's history before deleting.

yields

result (but works properly if value is defined and empty).

See Wikimedia's Ifdef