Template:Navbox: Difference between revisions
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> |
Revision as of 16:45, 2 August 2009
[edit source]
You type | You get | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{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 }} |
|