Welcome to Assassin's Creed Wiki! Log in and join the community.
Template:Navbox: Difference between revisions
Jump to navigation
Jump to search
imported>Jasca Ducato removed "below" |
imported>Jasca Ducato Undo revision 153320 by Jasca Ducato (talk) |
||
| Line 195: | Line 195: | ||
{{!}} class="navbox-group" style="color: #000000; {{{basestyle|}}};{{{groupstyle|}}};{{{group20style|}}}" {{!}} {{{group20}}} | {{!}} class="navbox-group" style="color: #000000; {{{basestyle|}}};{{{groupstyle|}}};{{{group20style|}}}" {{!}} {{{group20}}} | ||
{{!}} style="text-align:left;border-top:2px solid #fdfdfd;border-bottom:2px solid #fdfdfd;|<nowiki/> | {{!}} style="text-align:left;border-top:2px solid #fdfdfd;border-bottom:2px solid #fdfdfd;|<nowiki/> | ||
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list20style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list20|}}}</div> }} | {{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list20style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list20|}}}</div> }}<!-- | ||
---Below--- | |||
-->{{#if:{{{below|}}}|<!-- | |||
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|<nowiki/> | |||
{{!}}- style="height:2px;" | |||
{{!}} }} | |||
{{!}}- | |||
{{!}} class="navbox-abovebelow" style="{{{basestyle|}}};{{{belowstyle|}}}" colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}" {{!}} {{{below}}} }} | |||
{{!}}}{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default=<nowiki/> | |||
{{!}}} | |||
}} | }} | ||
<noinclude> | <noinclude> | ||
Revision as of 04:20, 16 May 2011
|
|
Useage
Template:Navbox is a general purpose navigation template. Colours are fully customisable.
{{Navbox
|navbar = off
|title =
|style = background: transparent;
|titlestyle = background: #
|groupstyle = background: #
|group1 =
|list1 =
|group2 =
|list2 =
|group3 =
|list3 =
...
|group20 =
|list20 =
}}
If you wish to include subgroups, use the following code
{{Navbox
|navbar = off
|title =
|style = background: transparent;
|titlestyle = background: #
|groupstyle = background: #
{{Navbox subgroup
|group1 =
|list1 =
|group2 =
|list2 =
}}
...
|group20 =
|list20 =
}}