Template:Pp-vandalism: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Nihiltres Updating code to reflect update to {{pp-meta}} that makes some manual tricks unnecessary. |
meta>Nihiltres Fix insertion of demolevel parameter. |
||
Line 9: | Line 9: | ||
|small={{{small|}}} | |small={{{small|}}} | ||
|demospace={{{demospace|}}} | |demospace={{{demospace|}}} | ||
|demolevel={{{demolevel|}}} | |{{#ifeq:{{{demolevel|1}}}{{{demolevel|2}}}|12||demolevel={{{demolevel|}}}}}<!--applies demolevel only if it's defined--> | ||
|expiry={{{expiry|}}} | |expiry={{{expiry|}}} | ||
|dispute={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}<!--having this switch may be unnecessary, but as it was "yes" here and "no" on pp-semi-vandalism, the template is changed less this way.--> | |dispute={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}<!--having this switch may be unnecessary, but as it was "yes" here and "no" on pp-semi-vandalism, the template is changed less this way.--> |