模板:Navbox

出自【暗黑百科】DiabloWiki_凯恩之角

(修订版本间的差异)
跳转到: 导航, 搜索
第1行: 第1行:
-
{| class="navbox" style="background-color: #000; border: 1px solid #5E0C00; font-size: 90%;"
+
<div class="rightbox" style="width:{{#if:{{{Forme|}}}|200|250}}px">
 +
{| class="{{pctcNPC|{{{Color}}}}}" width="100%" style=margin-bottom:0.3em;border-radius:10px;text-align:center
 +
|-
 +
! style="padding: 0.2em;font-size:160%;color:#D49E43" colspan=3 | {{{名称}}}
|-
|-
-
! class="header" colspan="3" | {{{Header}}}
+
|colspan=3|  {{{图片}}}
 +
|}
 +
{| class="{{pctcNPC|{{{Color}}}}}" width="100%" style=text-align:left;border-radius:10px;
|-
|-
-
{{#if:{{{Group1|}}}|
+
| align=center | 开发 || colspan=2 | {{{开发}}}
-
! {{#if:{{{Group1.5|}}}|rowspan="5"|{{#if:{{{Group1.4|}}}|rowspan="4"|{{#if:{{{Group1.3|}}}|rowspan="3"|{{#if:{{{Group1.2|}}}|rowspan="2"| }} }} }} }} {{!}} '''{{{Group1}}}'''
+
-
{{#if:{{{Group1.1|}}}|
+
-
! {{{Group1.1}}} }} }}
+
-
| {{#if:{{{Group1|}}} | {{#if:{{{Group1.1|}}} | | colspan="2" }} | colspan="3" style="text-align: center;" }} | {{{Body1}}}
+
|-
|-
-
{{#if:{{{Group1.2|}}}|
+
| align=center | 发型 || colspan=2 |{{{发型}}}
-
! {{{Group1.2}}}
+
-
{{!}} {{{Body1.2}}} }}
+
|-
|-
-
{{#if:{{{Group1.3|}}}|
+
| align=center | 系列 || colspan=2 | {{{系列}}}
-
! {{{Group1.3}}}
+
-
{{!}} {{{Body1.3}}} }}
+
|-
|-
-
{{#if:{{{Group1.4|}}}|
+
| align=center | 平台 || colspan=2 | {{{平台}}}
-
! {{{Group1.4}}}
+
-
{{!}} {{{Body1.4}}} }}
+
|-
|-
-
{{#if:{{{Group1.5|}}}|
+
| align=center | 状态 || colspan=2 | {{{状态}}}
-
! {{{Group1.5}}}
+
-
{{!}} {{{Body1.5}}} }}
+
|-
|-
-
{{#if:{{{Group2|}}}| ! {{#if:{{{Group2.5|}}}|rowspan="5"|{{#if:{{{Group2.4|}}}|rowspan="4"|{{#if:{{{Group2.3|}}}|rowspan="3"|{{#if:{{{Group2.2|}}}|rowspan="2"| }} }} }} }} {{!}} '''{{{Group2}}}''' }}
+
| align=center | 类型 || colspan=2 | {{{地图}}}
-
{{#if:{{{Group2.1|}}}|
+
-
! {{{Group2.1}}} }}
+
-
{{#if:{{{Group2|}}}|
+
-
{{!}} {{#if:{{{Group2.1|}}}| |colspan="2"}} {{!}} {{{Body2}}} }}
+
|-
|-
-
{{#if:{{{Group2.2|}}}|
+
| align=center | 模式 || colspan=2 | {{{模式}}}
-
! {{{Group2.2}}}
+
-
{{!}} {{{Body2.2}}} }}
+
|-
|-
-
{{#if:{{{Group2.3|}}}|
+
| align=center | 系统要求 || colspan=2 | {{{系统要求}}}
-
! {{{Group2.3}}}
+
|}
-
{{!}} {{{Body2.3}}} }}
+
</div><noinclude>[[Category:表格模板]]</noinclude>
-
|-
+
-
{{#if:{{{Group2.4|}}}|
+
-
! {{{Group2.4}}}
+
-
{{!}} {{{Body2.4}}} }}
+
-
|-
+
-
{{#if:{{{Group2.5|}}}|
+
-
! {{{Group2.5}}}
+
-
{{!}} {{{Body2.5}}} }}
+
-
|-
+
-
{{#if:{{{Group3|}}}| ! {{#if:{{{Group3.5|}}}|rowspan="5"|{{#if:{{{Group3.4|}}}|rowspan="4"|{{#if:{{{Group3.3|}}}|rowspan="3"|{{#if:{{{Group3.2|}}}|rowspan="2"| }} }} }} }} {{!}} '''{{{Group3}}}''' }}
+
-
{{#if:{{{Group3.1|}}}|
+
-
! {{{Group3.1}}} }}
+
-
{{#if:{{{Group3|}}}|
+
-
{{!}} {{#if:{{{Group3.1|}}}| |colspan="2"}} {{!}} {{{Body3}}} }}
+
-
|-
+
-
{{#if:{{{Group3.2|}}}|
+
-
! {{{Group3.2}}}
+
-
{{!}} {{{Body3.2}}} }}
+
-
|-
+
-
{{#if:{{{Group3.3|}}}|
+
-
! {{{Group3.3}}}
+
-
{{!}} {{{Body3.3}}} }}
+
-
|-
+
-
{{#if:{{{Group3.4|}}}|
+
-
! {{{Group3.4}}}
+
-
{{!}} {{{Body3.4}}} }}
+
-
|-
+
-
{{#if:{{{Group3.5|}}}|
+
-
! {{{Group3.5}}}
+
-
{{!}} {{{Body3.5}}} }}
+
-
|-
+
-
{{#if:{{{Group4|}}}| ! {{#if:{{{Group4.5|}}}|rowspan="5"|{{#if:{{{Group4.4|}}}|rowspan="4"|{{#if:{{{Group4.3|}}}|rowspan="3"|{{#if:{{{Group4.2|}}}|rowspan="2"| }} }} }} }} {{!}} '''{{{Group4}}}''' }}
+
-
{{#if:{{{Group4.1|}}}|
+
-
! {{{Group4.1}}} }}
+
-
{{#if:{{{Group4|}}}|
+
-
{{!}} {{#if:{{{Group4.1|}}}| |colspan="2"}} {{!}} {{{Body4}}} }}
+
-
|-
+
-
{{#if:{{{Group4.2|}}}|
+
-
! {{{Group4.2}}}
+
-
{{!}} {{{Body4.2}}} }}
+
-
|-
+
-
{{#if:{{{Group4.3|}}}|
+
-
! {{{Group4.3}}}
+
-
{{!}} {{{Body4.3}}} }}
+
-
|-
+
-
{{#if:{{{Group4.4|}}}|
+
-
! {{{Group4.4}}}
+
-
{{!}} {{{Body4.4}}} }}
+
-
|-
+
-
{{#if:{{{Group4.5|}}}|
+
-
! {{{Group4.5}}}
+
-
{{!}} {{{Body4.5}}} }}
+
-
|-
+
-
{{#if:{{{Group5|}}}| ! {{#if:{{{Group5.5|}}}|rowspan="5"|{{#if:{{{Group5.4|}}}|rowspan="4"|{{#if:{{{Group5.3|}}}|rowspan="3"|{{#if:{{{Group5.2|}}}|rowspan="2"| }} }} }} }} {{!}} '''{{{Group5}}}''' }}
+
-
{{#if:{{{Group5.1|}}}|
+
-
! {{{Group5.1}}} }}
+
-
{{#if:{{{Group5|}}}|
+
-
{{!}} {{#if:{{{Group5.1|}}}| |colspan="2"}} {{!}} {{{Body5}}} }}
+
-
|-
+
-
{{#if:{{{Group5.2|}}}|
+
-
! {{{Group5.2}}}
+
-
{{!}} {{{Body5.2}}} }}
+
-
|-
+
-
{{#if:{{{Group5.3|}}}|
+
-
! {{{Group5.3}}}
+
-
{{!}} {{{Body5.3}}} }}
+
-
|-
+
-
{{#if:{{{Group5.4|}}}|
+
-
! {{{Group5.4}}}
+
-
{{!}} {{{Body5.4}}} }}
+
-
|-
+
-
{{#if:{{{Group5.5|}}}|
+
-
! {{{Group5.5}}}
+
-
{{!}} {{{Body5.5}}} }}
+
-
|-
+
-
{{#if:{{{Group6|}}}| ! {{#if:{{{Group6.5|}}}|rowspan="5"|{{#if:{{{Group6.4|}}}|rowspan="4"|{{#if:{{{Group6.3|}}}|rowspan="3"|{{#if:{{{Group6.2|}}}|rowspan="2"| }} }} }} }} {{!}} '''{{{Group6}}}''' }}
+
-
{{#if:{{{Group6.1|}}}|
+
-
! {{{Group6.1}}} }}
+
-
{{#if:{{{Group6|}}}|
+
-
{{!}} {{#if:{{{Group6.1|}}}| |colspan="2"}} {{!}} {{{Body6}}} }}
+
-
|-
+
-
{{#if:{{{Group6.2|}}}|
+
-
! {{{Group6.2}}}
+
-
{{!}} {{{Body6.2}}} }}
+
-
|-
+
-
{{#if:{{{Group6.3|}}}|
+
-
! {{{Group6.3}}}
+
-
{{!}} {{{Body6.3}}} }}
+
-
|-
+
-
{{#if:{{{Group6.4|}}}|
+
-
! {{{Group6.4}}}
+
-
{{!}} {{{Body6.4}}} }}
+
-
|-
+
-
{{#if:{{{Group6.5|}}}|
+
-
! {{{Group6.5}}}
+
-
{{!}} {{{Body6.5}}} }}
+
-
|-
+
-
{{#if:{{{Group7|}}}| ! {{#if:{{{Group7.5|}}}|rowspan="5"|{{#if:{{{Group7.4|}}}|rowspan="4"|{{#if:{{{Group7.3|}}}|rowspan="3"|{{#if:{{{Group7.2|}}}|rowspan="2"| }} }} }} }} {{!}} '''{{{Group7}}}''' }}
+
-
{{#if:{{{Group7.1|}}}|
+
-
! {{{Group7.1}}} }}
+
-
{{#if:{{{Group7|}}}|
+
-
{{!}} {{#if:{{{Group7.1|}}}| |colspan="2"}} {{!}} {{{Body7}}} }}
+
-
|-
+
-
{{#if:{{{Group7.2|}}}|
+
-
! {{{Group7.2}}}
+
-
{{!}} {{{Body7.2}}} }}
+
-
|-
+
-
{{#if:{{{Group7.3|}}}|
+
-
! {{{Group7.3}}}
+
-
{{!}} {{{Body7.3}}} }}
+
-
|-
+
-
{{#if:{{{Group7.4|}}}|
+
-
! {{{Group7.4}}}
+
-
{{!}} {{{Body7.4}}} }}
+
-
|-
+
-
{{#if:{{{Group7.5|}}}|
+
-
! {{{Group7.5}}}
+
-
{{!}} {{{Body7.5}}} }}
+
-
 
+
-
|}<noinclude><pre>
+
-
This template is used to create all navboxes in the wiki.
+
-
There is a total of 7 possible groups in each navbox, and each group can have five subgroups.
+
-
It is imperative that the subgroups be used in order.
+
-
Do not jump from Group2.3 to Group2.5 without using the subgroup in-between, as it will cause displaying errors.
+
-
BodyX.1 does not exist, this is to allow this template to be backwards compatible with already created navboxes in the wiki.
+
-
 
+
-
{{Navbox
+
-
 
+
-
|Header  =
+
-
 
+
-
|Group1  =
+
-
|Group1.1 =
+
-
|Group1.2 =
+
-
|Group1.3 =
+
-
|Group1.4 =
+
-
|Group1.5 =
+
-
 
+
-
|Body1    =
+
-
|Body1.2  =
+
-
|Body1.3  =
+
-
|Body1.4  =
+
-
|Body1.5  =
+
-
 
+
-
|Group2  =
+
-
|Group2.1 =
+
-
|Group2.2 =
+
-
|Group2.3 =
+
-
|Group2.4 =
+
-
|Group2.5 =
+
-
 
+
-
|Body2    =
+
-
|Body2.2  =
+
-
|Body2.3  =
+
-
|Body2.4  =
+
-
|Body2.5  =
+
-
 
+
-
|Group3  =
+
-
|Group3.1 =
+
-
|Group3.2 =
+
-
|Group3.3 =
+
-
|Group3.4 =
+
-
|Group3.5 =
+
-
 
+
-
|Body3    =
+
-
|Body3.2  =
+
-
|Body3.3  =
+
-
|Body3.4  =
+
-
|Body3.5  =
+
-
 
+
-
|Group4  =
+
-
|Group4.1 =
+
-
|Group4.2 =
+
-
|Group4.3 =
+
-
|Group4.4 =
+
-
|Group4.5 =
+
-
 
+
-
|Body4    =
+
-
|Body4.2  =
+
-
|Body4.3  =
+
-
|Body4.4  =
+
-
|Body4.5  =
+
-
 
+
-
|Group5  =
+
-
|Group5.1 =
+
-
|Group5.2 =
+
-
|Group5.3 =
+
-
|Group5.4 =
+
-
|Group5.5 =
+
-
 
+
-
|Body5    =
+
-
|Body5.2  =
+
-
|Body5.3  =
+
-
|Body5.4  =
+
-
|Body5.5  =
+
-
 
+
-
|Group6  =
+
-
|Group6.1 =
+
-
|Group6.2 =
+
-
|Group6.3 =
+
-
|Group6.4 =
+
-
|Group6.5 =
+
-
 
+
-
|Body6    =
+
-
|Body6.2  =
+
-
|Body6.3  =
+
-
|Body6.4  =
+
-
|Body6.5  =
+
-
 
+
-
|Group7  =
+
-
|Group7.1 =
+
-
|Group7.2 =
+
-
|Group7.3 =
+
-
|Group7.4 =
+
-
|Group7.5 =
+
-
 
+
-
|Body7    =
+
-
|Body7.2  =
+
-
|Body7.3  =
+
-
|Body7.4  =
+
-
|Body7.5  =
+
-
 
+
-
}}</pre>[[Category:表格模板]]</noinclude>
+

在2011年4月22日 (五) 14:52所做的修订版本

{{{名称}}}
{{{图片}}}
开发 {{{开发}}}
发型 {{{发型}}}
系列 {{{系列}}}
平台 {{{平台}}}
状态 {{{状态}}}
类型 {{{地图}}}
模式 {{{模式}}}
系统要求 {{{系统要求}}}
个人工具
分享到: 更多
名字空间
变换
动作
网站地图
暗黑破坏神 III
暗黑破坏神 II
暗黑破坏神
工具箱
编辑箱
关于暗黑百科