「テンプレート:Navbox」の版間の差分
細編集の要約なし |
(各シリーズのテンプレートにスピリット対戦データ一覧のページ及び項目を追加しようと思ったらマリオシリーズが上限に達していたのでgroup10ができるように…) |
||
| (2人の利用者による、間の6版が非表示) | |||
| 1行目: | 1行目: | ||
<onlyinclude>{| class="toccolours mw-collapsible" style="width: | <onlyinclude>{| class="toccolours mw-collapsible" style="background:transparent;color:inherit;;min-width:100%;border-spacing:2px;border-collapse:separate;" | ||
|- | |- | ||
| colspan=2 style="text-align:center; background:#CCCCFF | | colspan=2 style="text-align:center; background:#CCCCFF;" {{!}} '''{{{title}}}''' | ||
|- | |- | ||
| class="mw-collapsible-content" {{!}} | | class="mw-collapsible-content" {{!}} | ||
|- | |- | ||
{{#if: {{{group1|}}} | | {{#if: {{{group1|}}} | | ||
{{!}} style="text-align:center; white-space: nowrap; background:# | {{!}} style="text-align:center; white-space: nowrap; background:#DDDDFF; padding:0 1em 0 1em;" {{!}} '''{{{group1}}} ''' | ||
{{!}} style="width:100%;" {{!}} {{{list1}}} | | {{!}} style="width:100%;" {{!}} {{{list1}}} | | ||
{{#if: {{{list1|}}} | | {{#if: {{{list1|}}} | | ||
| 14行目: | 14行目: | ||
|- | |- | ||
{{#if: {{{group2|}}} | | {{#if: {{{group2|}}} | | ||
{{!}} style="text-align:center; white-space: nowrap; background:# | {{!}} style="text-align:center; white-space: nowrap; background:#DDDDFF; padding:0 1em 0 1em;" {{!}} '''{{{group2}}} ''' | ||
{{!}} style="width:100%;" {{!}} {{{list2}}} | | {{!}} style="width:100%;" {{!}} {{{list2}}} | | ||
{{#if: {{{list2|}}} | | {{#if: {{{list2|}}} | | ||
| 22行目: | 22行目: | ||
|- | |- | ||
{{#if: {{{group3|}}} | | {{#if: {{{group3|}}} | | ||
{{!}} style="text-align:center; white-space: nowrap; background:# | {{!}} style="text-align:center; white-space: nowrap; background:#DDDDFF; padding:0 1em 0 1em;" {{!}} '''{{{group3}}} ''' | ||
{{!}} style="width:100%;" {{!}} {{{list3}}} | | {{!}} style="width:100%;" {{!}} {{{list3}}} | | ||
{{#if: {{{list3|}}} | | {{#if: {{{list3|}}} | | ||
| 30行目: | 30行目: | ||
|- | |- | ||
{{#if: {{{group4|}}} | | {{#if: {{{group4|}}} | | ||
{{!}} style="text-align:center; white-space: nowrap; background:# | {{!}} style="text-align:center; white-space: nowrap; background:#DDDDFF; padding:0 1em 0 1em;" {{!}} '''{{{group4}}} ''' | ||
{{!}} style="width:100%;" {{!}} {{{list4}}} | | {{!}} style="width:100%;" {{!}} {{{list4}}} | | ||
{{#if: {{{list4|}}} | | {{#if: {{{list4|}}} | | ||
| 38行目: | 38行目: | ||
|- | |- | ||
{{#if: {{{group5|}}} | | {{#if: {{{group5|}}} | | ||
{{!}} style="text-align:center; white-space: nowrap; background:# | {{!}} style="text-align:center; white-space: nowrap; background:#DDDDFF; padding:0 1em 0 1em;" {{!}} '''{{{group5}}} ''' | ||
{{!}} style="width:100%;" {{!}} {{{list5}}} | | {{!}} style="width:100%;" {{!}} {{{list5}}} | | ||
{{#if: {{{list5|}}} | | {{#if: {{{list5|}}} | | ||
| 46行目: | 46行目: | ||
|- | |- | ||
{{#if: {{{group6|}}} | | {{#if: {{{group6|}}} | | ||
{{!}} style="text-align:center; white-space: nowrap; background:# | {{!}} style="text-align:center; white-space: nowrap; background:#DDDDFF; padding:0 1em 0 1em;" {{!}} '''{{{group6}}} ''' | ||
{{!}} style="width:100%;" {{!}} {{{list6}}} | | {{!}} style="width:100%;" {{!}} {{{list6}}} | | ||
{{#if: {{{list6|}}} | | {{#if: {{{list6|}}} | | ||
| 54行目: | 54行目: | ||
|- | |- | ||
{{#if: {{{group7|}}} | | {{#if: {{{group7|}}} | | ||
{{!}} style="text-align:center; white-space: nowrap; background:# | {{!}} style="text-align:center; white-space: nowrap; background:#DDDDFF; padding:0 1em 0 1em;" {{!}} '''{{{group7}}} ''' | ||
{{!}} style="width:100%;" {{!}} {{{list7}}} | | {{!}} style="width:100%;" {{!}} {{{list7}}} | | ||
{{#if: {{{list7|}}} | | {{#if: {{{list7|}}} | | ||
{{!}} colspan=2 style="width:100%; text-align:center;" {{!}} {{{list7}}} | {{!}} colspan=2 style="width:100%; text-align:center;" {{!}} {{{list7}}} | ||
}} | |||
}} | |||
|- | |||
{{#if: {{{group8|}}} | | |||
{{!}} style="text-align:center; white-space: nowrap; background:#DDDDFF; padding:0 1em 0 1em;" {{!}} '''{{{group8}}} ''' | |||
{{!}} style="width:100%;" {{!}} {{{list8}}} | | |||
{{#if: {{{list8|}}} | | |||
{{!}} colspan=2 style="width:100%; text-align:center;" {{!}} {{{list8}}} | |||
}} | |||
}} | |||
|- | |||
{{#if: {{{group9|}}} | | |||
{{!}} style="text-align:center; white-space: nowrap; background:#DDDDFF; padding:0 1em 0 1em;" {{!}} '''{{{group9}}} ''' | |||
{{!}} style="width:100%;" {{!}} {{{list9}}} | | |||
{{#if: {{{list9|}}} | | |||
{{!}} colspan=2 style="width:100%; text-align:center;" {{!}} {{{list9}}} | |||
}} | |||
}} | |||
|- | |||
{{#if: {{{group10|}}} | | |||
{{!}} style="text-align:center; white-space: nowrap; background:#DDDDFF; padding:0 1em 0 1em;" {{!}} '''{{{group10}}} ''' | |||
{{!}} style="width:100%;" {{!}} {{{list10}}} | | |||
{{#if: {{{list10|}}} | | |||
{{!}} colspan=2 style="width:100%; text-align:center;" {{!}} {{{list10}}} | |||
}} | }} | ||
}} | }} | ||
| 80行目: | 104行目: | ||
|list2=リスト2 | |list2=リスト2 | ||
}} | }} | ||
グループ・リストは現在10個まで可能。11個以上必要になったらこのテンプレートのソースを編集してください。 | |||
| 96行目: | 120行目: | ||
}} | }} | ||
[[カテゴリ:テンプレート]][[カテゴリ:Navboxを使ったテンプレート]] | [[カテゴリ:テンプレート]][[カテゴリ:Navboxを使ったテンプレート|*T]] | ||
2019年9月24日 (火) 22:19時点における最新版
| {{{title}}} | |
mw-collapsibleを使ったNavbox。本家とはやや異なります。
使用方法
{{navbox
|title=タイトル
|group1=グループ1
|list1=リスト1
|group2=グループ2
|list2=リスト2
}}
| タイトル | |
| グループ1 | リスト1 |
| グループ2 | リスト2 |
グループ・リストは現在10個まで可能。11個以上必要になったらこのテンプレートのソースを編集してください。
グループを記入しないことも可能。
{{navbox
|title=タイトル
|list1=リスト1
}}
| タイトル | |
| リスト1 | |