Star Wars: The Old Republic Wiki
m
m (→‎top: Changed category.)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  +
{| class="navbox" style="width:100%;"
{| align="center" style="width: 98%; clear: both; background-color: {{{boxbackcolor|#0B1119}}}; border-width: thin; border-style: solid; border-color: {{{bordercolor|#2A3C52}}}; padding: 0em 0em 0em 0.3em; margin-top: 10px;"
 
| {{#if: {{{cat|}}} | colspan="2" | }} style="width: 100%; margin: 1em; text-align: center; padding: 0.1em; background-color: {{{titlebackcolor|#2A3C52}}}; color: {{{titlecolor|#CACFD5}}}"| '''{{{title}}}''' {{{image|}}}
+
! {{#if: {{{cat|}}} | colspan="2" | }} style="width: 100%; margin: 1em; padding: 0.1em; color: #3bcbf5; font-size: 125%; font-weight: bold;" | '''{{{title}}}''' {{{image|}}}
 
|-
 
|-
| {{#if: {{{cat|}}} | style="width: 15%; text-align: center; background: #2A3C52; color: {{{catcolor|#CACFD5}}}" {{!}} {{{cat}}}
+
| {{#if: {{{cat|}}} | class="navboxcat" style="width:15%; text-align:center;" {{!}} {{{cat}}}
{{!}} style="width: 85%; margin: 1em; text-align: left; padding: 0.25em 1em; color: {{{listcolor|#CACFD5}}}" | style="width: 100%; margin: 1em; text-align: {{{align|center}}}; padding: 0.5em 1em; color: {{{listcolor|#CACFD5}}}" }} | {{{list}}}
+
{{!}} style="width:85%; text-align:left; margin:1em; padding:0em 1em;" | style="width:100%; margin:1em; text-align:{{{align|center}}}; padding:0em 1em;" }} | {{{list}}}
 
|-
 
|-
{{#if: {{{cat2|}}} | {{!}} style="width: 15%; text-align: center; background: #2A3C52; color: {{{catcolor|#CACFD5}}}" {{!}} {{{cat2}}}
+
{{#if: {{{cat2|}}} | {{!}} class="navboxcat" style="width:15%; text-align:center;" {{!}} {{{cat2}}}
{{!}} style="width: 85%; margin: 1em; text-align: left; padding: 0.25em 1em; color: {{{listcolor|#CACFD5}}}" {{!}} {{{list2}}} }}
+
{{!}} style="width:85%; text-align:left; margin:1em; padding:0em 1em;" {{!}} {{{list2}}} }}
 
|-
 
|-
{{#if: {{{cat3|}}} | {{!}} style="width: 15%; text-align: center; background: #2A3C52; color: {{{catcolor|#CACFD5}}}" {{!}} {{{cat3}}}
+
{{#if: {{{cat3|}}} | {{!}} class="navboxcat" style="width:15%; text-align:center;" {{!}} {{{cat3}}}
{{!}} style="width: 85%; margin: 1em; text-align: left; padding: 0.25em 1em; color: {{{listcolor|#CACFD5}}}" {{!}} {{{list3}}} }}
+
{{!}} style="width:85%; text-align:left; margin:1em; padding:0em 1em;" {{!}} {{{list3}}} }}
 
|-
 
|-
{{#if: {{{cat4|}}} | {{!}} style="width: 15%; text-align: center; background: #2A3C52; color: {{{catcolor|#CACFD5}}}" {{!}} {{{cat4}}}
+
{{#if: {{{cat4|}}} | {{!}} class="navboxcat" style="width:15%; text-align:center;" {{!}} {{{cat4}}}
{{!}} style="width: 85%; margin: 1em; text-align: left; padding: 0.25em 1em; color: {{{listcolor|#CACFD5}}}" {{!}} {{{list4}}} }}
+
{{!}} style="width:85%; text-align:left; margin:1em; padding:0em 1em;" {{!}} {{{list4}}} }}
 
|-
 
|-
{{#if: {{{cat5|}}} | {{!}} style="width: 15%; text-align: center; background: #2A3C52; color: {{{catcolor|#CACFD5}}}" {{!}} {{{cat5}}}
+
{{#if: {{{cat5|}}} | {{!}} class="navboxcat" style="width:15%; text-align:center;" {{!}} {{{cat5}}}
{{!}} style="width: 85%; margin: 1em; text-align: left; padding: 0.25em 1em; color: {{{listcolor|#CACFD5}}}" {{!}} {{{list5}}} }}
+
{{!}} style="width:85%; text-align:left; margin:1em; padding:0em 1em;" {{!}} {{{list5}}} }}
|}<onlyinclude>{{{category|}}}</onlyinclude><noinclude>
+
|}<includeonly>{{{category|}}}</includeonly><noinclude>
  +
{{doc}}
 
==Usage==
 
<pre>
 
{{NavigationBar
 
| boxbackcolor =
 
| bordercolor =
 
| titlebackcolor =
 
| titlecolor =
 
| title =
 
| image =
 
| catcolor =
 
| listcolor =
 
| cat =
 
| list =
 
| cat2 =
 
| list2 =
 
| cat3 =
 
| list3 =
 
| cat4 =
 
| list4 =
 
| cat5 =
 
| list5 =
 
| category =
 
}}
 
</pre>
 
 
Title, List, and Category are the only required variables. Everything else is optional and will be set by default.
 
   
 
[[Category:Navigation templates| ]]</noinclude>
 
[[Category:Navigation templates| ]]</noinclude>

Latest revision as of 06:02, 29 November 2019

Usage

{{NavigationBar
| title =
| image =
| cat = 
| list = 
| cat2 = 
| list2 = 
| cat3 = 
| list3 = 
| cat4 = 
| list4 = 
| cat5 = 
| list5 = 
| category =
}}

Title, List, and Category are the only required variables. Everything else is optional and will be set by default.