「テンプレート:Battlebox」の版間の差分

提供: miniwiki
移動先:案内検索
(1版 をインポートしました)
1行目: 1行目:
<includeonly>{| class="infobox bordered" cellpadding="4" style="width:300px; font-size:95%; border-spacing: 4px;"
+
{| border="1" cellpadding="3" style="width: 300px; float: right; margin: 0 0 1em 1em; border-collapse: collapse;"
! {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} {{WPMILHIST Infobox style|header_bar}} | {{{battle_name|{{PAGENAME}}}}}
 
 
|-
 
|-
{{#if:{{{partof|}}}|
+
|colspan="2" style="text-align: center;"|{{{image}}}
{{!}} {{#if:{{{combatant3|}}}|colspan="3"|colspan="2"}} {{WPMILHIST Infobox style|header_bar}} {{!}} {{{partof}}}中
 
{{!}}-
 
}}
 
{{#if:{{{image|}}} |
 
{{!}} {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} {{WPMILHIST Infobox style|image_box}} {{!}} {{{image|}}}<br/>{{{caption|}}}
 
}}
 
 
|-
 
|-
|! {{#if:{{{combatant3|}}} | colspan="3" |colspan="2" }} |'''戦争''':{{{conflict}}}
+
|colspan="2" style="font-size:90%;text-align:center;"|{{{caption}}}
 
|-
 
|-
|! {{#if:{{{combatant3|}}} | colspan="3" |colspan="2" }} |'''年月日''':{{{date}}}
+
!colspan=2 style="{{{colour_scheme}}}"|{{{battle_name}}}
 
|-
 
|-
|! {{#if:{{{combatant3|}}} | colspan="3" |colspan="2" }} |'''場所'''{{{place}}}
+
|'''戦争'''||{{{conflict}}}
 
|-
 
|-
|! {{#if:{{{combatant3|}}} | colspan="3" |colspan="2" }} |'''結果'''{{{result}}}
+
|'''年月日'''||{{{date}}}
 
|-
 
|-
! {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} style="text-align:center; background:#B0C4DE"|交戦勢力
+
|'''場所'''||{{{place}}}
 
|-
 
|-
{{#if:{{{combatant1|}}}{{{combatant2|}}}{{{combatant3|}}} |
+
|'''結果'''||{{{result}}}
{{!}} {{#if:{{{combatant2|}}} | {{#if:{{{combatant3|}}} | width="33%" | width="50%" }}  style="border-right: {{WPMILHIST Infobox style|internal_border}}" | colspan="2" style="text-align: center;" }} {{!}} {{{combatant1|}}}
 
{{#if:{{{combatant2|}}} |
 
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="padding-left: 0.25em;" {{!}} {{{combatant2|}}}
 
}}
 
{{#if:{{{combatant3|}}} |
 
{{!}} width="33%" style="border-left: {{WPMILHIST Infobox style|internal_border}} padding-left: 0.25em;" {{!}} {{{combatant3|}}}
 
}}}}
 
 
|-
 
|-
{{#if:{{{commander1|}}}{{{commander2|}}}{{{commander3|}}} |
+
|colspan=2|
! {{#if:{{{combatant3|}}} | colspan="3" |colspan="2" }} {{WPMILHIST Infobox style|header_bar}} {{!}} 指導者・指揮官
+
{| border="1" cellpadding="3" style="width: 100%; border-collapse: collapse; background: none;"
}}
 
 
|-
 
|-
{{#if:{{{commander1|}}}{{{commander2|}}}{{{commander3|}}} |
+
!colspan="2" style="{{{colour_scheme}}}"|交戦国
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="border-right: {{WPMILHIST Infobox style|internal_border}}" {{!}} {{{commander1|}}}
 
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="padding-left: 0.25em;" {{!}} {{{commander2|}}}
 
{{#if:{{{combatant3|}}} |
 
{{!}} width="33%" style="border-left: {{WPMILHIST Infobox style|internal_border}} padding-left: 0.25em;" {{!}} {{{commander3|}}}
 
}}}}
 
 
|-
 
|-
{{#if:{{{strength1|}}}{{{strength2|}}}{{{strength3|}}} |
+
| style="width: 50%;" |{{{combatant1}}}
! {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} {{WPMILHIST Infobox style|header_bar}} {{!}} 戦力
+
| style="width: 50%;" |{{{combatant2}}}
}}
 
 
|-
 
|-
{{#if:{{{strength1|}}}{{{strength2|}}}{{{strength3|}}} |
+
!colspan="2" style="{{{colour_scheme}}}"|指揮官
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="border-right: {{WPMILHIST Infobox style|internal_border}}" {{!}} {{{strength1|}}}
 
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="padding-left: 0.25em;" {{!}} {{{strength2|}}}
 
{{#if:{{{combatant3|}}} |
 
{{!}} width="33%" style="border-left: {{WPMILHIST Infobox style|internal_border}} padding-left: 0.25em;" {{!}} {{{strength3|}}}
 
}}}}
 
 
|-
 
|-
{{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}} |
+
|{{{commander1}}}
! {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} {{WPMILHIST Infobox style|header_bar}} {{!}} 損害
+
|{{{commander2}}}
}}
 
 
|-
 
|-
{{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}} |
+
!colspan="2" style="{{{colour_scheme}}}"|戦力
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="border-right: {{WPMILHIST Infobox style|internal_border}}" {{!}} {{{casualties1|}}}
 
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="padding-left: 0.25em;" {{!}} {{{casualties2|}}}
 
{{#if:{{{combatant3|}}} |
 
{{!}} width="33%" style="border-left: {{WPMILHIST Infobox style|internal_border}} padding-left: 0.25em;" {{!}} {{{casualties3|}}}
 
}}}}
 
{{#if:{{{campaign|}}}|
 
{{#if:{{{combatant3|}}}|{{Battlebox/nested|{{{campaign}}}|combatant3=y}}|{{Battlebox/nested|{{{campaign}}}}}}}}}
 
 
|-
 
|-
|colspan="2" style="text-align: right" |{{Tnavbar|Battlebox|viewplain=1}}
+
|{{{strength1}}}
|}</includeonly><noinclude>{{Documentation}}</noinclude>
+
|{{{strength2}}}
 +
|-
 +
!colspan="2" style="{{{colour_scheme}}}"|損害
 +
|-
 +
|{{{casualties1}}}
 +
|{{{casualties2}}}
 +
|}
 +
|-
 +
|colspan="2"|
 +
{{Campaignbox {{{campaign}}}}}
 +
|}

2018/8/2/ (木) 10:23時点における版

{{{image}}}
{{{caption}}}
{{{battle_name}}}
戦争 {{{conflict}}}
年月日 {{{date}}}
場所 {{{place}}}
結果 {{{result}}}
交戦国
{{{combatant1}}} {{{combatant2}}}
指揮官
{{{commander1}}} {{{commander2}}}
戦力
{{{strength1}}} {{{strength2}}}
損害
{{{casualties1}}} {{{casualties2}}}

{{Campaignbox {{{campaign}}}}}