模板: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