Template talk:Infobox Event or Conflict: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(reply)
No edit summary
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:300px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;">
{{ArchCat}}
<tr><td colspan="2"><div id="infoboxinternal">
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:300px; background:#ffffff; border-collapse:collapse;">
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Previous''':</td><td class="infoboxcell" style="width:100%;">
{{{previous}}}
</td></tr></table>
</td></tr>|1{{{previous|}}}=}}
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Concurrent''':</td><td class="infoboxcell" style="width:100%;">
{{{conc}}}
</td></tr></table>
</td></tr>|1{{{conc|}}}=}}
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Next''':</td><td class="infoboxcell" style="width:100%;">
{{{next}}}
</td></tr></table>
</td></tr>|1{{{next|}}}=}}
<tr style="text-align:center; color:#ffffff; background:{{{c1|#7995CA}}}; font-size:larger;"><th colspan="2">{{{name}}}</th></tr>
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{c2|#B4C5E3}}};">{{{image|}}}</td></tr>
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: top; background:{{{c3|#F0F0F0}}};"><td style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align: top;"><td>'''Beginning''':</td><td class="infoboxcell" style="width:100%;">
{{{begin}}}
</td></tr></table>
</td><td style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align: top;"><td>'''End''':</td><td class="infoboxcell" style="width:100%;">
{{{end}}}
</td></tr></table>
</td></tr>
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Place''':</td><td class="infoboxcell" style="width:100%;">
{{{place}}}
</td></tr></table>
</td></tr>
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Outcome''':</td><td class="infoboxcell" style="width:100%;">
{{{result}}}
</td></tr></table>
</td></tr>
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Major&nbsp;battles''':</td><td class="infoboxcell" style="width:100%;">
{{{battles}}}
</td></tr></table>
</td></tr>|1{{{battles|}}}=}}
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#B4C5E3}}};">'''Combatants'''</th></tr>
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; text-align:center; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
{{{side1}}}
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
{{{side2}}}
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#B4C5E3}}};">'''Commanders'''</th></tr>
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
{{{commanders1}}}
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
{{{commanders2}}}
</td></tr>
</table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template talk:Infobox Conflict|[Source]]]</td></tr></table><noinclude>


===Field list===
== Timeline variables ==
*previous (collapsible)
*conc (collapsible)
*next (collapsible)
*name
*image
*begin
*end
*place
*result
*battles (collapsible)
*side1
*side2
*commanders1
*commanders2


