Welcome to Assassin's Creed Wiki! Log in and join the community.

Template:Navbox: Difference between revisions

From the Assassin's Creed Wiki
Jump to navigation Jump to search
imported>Jasca Ducato
what the hell
imported>Jasca Ducato
Undo revision 155118 by Jasca Ducato (talk)
Line 203: Line 203:
{{!}} }}
{{!}} }}
{{!}}-
{{!}}-
{{!}} cellspacing="0" class= "nowraplinks"; "navbox-abovebelow" style="{{{basestyle|}}};{{{belowstyle|}}}" colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}" {{!}} {{{below}}} }}
{{!}} class="navbox-abovebelow" style="{{{basestyle|}}};{{{belowstyle|}}}" colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}" {{!}} {{{below}}} }}
{{!}}}{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default=<nowiki/>
{{!}}}{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default=<nowiki/>
{{!}}}
{{!}}}

Revision as of 18:06, 21 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     = 
}}