Star Wars: The Old Republic Wiki
m (→‎top: Changed category.)
 
(12 intermediate revisions by 5 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;"
 
|style="width: 100%; margin: 1em; text-align: center; padding: 0.1em; background-color: {{{titlebackcolor|#2A3C52}}}; color: {{{titlecolor|#CACFD5}}}"| '''{{{title}}}'''
+
! {{#if: {{{cat|}}} | colspan="2" | }} style="width: 100%; margin: 1em; padding: 0.1em; color: #3bcbf5; font-size: 125%; font-weight: bold;" | '''{{{title}}}''' {{{image|}}}
|rowspan="2" style="width: 0%;"| {{{image|}}}
 
 
|-
 
|-
  +
| {{#if: {{{cat|}}} | class="navboxcat" style="width:15%; text-align:center;" {{!}} {{{cat}}}
|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}}}
|}{{{category|}}}
 
  +
|-
<noinclude>
 
  +
{{#if: {{{cat2|}}} | {{!}} class="navboxcat" style="width:15%; text-align:center;" {{!}} {{{cat2}}}
==Usage==
 
  +
{{!}} style="width:85%; text-align:left; margin:1em; padding:0em 1em;" {{!}} {{{list2}}} }}
<pre>
 
  +
|-
{{NavigationBar
 
  +
{{#if: {{{cat3|}}} | {{!}} class="navboxcat" style="width:15%; text-align:center;" {{!}} {{{cat3}}}
| boxbackcolor =
 
  +
{{!}} style="width:85%; text-align:left; margin:1em; padding:0em 1em;" {{!}} {{{list3}}} }}
| bordercolor =
 
  +
|-
| titlebackcolor =
 
  +
{{#if: {{{cat4|}}} | {{!}} class="navboxcat" style="width:15%; text-align:center;" {{!}} {{{cat4}}}
| titlecolor =
 
  +
{{!}} style="width:85%; text-align:left; margin:1em; padding:0em 1em;" {{!}} {{{list4}}} }}
| title =
 
  +
|-
| image =
 
  +
{{#if: {{{cat5|}}} | {{!}} class="navboxcat" style="width:15%; text-align:center;" {{!}} {{{cat5}}}
| listcolor =
 
  +
{{!}} style="width:85%; text-align:left; margin:1em; padding:0em 1em;" {{!}} {{{list5}}} }}
| list =
 
  +
|}<includeonly>{{{category|}}}</includeonly><noinclude>
| category =
 
}}
+
{{doc}}
</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.