Difference between revisions of "Template:Pp-template"

From BZFlagWiki
Jump to: navigation, search
(Fix insertion of demolevel parameter.)
(Refining demolevel defaulting scheme to enable the undefined case since, as I earlier forgot, templates cannot be passed parameters by ParserFunctions.)
Line 4: Line 4:
 
|small={{{small|yes}}}
 
|small={{{small|yes}}}
 
|demospace={{{demospace|}}}
 
|demospace={{{demospace|}}}
|{{#ifeq:{{{demolevel|1}}}{{{demolevel|2}}}|12||demolevel={{{demolevel|}}}}}<!--applies demolevel only if it's defined-->
+
|demolevel={{{demolevel|undefined}}}
 
|expiry=<!--not applicable-->
 
|expiry=<!--not applicable-->
 
|dispute=no
 
|dispute=no

Revision as of 17:28, 4 March 2009

[create] Template-info.svg Template documentation