Jump to content

Template:Pp-meta: Difference between revisions

From IdeaWazaWiki
wikademia>Nihiltres
m make includeonly on categories automatic, I think the code will need this embedded
wikademia>Davidgothberg
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