Template:Header: Difference between revisions

From PZwiki
(remove unnecessary {{Subpage}})
m (Minor CSS fixes)
Line 1: Line 1:
<noinclude>{{Languages}}{{Documentation}}[[Category:Templates]]</noinclude><includeonly><table class="tp-header" style="clear: both; border: 1px solid #000; background: #{{#switch:{{{1|{{ROOTPAGENAME}}}}}|Community|PZwiki|Modding|The Indie Stone={{Infobox_nc|Community}}|#default={{Infobox_nc|default}}}}; text-align: left; width: 100%;" cellspacing="0">
<noinclude>{{Languages}}{{Documentation}}[[Category:Templates]]</noinclude><includeonly><table class="tp-header" style="clear: both; border: 1px solid #000000; background: #{{#switch:{{{1|{{ROOTPAGENAME}}}}}|Community|PZwiki|Modding|The Indie Stone={{Infobox_nc|Community}}|#default={{Infobox_nc|default}}}}; text-align: left; width: 100%;" cellspacing="0">
   <tr>
   <tr>
     <th style="width: 99px; padding: 6px; border-right: 1px solid #000; color: #fff;">{{Translation|Navigation}}:</th>
     <th style="width: 99px; padding: 6px; border-right: 1px solid #000000; color: #ffffff;">{{Translation|Navigation}}:</th>
     <th style="padding: 6px; font-weight: normal; color: #fff; min-width: 120px;"><!--
     <th style="padding: 6px; font-weight: normal; color: #ffffff; min-width: 120px;"><!--


       ## Main Index Category - check if current page = "Category:Main"##
       ## Main Index Category - check if current page = "Category:Main"##
Line 10: Line 10:
         ## Otherwise ##
         ## Otherwise ##
         -->|{{Header/category|{{{1}}}|Main}}<!--
         -->|{{Header/category|{{{1}}}|Main}}<!--
         -->{{#if:{{{1|}}}|<span style="padding: 0px 9px"><small>></small></span><!--
         -->{{#if:{{{1|}}}|<span style="padding: 0px 9px;"><small>></small></span><!--


         ## First Category ##
         ## First Category ##
         -->{{Header/category|{{{1}}}|{{{1}}}}}}}<!--
         -->{{Header/category|{{{1}}}|{{{1}}}}}}}<!--
         -->{{#if:{{{2|}}}|<span style="padding: 0px 9px"><small>></small></span><!--
         -->{{#if:{{{2|}}}|<span style="padding: 0px 9px;"><small>></small></span><!--


         ## Second Category ##
         ## Second Category ##
         -->{{Header/category|{{{1}}}|{{{2}}}}}}}<!--
         -->{{Header/category|{{{1}}}|{{{2}}}}}}}<!--
         -->{{#if:{{{3|}}}|<span style="padding: 0px 9px"><small>></small></span><!--
         -->{{#if:{{{3|}}}|<span style="padding: 0px 9px;"><small>></small></span><!--


         ## Third Category ##
         ## Third Category ##
         -->{{Header/category|{{{1}}}|{{{3}}}}}}}<!--
         -->{{Header/category|{{{1}}}|{{{3}}}}}}}<!--
         -->{{#if:{{{4|}}}|<span style="padding: 0px 9px"><small>></small></span><!--
         -->{{#if:{{{4|}}}|<span style="padding: 0px 9px;"><small>></small></span><!--


         ## Fourth Category ##
         ## Fourth Category ##
         -->{{Header/category|{{{1}}}|{{{4}}}}}}}<!--
         -->{{Header/category|{{{1}}}|{{{4}}}}}}}<!--
         -->{{#if:{{{5|}}}|<span style="padding: 0px 9px"><small>></small></span><!--
         -->{{#if:{{{5|}}}|<span style="padding: 0px 9px;"><small>></small></span><!--


         ## Fifth Category ##
         ## Fifth Category ##
         -->{{Header/category|{{{1}}}|{{{5}}}}}}}<!--
         -->{{Header/category|{{{1}}}|{{{5}}}}}}}<!--
         -->{{#if:{{{6|}}}|<span style="padding: 0px 9px"><small>></small></span><!--
         -->{{#if:{{{6|}}}|<span style="padding: 0px 9px;"><small>></small></span><!--


         ## Sixth Category ##
         ## Sixth Category ##
         -->{{Header/category|{{{1}}}|{{{6}}}}}}}<!--
         -->{{Header/category|{{{1}}}|{{{6}}}}}}}<!--
         --><span style="padding: 0px 9px"><small>></small></span><!--
         --><span style="padding: 0px 9px;"><small>></small></span><!--


         ## Page Name ##
         ## Page Name ##
Line 42: Line 42:


     ## Page Version ##
     ## Page Version ##
     --><th style="padding: 6px; text-align:right; color: #fff; font-weight: normal;"><!--
     --><th style="padding: 6px; text-align:right; color: #ffffff; font-weight: normal;"><!--
       --><span style="float:right; padding-right: 5px; color: #fff"><!--
       --><span style="float:right; padding-right: 5px; color: #ffffff"><!--
         -->{{#if: {{{hidever|}}}||'''{{Translation|Page updated}}:''' [[Version history|<span style="color:#{{#switch:{{{1|{{ROOTPAGENAME}}}}}|Community|PZwiki|Modding|The Indie Stone={{Infobox_nc|Community|Link}}}};"><!--
         -->{{#if: {{{hidever|}}}||'''{{Translation|Page updated}}:''' [[Version history|<span style="color:#{{#switch:{{{1|{{ROOTPAGENAME}}}}}|Community|PZwiki|Modding|The Indie Stone={{Infobox_nc|Community|Link}}}};"><!--
           -->{{{version|{{Translation|Unknown Version}}}}}<!--
           -->{{{version|{{Translation|Unknown Version}}}}}<!--
Line 54: Line 54:
    
    
## Body ##
## Body ##
-->{{#if:{{{hidebody|}}}||<div style="background: #{{#switch:{{{1|{{ROOTPAGENAME}}}}}|Community|PZwiki|Modding|The Indie Stone={{Infobox_nc|Community|Body}}|#default={{Infobox_nc|default|Body}}}}; border-left: 1px solid #000; border-right: 1px solid #000; border-bottom: 1px solid #000; padding: 10px; min-width:516px;">}}<!--
-->{{#if:{{{hidebody|}}}||<div style="background: #{{#switch:{{{1|{{ROOTPAGENAME}}}}}|Community|PZwiki|Modding|The Indie Stone={{Infobox_nc|Community|Body}}|#default={{Infobox_nc|default|Body}}}}; border-left: 1px solid #000000; border-right: 1px solid #000000; border-bottom: 1px solid #000000; padding: 10px; min-width: 516px;">}}<!--


## Hide Category and Version ##
## Hide Category and Version ##

Revision as of 21:31, 15 October 2023

[view] [edit] [history] [purge] Template documentation
This template doesn't have any documentation yet! Help out by writing some.
Documentation transcluded from Template:Header/doc.
Editors can experiment in this template's sandbox (create)