Difference between revisions of "Template:Pp-meta"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m (make includeonly on categories automatic, I think the code will need this embedded)
(Fix so if demospace is and empty string it works the same as if demospace is undefined. That is, then NAMESPACE is used instead.)
Line 1: Line 1:
{{#if:{{{smalltext|}}}
+
{{#if:{{{smalltext}}}
 
| <!--Smalltext-->
 
| <!--Smalltext-->
 
   <div class="metadata plainlinks" id="administrator" style="position:absolute; z-index:100; right:55px; top:9px;">{{{smalltext}}}
 
   <div class="metadata plainlinks" id="administrator" style="position:absolute; z-index:100; right:55px; top:9px;">{{{smalltext}}}
Line 5: Line 5:
  
 
| <!--No smalltext-->
 
| <!--No smalltext-->
   {{#switch:{{{demospace|X{{NAMESPACE}}}}}
+
   {{#switch:
 +
    {{#if:{{{demospace}}}
 +
    | {{{demospace}}}
 +
    | X{{NAMESPACE}}
 +
    }}
 
   | Main
 
   | Main
 
   | X = <!--Main (article) space-->
 
   | X = <!--Main (article) space-->

Revision as of 22:45, 27 September 2007

Template:Template doc