Mal:Navbox

Fra WikiFur
Gå til: navigasjon, søk
[[Template:{{{name}}}|v]] · [[Template_talk:{{{name}}}|d]] · [{{fullurl:Template:{{{name}}}|action=edit}} e]
{{{list1}}}

Usage[rediger]

Only one group[rediger]

This:

{{Navbox
|name = a bit of good news
|title = a bit of good news
|list1 = Here · is · how · you · do · it
}}

Results in this:

v · d · e
a bit of good news
Here · is · how · you · do · it


More than one group[rediger]

This:

{{Navbox
|name = goodnews
|title = Good News

|group1 = A new group!
|list1 = Here · is · how · you · do · it
|group2 = Another new group!
|list2 = Here · is · how · you · do · it
}}

results in this:

v · d · e
Good News
A new group!
Here · is · how · you · do · it
Another new group!
Here · is · how · you · do · it


More than one group with {{Template:Navbox subgroup}}[rediger]

This:

{{Navbox
|name = goodnews
|title = Good News

|group1 = A new group!
|list1 = Here · is · how · you · do · it
{{Navbox subgroup
|group1 = A group within a group!
|list1 = Here · is · how · you · do · it

|group2 = Another group within a group!
|list2 = Here · is · how · you · do · it
}}

|group2 = Another new group!
|list2 = Here · is · how · you · do · it
}}

results in this:

v · d · e
Good News
A new group!
Here · is · how · you · do · it
Another new group!
Here · is · how · you · do · it


One group with image[rediger]

{{Navbox 
|name = goodnews
|title = Good News 
|image = [[File:Bang.jpg|150px]]

|group1 = A new group! 
|list1 = Here · is · how · you · do · it 
|group2 = Another new group! 
|list2 = Here · is · how · you · do · it 
|group3 = One mo' 'gin!
|list3 = This is how you do it.
}}

Results in

v · d · e
Good News
A new group!
Here · is · how · you · do · it
Bang.jpg
Another new group!
Here · is · how · you · do · it
One mo' 'gin!
This is how you do it.