Template:LCARS-TopHorizontalNavBar: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(splitting nav bar code out to it's own template)
 
(typo in template link.)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|style="width: 900px; border-radius:15px; font-size: 110%; cell-spacing: 5px; {{BackgroundColor|{{{NavColor|}}}}} padding: 5px;"  
<includeonly>{|colspan="3" style="float: center; width: 900px; border-radius:15px; font-size: 110%; cell-spacing: 5px; {{BackgroundColor|{{{NavColor|}}}}} padding: 5px;"  
|-
|-
|{|
|{|
|-
|-
|colspan=6 style="{{TextColor|{{{HeaderColor|}}}}} text-align: center; font-weight: bold;"|Navigation
|colspan=6 style="{{TextColor|{{{HeaderColor|}}}}} text-align: center; font-weight: bold;"|{{Ncolored|{{{FirstName|}}}|{{{LastName|}}}|{{{HeaderColor|}}}}} Navigation
|-
|-
|{{sChar|First={{{FirstName|}}}|Last={{{LastName|}}}|Sub={{{Link1|}}}|Title={{{Link1Title|}}}|Color={{{HeaderColor|}}}}}
|{{sChar|First={{{FirstName|}}}|Last={{{LastName|}}}|Sub={{{Link1|}}}|Title={{{Link1Title|}}}|Color={{{HeaderColor|}}}}}
Line 19: Line 19:
{{#if: {{{Link12|}}}|{{!}}{{sChar|First={{{FirstName|}}}|Last={{{LastName|}}}|Sub={{{Link12|}}}|Title={{{Link12Title|}}}|Color={{{HeaderColor|}}}}}|{{!}}&nbsp;}}
{{#if: {{{Link12|}}}|{{!}}{{sChar|First={{{FirstName|}}}|Last={{{LastName|}}}|Sub={{{Link12|}}}|Title={{{Link12Title|}}}|Color={{{HeaderColor|}}}}}|{{!}}&nbsp;}}
|-
|-
|}
|}</includeonly><noinclude>This template creates a nav bar in the upper top. Takes up to 12 links, as /sub pages of the character/. Parameters: FirstName = first name of the character, LastName = last name of the character. LinkX (1-12), LinkXTitle (1-12): link, and it's title. The link must be a subpage of the character.</noinclude>
|}

Latest revision as of 02:45, 12 March 2015

This template creates a nav bar in the upper top. Takes up to 12 links, as /sub pages of the character/. Parameters: FirstName = first name of the character, LastName = last name of the character. LinkX (1-12), LinkXTitle (1-12): link, and it's title. The link must be a subpage of the character.