差分

編集の要約なし
1行目: 1行目: −
<onlyinclude>{{{!}} class="toccolours mw-collapsible" style="width:90%; overflow: hidden; background:#FFF;"
+
<onlyinclude>{| class="toccolours mw-collapsible" style="width:90%; overflow: hidden; background:#FFF;"
{{!}}-
+
|-
{{!}} colspan=2 style="text-align:center; background:#CCCCFF; margin-bottom:2px;" {{!}} '''{{{title}}}'''
+
| colspan=2 style="text-align:center; background:#CCCCFF; margin-bottom:2px;" {{!}} '''{{{title}}}'''
{{!}}-
+
|-
{{!}} class="mw-collapsible-content" {{!}}
+
| class="mw-collapsible-content" {{!}}
{{!}}-
+
|-
{{#if: {{{group1}}} | {{!}} style="text-align:center; white-space: nowrap; background:#CCCCFF; padding:0 1em 0 1em;" {{!}} '''{{{group1}}} '''
+
{{#if: {{{group1|}}} | {{!}} style="text-align:center; white-space: nowrap; background:#CCCCFF; padding:0 1em 0 1em;" {{!}} '''{{{group1}}} ''' | {{#if: {{{list1|}}} | {{!}} style="width:100%; text-align:center;" {{!}} {{{list1}}} }}}}
{{!}} style="width:100%;" {{!}} {{{list1}}}
+
|-
{{!}}-|}}
+
{{#if: {{{group2|}}} | {{!}} style="text-align:center; white-space: nowrap; background:#CCCCFF; padding:0 1em 0 1em;" {{!}} '''{{{group2}}}''' }}
{{!}} style="text-align:center; white-space: nowrap; background:#CCCCFF; padding:0 1em 0 1em;" {{!}} '''{{{group2}}}'''
+
{{#if: {{{list2|}}} | {{!}} style="width:100%;" {{!}} {{{list2}}} }}
{{!}} style="width:100%;" {{!}} {{{list2}}}
+
|-
{{!}}-
+
{{#if: {{{group3|}}} | {{!}} style="text-align:center; white-space: nowrap; background:#CCCCFF; padding:0 1em 0 1em;" {{!}} '''{{{group3}}} ''' }}
{{!}} style="text-align:center; white-space: nowrap; background:#CCCCFF; padding:0 1em 0 1em;" {{!}} '''{{{group3}}} '''
+
{{#if: {{{list3|}}} | {{!}} style="width:100%;" {{!}} {{{list3}}} }}
{{!}} style="width:100%;" {{!}} {{{list3}}}
+
|-
{{!}}-
+
{{#if: {{{group4|}}} | {{!}} style="text-align:center; white-space: nowrap; background:#CCCCFF; padding:0 1em 0 1em;" {{!}} '''{{{group4}}}''' }}
{{!}} style="text-align:center; white-space: nowrap; background:#CCCCFF; padding:0 1em 0 1em;" {{!}} '''{{{group4}}}'''
+
{{#if: {{{list4|}}} | {{!}} style="width:100%;" {{!}} {{{list4}}} }}
{{!}} style="width:100%;" {{!}} {{{list4}}}
+
|-
{{!}}-
+
{{#if: {{{group5|}}} | {{!}} style="text-align:center; white-space: nowrap; background:#CCCCFF; padding:0 1em 0 1em;" {{!}} '''{{{group5}}} ''' }}
{{!}} style="text-align:center; white-space: nowrap; background:#CCCCFF; padding:0 1em 0 1em;" {{!}} '''{{{group5}}} '''
+
{{#if: {{{list5|}}} | {{!}} style="width:100%;" {{!}} {{{list5}}} }}
{{!}} style="width:100%;" {{!}} {{{list5}}}
+
|-
{{!}}-
+
{{#if: {{{group6|}}} | {{!}} style="text-align:center; white-space: nowrap; background:#CCCCFF; padding:0 1em 0 1em;" {{!}} '''{{{group6}}}''' }}
{{!}} style="text-align:center; white-space: nowrap; background:#CCCCFF; padding:0 1em 0 1em;" {{!}} '''{{{group6}}}'''
+
{{#if: {{{list6|}}} | {{!}} style="width:100%;" {{!}} {{{list6}}} }}
{{!}} style="width:100%;" {{!}} {{{list6}}}
+
|-
{{!}}-
+
{{#if: {{{group7|}}} | {{!}} style="text-align:center; white-space: nowrap; background:#CCCCFF; padding:0 1em 0 1em;" {{!}} '''{{{group7}}} ''' }}
{{!}} style="text-align:center; white-space: nowrap; background:#CCCCFF; padding:0 1em 0 1em;" {{!}} '''{{{group7}}} '''
+
{{#if: {{{list7|}}} | {{!}} style="width:100%;" {{!}} {{{list7}}} }}
{{!}} style="width:100%;" {{!}} {{{list7}}}
+
|}</onlyinclude>
{{!}}}</onlyinclude>
+
mw-collapsibleを使ったNavbox。本家とはやや異なります。
 +
 
   −
mw-collapsibleを使ったNavbox。本家とはやや異なります。
   
[[カテゴリ:テンプレート]]
 
[[カテゴリ:テンプレート]]