Main Page | Recent changes | View source | Page history

Printable version | Disclaimers | Privacy policy

Not logged in
Log in | Help
 

Template talk:If

From dKosopedia

Template copied from: http://meta.wikimedia.org/wiki/Template_talk:Ifold

Basic usage:

{{if|test=cond|then=then part|else=else part}}
{{if|test=cond|then=then part}}
Parameters should be written as:
{{{a|}}} instead of {{{a}}}

This is a VERY, VERY, patchy template for an IF statement. Please read the Wikipedia documentation carefully as well

The untold history: There was no IF statement in templates until somebody at Swedish wiki invented this template and it became very popular and was exported to Wikipedia. Of course it wasn't invented there, so instead of making a nice server implementation, it was fought by the developers with non-arguments like server strain which they could not proof. This patch works except that you should not use it too much, because it is incredibly difficult to read (so please no nested ifs!)

Retrieved from "http://localhost../../../i/f/_/Template_talk%7EIf_ab3d.html"

This page was last modified 15:12, 28 February 2008 by dKosopedia user DrDebug. Content is available under the terms of the GNU Free Documentation License.


[Main Page]
Daily Kos
DailyKos FAQ

View source
Post a comment
View template page
Page history
What links here
Related changes

Special pages
Bug reports