模板:Navbox

来自WikiFur
跳转至: 导航搜索
[[模板:{{{name}}}|查看]] ·[[Template_talk:{{{name}}}|讨论]] ·[{{fullurl:Template:{{{name}}}|action=edit}} 编辑]
{{{list1}}}

用法[编辑]

單一群組[编辑]

This:

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

結果:

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

結果:

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

結果:

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