Template:LCARS-TopHorizontalNavBar: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(remove redundant |}, remove spacing.)
(Added documentation. Made Last optional.)
Line 1: Line 1:
{|style="width: 900px; border-radius:15px; font-size: 110%; cell-spacing: 5px; {{BackgroundColor|{{{NavColor|}}}}} padding: 5px;"  
<includeonly>{|style="width: 900px; border-radius:15px; font-size: 110%; cell-spacing: 5px; {{BackgroundColor|{{{NavColor|}}}}} padding: 5px;"  
|-
|-
|{|
|{|
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>

Revision as of 02:57, 10 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.