« Modèle:Pp-template » : différence entre les versions

De wikarphy
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.
Ligne 4 : Ligne 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

Version du 4 mars 2009 à 17:28

Modèle:Pp-meta Modèle:Pp-meta

Documentation du modèle

{{#if:|

[[Category:Template documentation pages{{#translation:}}]] }}