Welcome to Assassin's Creed Wiki! Log in and join the community.

Template:War Infobox: Difference between revisions

From the Assassin's Creed Wiki
Jump to navigation Jump to search
imported>Cyanide3
No edit summary
imported>Darman36
Moving "Concurrent" to new line
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<infobox>
<infobox>
         <group row-items="3">
         <group row-items="2">
    <data source="previous"><label>Previous</label></data>
    <data source="prev"><label>Previous</label></data>
    <data source="conc"><label>Concurrent</label></data>
    <data source="next"><label>Next</label></data>
    <data source="next"><label>Next</label></data>
</group>
<group row-items="2">
<data source="conc"><label>Concurrent</label></data>
</group>
</group>
     <title source="name"><default>{{PAGENAME}}</default></title>
     <title source="name"><default>{{PAGENAME}}</default></title>
Line 14: Line 16:
    <data source="battles"><label>Major battles</label></data>
    <data source="battles"><label>Major battles</label></data>
</group>
</group>
<group>
<group row-items="4">
    <header>Combatants</header>
    <header>Combatants</header>
        <data source="side1"/>
        <data source="side1"/>
Line 21: Line 23:
        <data source="side4"/>
        <data source="side4"/>
</group>
</group>
<group>
<group row-items="4">
    <header>Commanders</header>
    <header>Commanders</header>
        <data source="commanders1"/>
        <data source="commanders1"/>
Line 28: Line 30:
        <data source="commanders4"/>
        <data source="commanders4"/>
</group>
</group>
</infobox>
</infobox><noinclude>{{Clear}}{{documentation}}</noinclude>
<noinclude>
For battles, use [[Template:Battle Infobox|Template:Battle]].
 
For wars or other conflicts, use [[Template:War]].
 
For missions, use [[Template:Mission]].
 
For duels, use [[Template:Duel]].
 
For campaigns, use [[Template:Campaign]].
 
For general events, use [[Template:Event]].
{{clear}}
 
===Usage===
To use this template, paste the following code into the top of the article, filling all relevant fields:
<pre><nowiki>{{War
|width=
|previous=
|conc=
|next=
|name=
|imageBG=
|image=
|begin=
|end=
|place=
|result=
|battles=
|BG2=
|side1=
|side2=
|side3=
|side4=
|commanders1=
|commanders2=
|commanders3=
|commanders4=}}
</nowiki></pre>
 
===Display parameters===
These additional parameters may also be added to the template:
*width (defaults to 300px)
*imageBG
*BG2
 
<center><div style="border:1px solid; padding: 3px 0px; background: white"><small>The contents of this page were based partially or completely from a [http://starwars.wikia.com/wiki/Template:War similar] at [http://starwars.wikia.com/wiki/Main_Page Wookiepedia.]</small></div>
 
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 16:50, 20 December 2021

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:War_Infobox/doc to edit this documentation. (How does this work?)
Description
For battles, use Template:Battle Infobox.
For wars or other conflicts, use Template:War Infobox.
For missions, use Template:Mission Infobox.
For general events, use Template:Event Infobox.
Syntax

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

{{War Infobox
|prev = 
|conc = 
|next = 
|name = 
|image = 
|begin = 
|end = 
|place = 
|result = 
|battles = 
|side1 = 
|side2 = 
|side3 = 
|side4 = 
|commanders1 = 
|commanders2 = 
|commanders3 = 
|commanders4 = 
}}

The contents of this page were based partially or completely from a similar at Wookiepedia.