Welcome to Wars Wiki! |
---|
Welcome to Wars Wiki. Please log in or create an account to make changes. |
Template:Nav: Difference between revisions
From Wars Wiki
Jump to navigationJump to search
(create) |
(Set default width of labels to 16%) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="t_nav" | <includeonly><templatestyles src="Template:Nav/styles.css" /> | ||
! class=" | {| class="t_nav" style="background-color: {{cc-color|{{{theme|allies}}}|dark}}; border: 3px solid {{cc-color|{{{theme|allies}}}|}};" | ||
! class="t_nav_title" colspan="2" style="background-color: {{cc-color|{{{theme|allies}}}|}}; color: {{cc-color|{{{theme|allies}}}|text}};" | {{{title|}}} | |||
|- | |- | ||
{{#if:{{{group1|}}}| | |||
|} | {{!}} class="t_nav_header" style="background-color: {{cc-color|{{{theme|allies}}}|light}}; width: 16%; {{{style1|}}}" {{!}} {{{group1|}}} | ||
{{!}} style="background-color: #FFF;" {{!}} | |||
{{{list1|}}}|}} | |||
|- | |||
{{#if:{{{group2|}}}| | |||
{{!}} class="t_nav_header" style="background-color: {{cc-color|{{{theme|allies}}}|light}}; {{{style2|}}}" {{!}} {{{group2|}}} | |||
{{!}} style="background-color: #FFF;" {{!}} | |||
{{{list2|}}}|}} | |||
|- | |||
{{#if:{{{group3|}}}| | |||
{{!}} class="t_nav_header" style="background-color: {{cc-color|{{{theme|allies}}}|light}}; {{{style3|}}}" {{!}} {{{group3|}}} | |||
{{!}} style="background-color: #FFF;" {{!}} | |||
{{{list3|}}}|}} | |||
|- | |||
{{#if:{{{group4|}}}| | |||
{{!}} class="t_nav_header" style="background-color: {{cc-color|{{{theme|allies}}}|light}}; {{{style4|}}}" {{!}} {{{group4|}}} | |||
{{!}} style="background-color: #FFF;" {{!}} | |||
{{{list4|}}}|}} | |||
|- | |||
{{#if:{{{group5|}}}| | |||
{{!}} class="t_nav_header" style="background-color: {{cc-color|{{{theme|allies}}}|light}}; {{{style5|}}}" {{!}} {{{group5|}}} | |||
{{!}} style="background-color: #FFF;" {{!}} | |||
{{{list5|}}}|}} | |||
|- | |||
{{#if:{{{group6|}}}| | |||
{{!}} class="t_nav_header" style="background-color: {{cc-color|{{{theme|allies}}}|light}}; {{{style6|}}}" {{!}} {{{group6|}}} | |||
{{!}} style="background-color: #FFF;" {{!}} | |||
{{{list6|}}}|}} | |||
|- | |||
{{#if:{{{group7|}}}| | |||
{{!}} class="t_nav_header" style="background-color: {{cc-color|{{{theme|allies}}}|light}}; {{{style7|}}}" {{!}} {{{group7|}}} | |||
{{!}} style="background-color: #FFF;" {{!}} | |||
{{{list7|}}}|}} | |||
|- | |||
{{#if:{{{group8|}}}| | |||
{{!}} class="t_nav_header" style="background-color: {{cc-color|{{{theme|allies}}}|light}}; {{{style8|}}}" {{!}} {{{group8|}}} | |||
{{!}} style="background-color: #FFF;" {{!}} | |||
{{{list8|}}}|}} | |||
|}</includeonly><noinclude> | |||
{{TemplateStyles|Template:Nav/styles.css}} | {{TemplateStyles|Template:Nav/styles.css}} | ||
This template is called by other templates to format Navigation templates. Do not use it directly on content pages. | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 16:29, 11 December 2023
This template uses TemplateStyles:
This template is called by other templates to format Navigation templates. Do not use it directly on content pages.