“Template:Navbox”的版本间的差异
来自汉服百科
YellowTopaz(讨论 | 贡献) |
|||
(未显示2个用户的6个中间版本) | |||
第1行: | 第1行: | ||
− | <!-- | + | <includeonly><!-- 如非必要,請不要修改此模板,因爲此模板具有十分精細的結構。之後的註釋符號均用於縮進和增加空行使結構更加清晰,請不要刪除。 |
+ | --><!-- | ||
Please do not edit without discussion first as this is a VERY complex template. | Please do not edit without discussion first as this is a VERY complex template. | ||
第309行: | 第310行: | ||
|#default = | |#default = | ||
}} | }} | ||
− | }}}}<includeonly>{{ | + | }}}}</includeonly><noinclude> |
+ | '''警告:此模板結構精細,請不要隨意修改。''' | ||
+ | |||
+ | == 用法實例 == | ||
+ | <nowiki>{{Navbox | ||
+ | | name = 主题名称 | ||
+ | | state = collapsed | ||
+ | | title = [[显示的主题名称]] | ||
+ | | listclass = hlist | ||
+ | |||
+ | | group1 = 相关话题1 | ||
+ | | list1 = | ||
+ | * [[话题1的项目1]] | ||
+ | * [[话题1的项目2]] | ||
+ | |||
+ | | group2 = 相关话题2 | ||
+ | | list2 = | ||
+ | * [[ 话题2的项目1]] | ||
+ | }}</nowiki> | ||
+ | |||
+ | 显示效果如下: | ||
+ | |||
+ | {{Navbox | ||
+ | | name = 主题名称 | ||
+ | | state = collapsed | ||
+ | | title = [[显示的主题名称]] | ||
+ | | listclass = hlist | ||
+ | |||
+ | | group1 = 相关话题1 | ||
+ | | list1 = | ||
+ | * [[话题1的项目1]] | ||
+ | * [[话题1的项目2]] | ||
+ | |||
+ | | group2 = 相关话题2 | ||
+ | | list2 = | ||
+ | * [[话题2的项目1]] | ||
+ | }} |