Jump to content

Template:Navbox: Difference between revisions

add example using groups
mNo edit summary
(add example using groups)
Line 239: Line 239:


--><noinclude>
--><noinclude>
=== Navbox example using groups ===
{| cellspacing="0" border="1"
!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:Templates|Navbox]]
[[Category:Templates|Navbox]]
</noinclude>
</noinclude>
90,866

edits