Template: Battlebox collapsible: Difference between revisions

From A Wiki of Ice and Fire
Jump to: navigation, search
Rhaenys Targaryen (talk | contribs)
Created page with "{{Infobox | above = {{{battle_name<includeonly>|{{PAGENAME}}</includeonly>}}} | abovestyle = background: #B0C4DE; text-align:center; | image = {{{image|Image:..."
 
Replay approved MediaWiki 1.46 staging modernization
 
Line 1: Line 1:
{{Infobox  
{{Infobox  
| bodyclass    = awoiaf-infobox awoiaf-infobox-battle awoiaf-infobox-battle-collapsible
| above        = {{{battle_name<includeonly>|{{PAGENAME}}</includeonly>}}}  
| above        = {{{battle_name<includeonly>|{{PAGENAME}}</includeonly>}}}  
| abovestyle    = background: #B0C4DE; text-align:center;  
| abovestyle    = background: #B0C4DE; text-align:center;  

Latest revision as of 21:05, 18 September 2026

{{{battle_name}}}
{{{caption}}}
Conflict {{{conflict}}}
Date {{{date}}}
Place {{{place}}}
Result {{{result}}}
Combatants
{{{combatant1}}} {{{combatant2}}}
Commanders
{{{commander1}}} {{{commander2}}}

This template is a variation on {{Battlebox}}. It contains the option of collapsing the strength and casualties sections, for battles where these two sections contain a lot of information, so the page will not look cluttered.


Usage

[edit]
{{Battlebox collapsible
| image       = 
| caption     =
| battle_name =
| conflict    =
| date        =  {{Date|xxx}}
| place	      =
| result      =
| combatant1  =
| combatant2  =
| commander1  =
| commander2  =
| strength1   =
| strength2   =
| casualties1 =
| casualties2 =
| combatant1  =
| combatant2  =
| commander1  =
| commander2  =
| strength1   =
| strength2   =
| casualties1 =
| casualties2 =
}}


Note:Parameters which get no value are not shown when the template is used.
you can see a preview on your right side.