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

提供: miniwiki
移動先:案内検索
ja>Uaauaa
(翻訳する際、テンプレの内容もそのまま移してるようなので、表記も英語版に合わせる。)
 
 
(同じ利用者による、間の8版が非表示)
1行目: 1行目:
<includeonly>{| class="infobox bordered" cellpadding="4" style="width:300px; font-size:95%; border-spacing: 4px;"
+
{| class="toccolours" border="1" cellpadding="4" style="float: right; margin: 0 0 1em 1em; width: 300px; border-collapse: collapse; font-size: 95%; clear: right;"
! {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} {{WPMILHIST Infobox style|header_bar}} | {{{battle_name|{{PAGENAME}}}}}
 
 
|-
 
|-
{{#if:{{{partof|}}}|
+
!colspan="2" style="text-align: center; background:#B0C4DE"|{{{battle_name}}}  
{{!}} {{#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" |'''戦争''': {{{conflict}}}
 
|-
 
|-
|! {{#if:{{{combatant3|}}} | colspan="3" |colspan="2" }} |'''年月日'''{{{date}}}
+
| colspan="2" |'''年月日''': {{{date}}}
 
|-
 
|-
|! {{#if:{{{combatant3|}}} | colspan="3" |colspan="2" }} |'''場所'''{{{place}}}
+
| colspan="2" |'''場所''': {{{place}}}
 
|-
 
|-
|! {{#if:{{{combatant3|}}} | colspan="3" |colspan="2" }} |'''結果'''{{{result}}}
+
| colspan="2" |'''結果''': {{{result}}}
 
|-
 
|-
! {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} style="text-align:center; background:#B0C4DE"|交戦勢力
+
!colspan="2" style="text-align: center; background:#B0C4DE"|交戦勢力
 
|-
 
|-
{{#if:{{{combatant1|}}}{{{combatant2|}}}{{{combatant3|}}} |
+
|width="50%"| {{{combatant1}}}
{{!}} {{#if:{{{combatant2|}}} | {{#if:{{{combatant3|}}} | width="33%" | width="50%" }}  style="border-right: {{WPMILHIST Infobox style|internal_border}}" | colspan="2" style="text-align: center;" }} {{!}} {{{combatant1|}}}
+
|width="50%"| {{{combatant2}}}
{{#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" style="text-align: center; background:#B0C4DE"|戦力
! {{#if:{{{combatant3|}}} | colspan="3" |colspan="2" }} {{WPMILHIST Infobox style|header_bar}} {{!}} 指導者・指揮官
 
}}
 
 
|-
 
|-
{{#if:{{{commander1|}}}{{{commander2|}}}{{{commander3|}}} |
+
|width="50%"| {{{strength1}}}
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="border-right: {{WPMILHIST Infobox style|internal_border}}" {{!}} {{{commander1|}}}
+
|width="50%"| {{{strength2}}}
{{!}} {{#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|}}} |
+
!colspan="2" style="text-align: center; background:#B0C4DE"|損害
! {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} {{WPMILHIST Infobox style|header_bar}} {{!}} 戦力
 
}}
 
 
|-
 
|-
{{#if:{{{strength1|}}}{{{strength2|}}}{{{strength3|}}} |
+
|width="50%"| {{{casualties1}}}
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="border-right: {{WPMILHIST Infobox style|internal_border}}" {{!}} {{{strength1|}}}
+
|width="50%"| {{{casualties2}}}
{{!}} {{#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|}}} |
 
! {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} {{WPMILHIST Infobox style|header_bar}} {{!}} 損害
 
}}
 
|-
 
{{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}} |
 
{{!}} {{#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}}
 
|}</includeonly><noinclude>{{Documentation}}</noinclude>
 

2018/8/5/ (日) 15:25時点における最新版

{{{battle_name}}}
戦争: {{{conflict}}}
年月日: {{{date}}}
場所: {{{place}}}
結果: {{{result}}}
交戦勢力
{{{combatant1}}} {{{combatant2}}}
戦力
{{{strength1}}} {{{strength2}}}
損害
{{{casualties1}}} {{{casualties2}}}