Template:Battle infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "border-top:1px solid {{{lineBG\|([^\n}]+)}}}; font-size:90%;" to "border-color:{{{lineBG|$1}}};")
m (Text replacement - "px;"" to "px"")
Line 7: Line 7:
{{!}}-|}}
{{!}}-|}}
{{#if:{{{conc|}}}|
{{#if:{{{conc|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; font-size:90%; border-top:1px solid {{{lineBG|#999999}}}; padding: 0 0 0 4px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; font-size:90%; border-top:1px solid {{{lineBG|#999999}}}; padding: 0 0 0 4px" {{!}}
'''{{{conc-title|Concurrent}}}''':
'''{{{conc-title|Concurrent}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; font-size:90%; border-top:1px solid {{{lineBG|#999999}}};" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; font-size:90%; border-top:1px solid {{{lineBG|#999999}}};" {{!}}
Line 13: Line 13:
{{!}}-|}}
{{!}}-|}}
{{#if:{{{next|}}}|
{{#if:{{{next|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; font-size:90%; border-top:1px solid {{{lineBG|#999999}}}; padding: 0 0 0 4px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; font-size:90%; border-top:1px solid {{{lineBG|#999999}}}; padding: 0 0 0 4px" {{!}}
'''{{{next-title|Next}}}''':
'''{{{next-title|Next}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; font-size:90%; border-top:1px solid {{{lineBG|#999999}}};" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; font-size:90%; border-top:1px solid {{{lineBG|#999999}}};" {{!}}
Line 19: Line 19:
{{!}}-|}}
{{!}}-|}}
{{!}}-
{{!}}-
! class="infoboxheading" style="background:{{{nameBG|#7995CA}}}; text-align:center; font-size:120%; color:#ffffff; line-height:22px;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! class="infoboxheading" style="background:{{{nameBG|#7995CA}}}; text-align:center; font-size:120%; color:#ffffff; line-height:22px" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
Line 26: Line 26:
{{!}}-
{{!}}-
{{#if:{{{conflict|}}}|
{{#if:{{{conflict|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; padding: 0 0 0 4px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; padding: 0 0 0 4px" {{!}}
'''{{{conflict-title|Conflict}}}''':
'''{{{conflict-title|Conflict}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}};" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}};" {{!}}
Line 32: Line 32:
{{!}}-}}
{{!}}-}}
{{#if:{{{date|}}}|
{{#if:{{{date|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; padding: 0 0 0 4px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; padding: 0 0 0 4px" {{!}}
'''{{{date-title|Date}}}''':
'''{{{date-title|Date}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}};" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}};" {{!}}
Line 38: Line 38:
{{!}}-}}
{{!}}-}}
{{#if:{{{place|}}}|
{{#if:{{{place|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; padding: 0 0 0 4px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; padding: 0 0 0 4px" {{!}}
'''{{{place-title|Fronts}}}''':
'''{{{place-title|Fronts}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}};" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}};" {{!}}
Line 44: Line 44:
{{!}}-}}
{{!}}-}}
{{#if:{{{result|}}}|
{{#if:{{{result|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; padding: 0 0 0 4px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; padding: 0 0 0 4px" {{!}}
'''{{{result-title|Outcome}}}''':
'''{{{result-title|Outcome}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}};" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}};" {{!}}
Line 120: Line 120:
|}
|}
{{!}}-
{{!}}-
| colspan="2" style="text-align:center; background:transparent; padding:0; font-size:1px; line-height:10px;" | 
| colspan="2" style="text-align:center; background:transparent; padding:0; font-size:1px; line-height:10px" | 
|}<noinclude>
|}<noinclude>
{{Clear}}
{{Clear}}

Revision as of 23:11, September 14, 2022

Battle infobox
 

Usage instructions

Compatible up to four sides. Paste the following code into the top of an article, filling all known fields:

{{Battle infobox
|prev=
|conc=
|next=
|image=
|conflict=
|date=
|place=
|result=
|side1=
|side2=
|side3=
|side4=
|commanders1=
|commanders2=
|commanders3=
|commanders4=
|forces1=
|forces2=
|forces3=
|forces4=
|casual1=
|casual2=
|casual3=
|casual4=
|civilian=
}}