Pixark Wiki
 
Tag: Source edit
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable navbox" style="background: rgba(0, 0, 0, 0); border: 1px solid #676767; ; font-size: 90%; auto auto 5px; width: {{{width|100%}}};"
+
{| class="wikitable navbox" style="width: {{{width|100%}}};"
 
|-
 
|-
| colspan="3" | <div style="background: #13473f; text-align: center;">{{#if:{{{editlink|}}}|{{navbar|{{{editlink}}}}}}}<div class="navbox-header">{{{Header}}}</div></div>
+
| colspan="3" | {{#if:{{{editlink|}}}|{{navbar|{{{editlink}}}}}}}<div class="navbox-header">{{{Header}}}</div></div>
 
{{#if:{{{Notes|}}}|{{!}}-
 
{{#if:{{{Notes|}}}|{{!}}-
 
{{!}}colspan="3"{{!}}<div style="text-align: center; font-size: 80%">{{{Notes}}}</div>}}
 
{{!}}colspan="3"{{!}}<div style="text-align: center; font-size: 80%">{{{Notes}}}</div>}}
Line 27: Line 27:
 
{{!}} {{{Body1.5}}} }}
 
{{!}} {{{Body1.5}}} }}
 
|-
 
|-
{{#if:{{{Group2|}}}| ! {{#if:{{{Group2.5|}}}|rowspan="5"|{{#if:{{{Group2.4|}}}|rowspan="4"|{{#if:{{{Group2.3|}}}|rowspan="3"|{{#if:{{{Group2.2|}}}|rowspan="2"| }} }} }} }} style="background-color: #E6E6E6;" {{!}} '''{{{Group2}}}''' }}
+
{{#if:{{{Group2|}}}| ! {{#if:{{{Group2.5|}}}|rowspan="5"|{{#if:{{{Group2.4|}}}|rowspan="4"|{{#if:{{{Group2.3|}}}|rowspan="3"|{{#if:{{{Group2.2|}}}|rowspan="2"| }} }} }} }} class="navbox-background" {{!}} '''{{{Group2}}}''' }}
 
{{#if:{{{Group2.1|}}}|
 
{{#if:{{{Group2.1|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group2.1}}} }}
+
! class="navbox-background" {{!}} {{{Group2.1}}} }}
 
{{#if:{{{Group2|}}}|
 
{{#if:{{{Group2|}}}|
 
{{!}} {{#if:{{{Group2.1|}}}| |colspan="2"}} {{!}} {{{Body2}}} }}
 
{{!}} {{#if:{{{Group2.1|}}}| |colspan="2"}} {{!}} {{{Body2}}} }}
 
|-
 
|-
 
{{#if:{{{Group2.2|}}}|
 
{{#if:{{{Group2.2|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group2.2}}}
+
! class="navbox-background" {{!}} {{{Group2.2}}}
 
{{!}} {{{Body2.2}}} }}
 
{{!}} {{{Body2.2}}} }}
 
|-
 
|-
 
{{#if:{{{Group2.3|}}}|
 
{{#if:{{{Group2.3|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group2.3}}}
+
! class="navbox-background" {{!}} {{{Group2.3}}}
 
{{!}} {{{Body2.3}}} }}
 
{{!}} {{{Body2.3}}} }}
 
|-
 
|-
 
{{#if:{{{Group2.4|}}}|
 
{{#if:{{{Group2.4|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group2.4}}}
+
! class="navbox-background" {{!}} {{{Group2.4}}}
 
{{!}} {{{Body2.4}}} }}
 
{{!}} {{{Body2.4}}} }}
 
|-
 
|-
 
{{#if:{{{Group2.5|}}}|
 
{{#if:{{{Group2.5|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group2.5}}}
+
! class="navbox-background" {{!}} {{{Group2.5}}}
 
{{!}} {{{Body2.5}}} }}
 
{{!}} {{{Body2.5}}} }}
 
|-
 
|-
Line 71: Line 71:
 
{{!}} {{{Body3.5}}} }}
 
{{!}} {{{Body3.5}}} }}
 
|-
 
|-
{{#if:{{{Group4|}}}| ! {{#if:{{{Group4.5|}}}|rowspan="5"|{{#if:{{{Group4.4|}}}|rowspan="4"|{{#if:{{{Group4.3|}}}|rowspan="3"|{{#if:{{{Group4.2|}}}|rowspan="2"| }} }} }} }} style="background-color: #E6E6E6;" {{!}} '''{{{Group4}}}''' }}
+
{{#if:{{{Group4|}}}| ! {{#if:{{{Group4.5|}}}|rowspan="5"|{{#if:{{{Group4.4|}}}|rowspan="4"|{{#if:{{{Group4.3|}}}|rowspan="3"|{{#if:{{{Group4.2|}}}|rowspan="2"| }} }} }} }} class="navbox-background" {{!}} '''{{{Group4}}}''' }}
 
{{#if:{{{Group4.1|}}}|
 
{{#if:{{{Group4.1|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group4.1}}} }}
+
! class="navbox-background" {{!}} {{{Group4.1}}} }}
 
{{#if:{{{Group4|}}}|
 
{{#if:{{{Group4|}}}|
 
{{!}} {{#if:{{{Group4.1|}}}| |colspan="2"}} {{!}} {{{Body4}}} }}
 
{{!}} {{#if:{{{Group4.1|}}}| |colspan="2"}} {{!}} {{{Body4}}} }}
 
|-
 
|-
 
{{#if:{{{Group4.2|}}}|
 
{{#if:{{{Group4.2|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group4.2}}}
+
! class="navbox-background" {{!}} {{{Group4.2}}}
 
{{!}} {{{Body4.2}}} }}
 
{{!}} {{{Body4.2}}} }}
 
|-
 
|-
 
{{#if:{{{Group4.3|}}}|
 
{{#if:{{{Group4.3|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group4.3}}}
+
! class="navbox-background" {{!}} {{{Group4.3}}}
 
{{!}} {{{Body4.3}}} }}
 
{{!}} {{{Body4.3}}} }}
 
|-
 
|-
 
{{#if:{{{Group4.4|}}}|
 
{{#if:{{{Group4.4|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group4.4}}}
+
! class="navbox-background" {{!}} {{{Group4.4}}}
 
{{!}} {{{Body4.4}}} }}
 
{{!}} {{{Body4.4}}} }}
 
|-
 
|-
 
{{#if:{{{Group4.5|}}}|
 
{{#if:{{{Group4.5|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group4.5}}}
+
! class="navbox-background" {{!}} {{{Group4.5}}}
 
{{!}} {{{Body4.5}}} }}
 
{{!}} {{{Body4.5}}} }}
 
|-
 
|-
Line 115: Line 115:
 
{{!}} {{{Body5.5}}} }}
 
{{!}} {{{Body5.5}}} }}
 
|-
 
|-
{{#if:{{{Group6|}}}| ! {{#if:{{{Group6.5|}}}|rowspan="5"|{{#if:{{{Group6.4|}}}|rowspan="4"|{{#if:{{{Group6.3|}}}|rowspan="3"|{{#if:{{{Group6.2|}}}|rowspan="2"| }} }} }} }} style="background-color: #E6E6E6;" {{!}} '''{{{Group6}}}''' }}
+
{{#if:{{{Group6|}}}| ! {{#if:{{{Group6.5|}}}|rowspan="5"|{{#if:{{{Group6.4|}}}|rowspan="4"|{{#if:{{{Group6.3|}}}|rowspan="3"|{{#if:{{{Group6.2|}}}|rowspan="2"| }} }} }} }} class="navbox-background" {{!}} '''{{{Group6}}}''' }}
 
{{#if:{{{Group6.1|}}}|
 
{{#if:{{{Group6.1|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group6.1}}} }}
+
! class="navbox-background" {{!}} {{{Group6.1}}} }}
 
{{#if:{{{Group6|}}}|
 
{{#if:{{{Group6|}}}|
 
{{!}} {{#if:{{{Group6.1|}}}| |colspan="2"}} {{!}} {{{Body6}}} }}
 
{{!}} {{#if:{{{Group6.1|}}}| |colspan="2"}} {{!}} {{{Body6}}} }}
 
|-
 
|-
 
{{#if:{{{Group6.2|}}}|
 
{{#if:{{{Group6.2|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group6.2}}}
+
! class="navbox-background" {{!}} {{{Group6.2}}}
 
{{!}} {{{Body6.2}}} }}
 
{{!}} {{{Body6.2}}} }}
 
|-
 
|-
 
{{#if:{{{Group6.3|}}}|
 
{{#if:{{{Group6.3|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group6.3}}}
+
! class="navbox-background" {{!}} {{{Group6.3}}}
 
{{!}} {{{Body6.3}}} }}
 
{{!}} {{{Body6.3}}} }}
 
|-
 
|-
 
{{#if:{{{Group6.4|}}}|
 
{{#if:{{{Group6.4|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group6.4}}}
+
! class="navbox-background" {{!}} {{{Group6.4}}}
 
{{!}} {{{Body6.4}}} }}
 
{{!}} {{{Body6.4}}} }}
 
|-
 
|-
 
{{#if:{{{Group6.5|}}}|
 
{{#if:{{{Group6.5|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group6.5}}}
+
! class="navbox-background" {{!}} {{{Group6.5}}}
 
{{!}} {{{Body6.5}}} }}
 
{{!}} {{{Body6.5}}} }}
 
|-
 
|-
Line 159: Line 159:
 
{{!}} {{{Body7.5}}} }}
 
{{!}} {{{Body7.5}}} }}
 
|-
 
|-
{{#if:{{{Group8|}}}| ! {{#if:{{{Group8.5|}}}|rowspan="5"|{{#if:{{{Group8.4|}}}|rowspan="4"|{{#if:{{{Group8.3|}}}|rowspan="3"|{{#if:{{{Group8.2|}}}|rowspan="2"| }} }} }} }} style="background-color: #E6E6E6;" {{!}} '''{{{Group8}}}''' }}
+
{{#if:{{{Group8|}}}| ! {{#if:{{{Group8.5|}}}|rowspan="5"|{{#if:{{{Group8.4|}}}|rowspan="4"|{{#if:{{{Group8.3|}}}|rowspan="3"|{{#if:{{{Group8.2|}}}|rowspan="2"| }} }} }} }} class="navbox-background" {{!}} '''{{{Group8}}}''' }}
 
{{#if:{{{Group8.1|}}}|
 
{{#if:{{{Group8.1|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group8.1}}} }}
+
! class="navbox-background" {{!}} {{{Group8.1}}} }}
 
{{#if:{{{Group8|}}}|
 
{{#if:{{{Group8|}}}|
 
{{!}} {{#if:{{{Group8.1|}}}| |colspan="2"}} {{!}} {{{Body8}}} }}
 
{{!}} {{#if:{{{Group8.1|}}}| |colspan="2"}} {{!}} {{{Body8}}} }}
 
|-
 
|-
 
{{#if:{{{Group8.2|}}}|
 
{{#if:{{{Group8.2|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group8.2}}}
+
! class="navbox-background" {{!}} {{{Group8.2}}}
 
{{!}} {{{Body8.2}}} }}
 
{{!}} {{{Body8.2}}} }}
 
|-
 
|-
 
{{#if:{{{Group8.3|}}}|
 
{{#if:{{{Group8.3|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group8.3}}}
+
! class="navbox-background" {{!}} {{{Group8.3}}}
 
{{!}} {{{Body8.3}}} }}
 
{{!}} {{{Body8.3}}} }}
 
|-
 
|-
 
{{#if:{{{Group8.4|}}}|
 
{{#if:{{{Group8.4|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group8.4}}}
+
! class="navbox-background" {{!}} {{{Group8.4}}}
 
{{!}} {{{Body8.4}}} }}
 
{{!}} {{{Body8.4}}} }}
 
|-
 
|-
 
{{#if:{{{Group8.5|}}}|
 
{{#if:{{{Group8.5|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group8.5}}}
+
! class="navbox-background" {{!}} {{{Group8.5}}}
 
{{!}} {{{Body8.5}}} }}
 
{{!}} {{{Body8.5}}} }}
 
|-
 
|-
Line 203: Line 203:
 
{{!}} {{{Body9.5}}} }}
 
{{!}} {{{Body9.5}}} }}
 
|-
 
|-
{{#if:{{{Group10|}}}| ! {{#if:{{{Group10.5|}}}|rowspan="5"|{{#if:{{{Group10.4|}}}|rowspan="4"|{{#if:{{{Group10.3|}}}|rowspan="3"|{{#if:{{{Group10.2|}}}|rowspan="2"| }} }} }} }} style="background-color: #E6E6E6;" {{!}} '''{{{Group10}}}''' }}
+
{{#if:{{{Group10|}}}| ! {{#if:{{{Group10.5|}}}|rowspan="5"|{{#if:{{{Group10.4|}}}|rowspan="4"|{{#if:{{{Group10.3|}}}|rowspan="3"|{{#if:{{{Group10.2|}}}|rowspan="2"| }} }} }} }} class="navbox-background" {{!}} '''{{{Group10}}}''' }}
 
{{#if:{{{Group10.1|}}}|
 
{{#if:{{{Group10.1|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group10.1}}} }}
+
! class="navbox-background" {{!}} {{{Group10.1}}} }}
 
{{#if:{{{Group10|}}}|
 
{{#if:{{{Group10|}}}|
 
{{!}} {{#if:{{{Group10.1|}}}| |colspan="2"}} {{!}} {{{Body10}}} }}
 
{{!}} {{#if:{{{Group10.1|}}}| |colspan="2"}} {{!}} {{{Body10}}} }}
 
|-
 
|-
 
{{#if:{{{Group10.2|}}}|
 
{{#if:{{{Group10.2|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group10.2}}}
+
! class="navbox-background" {{!}} {{{Group10.2}}}
 
{{!}} {{{Body10.2}}} }}
 
{{!}} {{{Body10.2}}} }}
 
|-
 
|-
 
{{#if:{{{Group10.3|}}}|
 
{{#if:{{{Group10.3|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group10.3}}}
+
! class="navbox-background" {{!}} {{{Group10.3}}}
 
{{!}} {{{Body10.3}}} }}
 
{{!}} {{{Body10.3}}} }}
 
|-
 
|-
 
{{#if:{{{Group10.4|}}}|
 
{{#if:{{{Group10.4|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group10.4}}}
+
! class="navbox-background" {{!}} {{{Group10.4}}}
 
{{!}} {{{Body10.4}}} }}
 
{{!}} {{{Body10.4}}} }}
 
|-
 
|-
 
{{#if:{{{Group10.5|}}}|
 
{{#if:{{{Group10.5|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group10.5}}}
+
! class="navbox-background" {{!}} {{{Group10.5}}}
 
{{!}} {{{Body10.5}}} }}
 
{{!}} {{{Body10.5}}} }}
 
|-
 
|-
Line 247: Line 247:
 
{{!}} {{{Body11.5}}} }}
 
{{!}} {{{Body11.5}}} }}
 
|-
 
|-
{{#if:{{{Group12|}}}| ! {{#if:{{{Group12.5|}}}|rowspan="5"|{{#if:{{{Group12.4|}}}|rowspan="4"|{{#if:{{{Group12.3|}}}|rowspan="3"|{{#if:{{{Group12.2|}}}|rowspan="2"| }} }} }} }} style="background-color: #E6E6E6;" {{!}} '''{{{Group12}}}''' }}
+
{{#if:{{{Group12|}}}| ! {{#if:{{{Group12.5|}}}|rowspan="5"|{{#if:{{{Group12.4|}}}|rowspan="4"|{{#if:{{{Group12.3|}}}|rowspan="3"|{{#if:{{{Group12.2|}}}|rowspan="2"| }} }} }} }} class="navbox-background" {{!}} '''{{{Group12}}}''' }}
 
{{#if:{{{Group12.1|}}}|
 
{{#if:{{{Group12.1|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group12.1}}} }}
+
! class="navbox-background" {{!}} {{{Group12.1}}} }}
 
{{#if:{{{Group12|}}}|
 
{{#if:{{{Group12|}}}|
 
{{!}} {{#if:{{{Group12.1|}}}| |colspan="2"}} {{!}} {{{Body12}}} }}
 
{{!}} {{#if:{{{Group12.1|}}}| |colspan="2"}} {{!}} {{{Body12}}} }}
 
|-
 
|-
 
{{#if:{{{Group12.2|}}}|
 
{{#if:{{{Group12.2|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group12.2}}}
+
! class="navbox-background" {{!}} {{{Group12.2}}}
 
{{!}} {{{Body12.2}}} }}
 
{{!}} {{{Body12.2}}} }}
 
|-
 
|-
 
{{#if:{{{Group12.3|}}}|
 
{{#if:{{{Group12.3|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group12.3}}}
+
! class="navbox-background" {{!}} {{{Group12.3}}}
 
{{!}} {{{Body12.3}}} }}
 
{{!}} {{{Body12.3}}} }}
 
|-
 
|-
 
{{#if:{{{Group12.4|}}}|
 
{{#if:{{{Group12.4|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group12.4}}}
+
! class="navbox-background" {{!}} {{{Group12.4}}}
 
{{!}} {{{Body12.4}}} }}
 
{{!}} {{{Body12.4}}} }}
 
|-
 
|-
 
{{#if:{{{Group12.5|}}}|
 
{{#if:{{{Group12.5|}}}|
! style="background-color: #E6E6E6;" {{!}} {{{Group12.5}}}
+
! class="navbox-background" {{!}} {{{Group12.5}}}
 
{{!}} {{{Body12.5}}} }}
 
{{!}} {{{Body12.5}}} }}
   

Latest revision as of 12:16, 16 June 2021

This template is used to create and generate all navboxes in the wiki. There are a total of 12 possible groups in each navbox, and each group can have five subgroups. It is imperative that the subgroups be used in order or the template will not display properly. Do not jump from Group2.3 to Group2.5 without using the subgroup in-between, as it will cause displaying errors.

BodyX.1 does not exist, this is to allow this template to be backwards compatible with already created navboxes in the wiki. When subheaders are used, BodyX assumes the role as the first body cell under a particular header.

A Notes section is possible for any notes on the infobox.

Example

Usage

Short Format (no sub-headers) Complete Format
{{Navbox
|editlink = name of the template-navbar-page (without Template:)

|Header   = 
|Notes    = 

|Group1   = 
|Body1    = 

|Group2   = 
|Body2    = 

|Group3   = 
|Body3    = 

|Group4   = 
|Body4    = 

|Group5   = 
|Body5    = 

|Group6   = 
|Body6    = 

|Group7   = 
|Body7    = 

|Group8   =
|Body8    =

|Group9   =
|Body9    =

|Group10  =
|Body10   =

|Group11  =
|Body11   =

|Group12  =
|Body12   =

}}
{{Navbox
|editlink = name of the template-navbar-page (without Template:)

|Header   = 
|Notes    = 

|Group1   = 
|Group1.1 = 
|Group1.2 = 
|Group1.3 = 
|Group1.4 = 
|Group1.5 = 

|Body1    = 
|Body1.2  = 
|Body1.3  = 
|Body1.4  = 
|Body1.5  = 

|Group2   = 
|Group2.1 = 
|Group2.2 = 
|Group2.3 = 
|Group2.4 = 
|Group2.5 = 

|Body2    = 
|Body2.2  = 
|Body2.3  = 
|Body2.4  = 
|Body2.5  = 

|Group3   = 
|Group3.1 = 
|Group3.2 = 
|Group3.3 = 
|Group3.4 = 
|Group3.5 = 

|Body3    = 
|Body3.2  = 
|Body3.3  = 
|Body3.4  = 
|Body3.5  = 

|Group4   = 
|Group4.1 = 
|Group4.2 = 
|Group4.3 = 
|Group4.4 = 
|Group4.5 = 

|Body4    = 
|Body4.2  = 
|Body4.3  = 
|Body4.4  = 
|Body4.5  = 

|Group5   = 
|Group5.1 = 
|Group5.2 = 
|Group5.3 = 
|Group5.4 = 
|Group5.5 = 

|Body5    = 
|Body5.2  = 
|Body5.3  = 
|Body5.4  = 
|Body5.5  = 

|Group6   = 
|Group6.1 = 
|Group6.2 = 
|Group6.3 = 
|Group6.4 = 
|Group6.5 = 

|Body6    = 
|Body6.2  = 
|Body6.3  = 
|Body6.4  = 
|Body6.5  = 

|Group7   = 
|Group7.1 = 
|Group7.2 = 
|Group7.3 = 
|Group7.4 = 
|Group7.5 = 

|Body7    = 
|Body7.2  = 
|Body7.3  = 
|Body7.4  = 
|Body7.5  = 

|Group8   = 
|Group8.1 = 
|Group8.2 = 
|Group8.3 = 
|Group8.4 = 
|Group8.5 = 

|Body8    = 
|Body8.2  = 
|Body8.3  = 
|Body8.4  = 
|Body8.5  = 

|Group9   = 
|Group9.1 = 
|Group9.2 = 
|Group9.3 = 
|Group9.4 = 
|Group9.5 = 

|Body9    = 
|Body9.2  = 
|Body9.3  = 
|Body9.4  = 
|Body9.5  = 

|Group10   = 
|Group10.1 = 
|Group10.2 = 
|Group10.3 = 
|Group10.4 = 
|Group10.5 = 

|Body10    = 
|Body10.2  = 
|Body10.3  = 
|Body10.4  = 
|Body10.5  = 

|Group11   = 
|Group11.1 = 
|Group11.2 = 
|Group11.3 = 
|Group11.4 = 
|Group11.5 = 

|Body11    = 
|Body11.2  = 
|Body11.3  = 
|Body11.4  = 
|Body11.5  = 

|Group12   = 
|Group12.1 = 
|Group12.2 = 
|Group12.3 = 
|Group12.4 = 
|Group12.5 = 

|Body12    = 
|Body12.2  = 
|Body12.3  = 
|Body12.4  = 
|Body12.5  = 

}}