Template:War: Difference between revisions

Jump to navigation Jump to search
fandom>PineApple1298
m (1 revision: Improved War Template Base (taken from Game Of Thrones wiki))
fandom>PineApple1298
No edit summary
Line 9: Line 9:
<data source="begin"><label>Beginning</label></data>
<data source="begin"><label>Beginning</label></data>
<data source="end"><label>End</label></data>
<data source="end"><label>End</label></data>
<data source="place"><label>Place:</label></data>
<data source="result"><label>Outcome:</label></data>
<data source="result"><label>Outcome:</label></data>
<group layout="horizontal">
<group layout="horizontal">
    <header>Combatants</header>
    <header>Belligerents</header>
<data source="side1"/>
<data source="side1"/>
<data source="side2"/>
<data source="side2"/>
Line 21: Line 20:
</group>
</group>
<group layout="horizontal">
<group layout="horizontal">
    <header>Commanders</header>
    <header>Leaders</header>
<data source="commanders1"/>
<data source="leaders1"/>
<data source="commanders2"/>
<data source="leaders2"/>
<data source="commanders3"/>
<data source="leaders3"/>
<data source="commanders4"/>
<data source="leaders4"/>
<data source="commanders5"/>
<data source="leaders5"/>
<data source="commanders6"/>
<data source="leaders6"/>
</group>
</group>
<data source="battles"><label>Battles</label></data>
<data source="battles"><label>Battles</label></data>
Line 49: Line 48:
|begin=test
|begin=test
|end=test
|end=test
|place=test
|result=test
|result=test
|battles=test
|battles=test
Line 56: Line 54:
|side3=test
|side3=test
|side4=test
|side4=test
|commanders1=test
|leaders1=test
|commanders2=test
|leaders2=test
|commanders3=test
|leaders3=test
|commanders4=test
|leaders4=test
}}
}}
</nowiki></pre>
</nowiki></pre>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
<includeonly>[[Category:Wars]]</includeonly>

Revision as of 19:05, 14 August 2020


This template is used for wars. For Battles, use Template:Battle.

Usage instruction

This template automatically adds and category: Wars to a page on which it is used.

Usage

To use this template, paste the following code into the top of the article, filling all relevant fields:

{{War
|previous=test
|conc= test
|next=test
|name=test
|image=test
|begin=test
|end=test
|result=test
|battles=test
|side1=test
|side2=test
|side3=test
|side4=test
|leaders1=test
|leaders2=test
|leaders3=test
|leaders4=test
}}