Difference between revisions of "Template:InfoBoxConflict"
(created) |
(1st modification) |
||
Line 1: | Line 1: | ||
{| class='infobox' | {| class='infobox' | ||
+ | |- | ||
+ | | colspan='2' class='infoboxname' | {{{conflict}}} | ||
+ | |- | ||
+ | | colspan='2' | {{{partof}}} | ||
|- | |- | ||
| colspan='2' | {{{image|}}} | | colspan='2' | {{{image|}}} | ||
|- | |- | ||
− | | colspan='2' class=' | + | | colspan='2' class='infoboxheading' | |
− | |- | + | |- class='infoboxrow' |
− | | colspan='2' class='infoboxheading' | ''' | + | | Date || {{{date|}}} |
+ | |- class='infoboxrow' | ||
+ | | Place || {{{place|}}} | ||
+ | |- class='infoboxrow' | ||
+ | | Planet || {{{planet|}}} | ||
+ | |- | ||
+ | | colspan='2' class='infoboxheading' | '''Aggressors''' | ||
|- class='infoboxrow' | |- class='infoboxrow' | ||
− | | | + | | Commander || {{{commander1|}}} |
|- class='infoboxrow' | |- class='infoboxrow' | ||
− | | | + | | Forces || {{{forces1|}}} |
+ | |- | ||
+ | | colspan='2' class='infoboxheading' | '''Opposition''' | ||
+ | |- class='infoboxrow' | ||
+ | | Commander || {{{commander2|}}} | ||
|- class='infoboxrow' | |- class='infoboxrow' | ||
− | | | + | | Forces || {{{forces2|}}} |
+ | |- | ||
+ | | colspan='2' class='infoboxheading' | {{#if:{{{forces3|}}}| | ||
+ | {{!}} '''Additional''' | ||
+ | }} | ||
|- class='infoboxrow' | |- class='infoboxrow' | ||
− | | | + | {{#if:{{{commander3|}}}| |
+ | {{!}} Commander | ||
+ | {{!}} {{{commander3|}}} | ||
+ | }} | ||
|- class='infoboxrow' | |- class='infoboxrow' | ||
− | | | + | {{#if:{{{forces3|}}}| |
+ | {{!}} Forces | ||
+ | {{!}} {{{forces3|}}} | ||
+ | }} | ||
|- | |- | ||
− | | colspan='2' class='infoboxheading' | ''' | + | | colspan='2' class='infoboxheading' | '''Details''' |
− | |- class='infoboxrow' | + | |- class='infoboxrow' |
− | | | + | | Result || {{{result|}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- class='infoboxrow' | |- class='infoboxrow' | ||
− | | | + | | Environment || {{{environment|}}} |
|- class='infoboxrow' | |- class='infoboxrow' | ||
− | {{#if:{{{ | + | {{#if:{{{conditions|}}}| |
− | {{!}} | + | {{!}} Conditions |
− | {{!}} {{{ | + | {{!}} {{{conditions|}}} |
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
Line 71: | Line 57: | ||
Copy and paste the following code into the top of the article, filling the appropriate fields. If a field is unknown, delete it. | Copy and paste the following code into the top of the article, filling the appropriate fields. If a field is unknown, delete it. | ||
<pre><nowiki> | <pre><nowiki> | ||
− | {{ | + | {{InfoBoxConflict |
+ | | conflict = | ||
+ | | partof = | ||
| image = [[Image:*.***|191px]] | | image = [[Image:*.***|191px]] | ||
− | | | + | | date = |
− | | | + | | place = |
− | | | + | | planet = |
− | | | + | | commander1 = |
− | | | + | | forces1 = |
− | | | + | | commander2 = |
− | | | + | | forces2 = |
− | | | + | | commander3 = |
− | | | + | | forces3 = |
− | | | + | | result = |
− | | | + | | environment = |
− | | | + | | conditions = |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
− | + | ||
</noinclude> | </noinclude> | ||
<noinclude> | <noinclude> | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
− | [[Category:Infobox templates| | + | [[Category:Infobox templates|Conflict]] |
</noinclude> | </noinclude> |
Revision as of 09:11, 17 July 2011
{{{conflict}}} | |
{{{partof}}} | |
Date | |
Place | |
Planet | |
Aggressors | |
Commander | |
Forces | |
Opposition | |
Commander | |
Forces | |
Details | |
Result | |
Environment |
Usage instructions
Copy and paste the following code into the top of the article, filling the appropriate fields. If a field is unknown, delete it.
{{InfoBoxConflict | conflict = | partof = | image = [[Image:*.***|191px]] | date = | place = | planet = | commander1 = | forces1 = | commander2 = | forces2 = | commander3 = | forces3 = | result = | environment = | conditions = }}