Template:Pp-protected: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Nihiltres
Fix insertion of demolevel parameter.
meta>Nihiltres
Refining demolevel defaulting scheme to enable the undefined case since, as I earlier forgot, templates cannot be passed parameters by ParserFunctions.
Line 9: Line 9:
|small={{{small|}}}
|small={{{small|}}}
|demospace={{{demospace|}}}
|demospace={{{demospace|}}}
|{{#ifeq:{{{demolevel|1}}}{{{demolevel|2}}}|12||demolevel={{{demolevel|}}}}}<!--applies demolevel only if it's defined-->
|demolevel={{{demolevel|undefined}}}
|expiry={{{expiry|}}}
|expiry={{{expiry|}}}
|dispute=no
|dispute=no

Revision as of 17:29, 4 March 2009

Template:Pp-meta