Template:Navbox: Difference between revisions

move documentation
(deeper cat)
(move documentation)
Line 239: Line 239:


--><noinclude>
--><noinclude>
=== Navbox example using groups ===


{| cellspacing="0" border="1"
{{documentation}}
!style="width:50%"|You type
!style="width:50%"|You get
|-
|
<pre>
{{navbox
|name = Example of Groups
|style = width: 100%;
|title = Example of Groups
|titlestyle = text-align: center;
|basestyle = background: #EEEEEE;
|liststyle = background: #FAF5FF; text-align: center;
|group1 = '''colors'''
|list1 = red{{·}}yellow{{·}}blue
|group2 = '''shapes'''
|list2 = circle{{·}}triangle{{·}}square
|group3 = '''numbers'''
|list3 = one{{·}}two{{·}}three
}}
</pre>
|
{{navbox
|name = Example of Groups
|style = width: 100%;
|title = Example of Groups
|titlestyle = text-align: center;
|basestyle = background: #EEEEEE;
|liststyle = background: #FAF5FF; text-align: center;
|group1 = '''colors'''
|list1 = red{{·}}yellow{{·}}blue
|group2 = '''shapes'''
|list2 = circle{{·}}triangle{{·}}square
|group3 = '''numbers'''
|list3 = one{{·}}two{{·}}three
}}
 
|}
 
[[Category:Navigational templates| Navbox]]
</noinclude>
</noinclude>
90,866

edits