Difference between revisions of "Template:Template category"

From Mindpowered Wiki
Jump to navigation Jump to search
m (1 revision imported)
imported>BrownHairedGirl
 
Line 14: Line 14:
 
   -->{{#if:{{{topic|}}}{{{description|}}}
 
   -->{{#if:{{{topic|}}}{{{description|}}}
 
       | <div style="background:#d5e4ed;line-height:1.5em;border:1px solid #aaa;font-size:120%;padding:0.35em;"> <!--
 
       | <div style="background:#d5e4ed;line-height:1.5em;border:1px solid #aaa;font-size:120%;padding:0.35em;"> <!--
           -->{{#if:{{{topic|}}} |'''{{#switch:{{lc:{{{type}}}}} |navbox|navigation|navigational|infobox|sidebar|={{ucfirst:{{{type}}}}} templates |module=Modules|#default=Templates}} relating to {{{topic}}}.'''&nbsp;{{{1|}}}{{{description|}}}
+
           -->{{#if:{{{topic|}}} |'''{{#switch:{{lc:{{{type}}}}} |navbox|navigation|navigational|infobox|sidebar|stub|={{ucfirst:{{{type}}}}} templates |module=Modules|#default=Templates}} relating to {{{topic}}}.'''&nbsp;{{{1|}}}{{{description|}}}
 
               | <div><!--(in case 1/description begins with newline:)--> {{{1|}}}{{{description|}}} </div>
 
               | <div><!--(in case 1/description begins with newline:)--> {{{1|}}}{{{description|}}} </div>
 
             }} </div>
 
             }} </div>
Line 76: Line 76:
 
       --></div> <!--(end of "type" div)-->
 
       --></div> <!--(end of "type" div)-->
  
</div> <!--(end containing div)-->
+
</div> <!--(end containing div)
 +
 
 +
## Tracking categories
 +
-->{{Category other|<!--
 +
    -->{{#if: {{{topic|}}}{{{description|}}}<!--
 +
        -->|<!-- # We have a topic/description, so all ok
 +
        -->|[[Category:Template:Template category with no topic or description]]<!--
 +
    -->}}<!--
 +
-->}}
 
}}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:14}}
 
}}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:14}}
 
                 | {{{category|[[Category:Wikipedia template categories]]}}}
 
                 | {{{category|[[Category:Wikipedia template categories]]}}}

Latest revision as of 15:47, 29 August 2020

Template documentation[create]