模板:Navbox

從 WikiFur
跳到: 導覽搜尋
[[模板:{{{name}}}|v]] · [[Template_talk:{{{name}}}|d]] · [{{fullurl:Template:{{{name}}}|action=edit}} e]
{{{list1}}}

用法[編輯]

單一群組[編輯]

This:

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

結果:

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


兩個群組[編輯]

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
}}

結果:

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


再追加一個群組,使用{{模板:Navbox subgroup}}[編輯]

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
}}

結果:

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