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
can't believe I missed that out ;s
imported>Jasca Ducato
No edit summary
Line 205: Line 205:
{{!}} class="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/>
{{!}}} }}
{{!}}}
}}
<noinclude>
<noinclude>
==Useage==
==Useage==

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