===Usage===
Hereby requesting that this infobox be edited to allow for "Previous", "Concurrent" and "Next" variables as seen on [https://starwars.fandom.com/wiki/Template:Battle?so=search Wookieepedia]. I believe that this would be useful for a great many existing conflict pages. [[User:MrThermomanPreacher|MrThermomanPreacher]] [[User talk:MrThermomanPreacher|<span title="Talk to me"></span>]] 14:17, 21 September 2022 (UTC)
To use this template, paste the following code into the top of the article, filling all relevant fields:
<pre><nowiki>
{{Infobox Conflict
|previous=
|conc=
|next=
|name=
|image=
|begin=
|end=
|place=
|result=
|battles=
|side1=
|side2=
|commanders1=
|commanders2=
}}
</nowiki></pre>
</noinclude>


== Category ==


 
: Can someone add a category to this, using <nowiki><noinclude></nowiki>? {{User:Gingerfool/Sig}} 15:20, 22 July 2024 (UTC)
 
:: Done. [[User:Bongolium500|<span title="aka Bongolium500">Bongo50</span>]] [[User talk:Bongolium500|]] 16:13, 30 July 2024 (UTC)
 
 
 
 
 
 
 
Why not use somat like this? it separates the Sides so you don't get confused
 
== Revised Template ==
 
{|border="0" cellpadding="0" cellspacing="0" width="100%" align="center" valign="top" class="noprint"
|}
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:300px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;"><tr><td colspan="2"><div id="infoboxinternal">
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:300px; background:#ffffff; border-collapse:collapse;">
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Previous''':</td><td class="infoboxcell" style="width:100%;">
{{{prev}}}
</td></tr></table>
</td></tr>|1{{{prev|}}}=}}
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Concurrent''':</td><td class="infoboxcell" style="width:100%;">
{{{conc}}}
</td></tr></table>
</td></tr>|1{{{conc|}}}=}}
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Next''':</td><td class="infoboxcell" style="width:100%;">
{{{next}}}
</td></tr></table>
</td></tr>|1{{{next|}}}=}}
<tr style="text-align:center; color:#ffffff; background:{{{c1|#7995CA}}}; font-size:larger;"><th colspan="2">{{{name}}}</th></tr>
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{c2|#B4C5E3}}};">{{{image|}}}</td></tr>
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Conflict''':</td><td class="infoboxcell" style="width:100%;">
{{{conflict}}}
</td></tr></table>
</td></tr>
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Date''':</td><td class="infoboxcell" style="width:100%;">
{{{date}}}
</td></tr></table>
</td></tr>
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Place''':</td><td class="infoboxcell" style="width:100%;">
{{{place}}}
</td></tr></table>
</td></tr>
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Outcome''':</td><td class="infoboxcell" style="width:100%;">
{{{result}}}
</td></tr></table>
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#B4C5E3}}};">'''Combatants'''</th></tr>
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; text-align:left; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
{{{side1}}}
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
{{{side2}}}
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#B4C5E3}}};">'''Commanders'''</th></tr>
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
{{{commanders1}}}
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
{{{commanders2}}}
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#B4C5E3}}};">'''Strength'''</th></tr>
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
{{{forces1}}}
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
{{{forces2}}}
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#B4C5E3}}};">'''Casualties'''</th></tr>
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
{{{casual1}}}
</td><td class="infoboxcell" width="33%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
{{{casual2}}}
</td></tr></table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template:Battle|[Source]]]</td></tr></table><noinclude>
 
 
==Usage==
To use this template, paste the following code into the top of the article, filling all relevant fields:
<pre><nowiki>
{{Infobox Conflict
|prev=
|conc=
|next=
|name=
|image=
|conflict=
|date=
|place=
|result=
|side1=
|side2=
|commanders1=
|commanders2=
|forces1=
|forces2=
|casual1=
|casual2=
}}
</nowiki></pre>[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
How about this?--[[User:MrThermomanPreacher|MrThermomanPreacher]] 14:14, August 4, 2010 (UTC)
 
:Looks good, I'd suggest just a few (minor) changes.
:*Change place to location (allows for greater application) it's also more...'the location of the conflict' sounds more correct than 'the place of the conflict'.
:*Keep what's in the infobox and what's used in the fields consistent (if it's outcome in the infobox, use outcome in the fields etc) it makes ''a lot'' more sense when users are filling it out. Also I'd rather have 'casualties1', rather than it being abbreviated, again just a logic thing.
:*Get rid of the source link at the bottom (not consistent with our other infoboxes)
:*Change the colour of the infobox, bluey-grey is a little too similar (thematically) to the infobox Object and vaguely to the TV infoboxes. It can just be the red we've got now, or another colour.
:Also is this infobox a little wider than the infoboxes we've got currently? It would be preferable to keep it consistent with other infoboxes used throughout the wiki. Thanks. --[[User:Tangerineduel|Tangerineduel]] 14:32, August 4, 2010 (UTC)

Latest revision as of 16:13, 30 July 2024

Archive.png
Archives: #1

Timeline variables[[edit source]]

Hereby requesting that this infobox be edited to allow for "Previous", "Concurrent" and "Next" variables as seen on Wookieepedia. I believe that this would be useful for a great many existing conflict pages. MrThermomanPreacher 14:17, 21 September 2022 (UTC)

Category[[edit source]]

Can someone add a category to this, using <noinclude>? SID'gingerfool'RAT - 🔎 |📂|📝 15:20, 22 July 2024 (UTC)
Done. Bongo50 16:13, 30 July 2024 (UTC)