Template:Header: Difference between revisions
(removed protection notice) |
(Added check for current page is "Category:Main") |
||
Line 1: | Line 1: | ||
<noinclude>{{Languages}}{{Documentation}}[[Category:Templates]]</noinclude | <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"> | ||
<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 #000; color: #fff;">{{Translation|Navigation}}:</th> | ||
<th style="padding: 6px; font-weight: normal; color: #fff; min-width: 120px;"><!-- | <th style="padding: 6px; font-weight: normal; color: #fff; min-width: 120px;"><!-- | ||
## Main Index Category ## | ## Main Index Category - check if current page = "Category:Main"## | ||
-->{{ | -->{{#ifeq:{{FULLROOTPAGENAME}}|Category:Main<!-- | ||
-->|'''{{Check title|{{FULLPAGENAME}}|true={{CATBASEPAGENAME}}}}'''<!-- | |||
## Otherwise ## | |||
-->|{{Header/category|{{{1}}}|Main}}<!-- | |||
-->{{#if:{{{1|}}}|<span style="padding: 0px 9px"><small>></small></span><!-- | |||
## First Category ## | |||
-->{{Header/category|{{{1}}}|{{{1}}}}}}}<!-- | |||
-->{{#if:{{{2|}}}|<span style="padding: 0px 9px"><small>></small></span><!-- | |||
## Second Category ## | |||
-->{{Header/category|{{{1}}}|{{{2}}}}}}}<!-- | |||
-->{{#if:{{{3|}}}|<span style="padding: 0px 9px"><small>></small></span><!-- | |||
## Third Category ## | |||
-->{{Header/category|{{{1}}}|{{{3}}}}}}}<!-- | |||
-->{{#if:{{{4|}}}|<span style="padding: 0px 9px"><small>></small></span><!-- | |||
## Fourth Category ## | |||
-->{{Header/category|{{{1}}}|{{{4}}}}}}}<!-- | |||
-->{{#if:{{{5|}}}|<span style="padding: 0px 9px"><small>></small></span><!-- | |||
## Fifth Category ## | |||
-->{{Header/category|{{{1}}}|{{{5}}}}}}}<!-- | |||
-->{{#if:{{{6|}}}|<span style="padding: 0px 9px"><small>></small></span><!-- | |||
## Sixth Category ## | |||
-->{{Header/category|{{{1}}}|{{{6}}}}}}}<!-- | |||
--><span style="padding: 0px 9px"><small>></small></span><!-- | |||
## Page Name ## | |||
-->'''{{Check title|{{FULLPAGENAME}}|true={{CATBASEPAGENAME}}}}'''<!-- | |||
-->}}</th><!-- | |||
## Page Version ## | ## Page Version ## |
Revision as of 11:58, 31 July 2023
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)
Editors can experiment in this template's sandbox (create)