Difference between revisions of "Template:Pp-template"

From BZFlagWiki
Jump to: navigation, search
(Merging in functionality of {{pp-semi-template}})
(Adding in a quick hack that'll automatically set the demolevel to full for template sandboxes… I'd be interested in any comments you have about this.)
Line 9: Line 9:
 
|small={{{small|yes}}}
 
|small={{{small|yes}}}
 
|demospace={{{demospace|}}}
 
|demospace={{{demospace|}}}
|demolevel={{{demolevel|undefined}}}
+
|demolevel={{#ifeq:{{PAGENAME}}/{{NAMESPACE}}|{{SUBPAGENAME}}/{{ns:Template}}|{{{demolevel|undefined}}}|{{#ifeq:{{lc:{{SUBPAGENAME}}}}|sandbox|sysop|{{{demolevel|undefined}}}}}}}
 
|expiry=<!--not applicable-->
 
|expiry=<!--not applicable-->
 
|dispute=no
 
|dispute=no

Revision as of 16:54, 12 March 2009

[create] Template-info.svg Template documentation