Template talk:Infobox Event or Conflict: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(reply)
No edit summary
Line 193: Line 193:
:*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.  
:*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)
: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)
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:300px; background:Peachpuff; border-collapse:collapse; border:1px solid #FF0000; 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:Peachpuff; border-collapse:collapse;">
{{t|1=<tr style="text-align;left; color#FF0000; spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#FF0000}}};"><td colspan="2" style="padding:0; border-bottom: 1px solid red;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#FF0000}}}; vertical-align:top;"><td>'''Previous''':</td><td class="infoboxcell" style="width:100%;">
{{{prev}}}
</td></tr></table>
</td></tr>|1{{{prev|}}}=}}
{{t|1=<tr style="text-align;left; color:#ffffff; spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#FF0000}}};"><td colspan="2" style="padding:0; border-bottom: 1px solid red;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#FF0000}}}; vertical-align:top;"><td>'''Concurrent''':</td><td class="infoboxcell" style="width:100%;">
{{{conc}}}
</td></tr></table>
</td></tr>|1{{{conc|}}}=}}
{{t|1=<tr style="text-align;left; color:#ffffff; spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#FF0000}}};"><td colspan="2" style="padding:0; border-bottom: 1px solid red;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#FF0000}}}; 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|#FF0000}}}; font-size:larger;"><th colspan="2">{{{name}}}</th></tr>
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{c2|#000033}}};">{{{image|}}}</td></tr>
<tr style="text-align;left; color:#ffffff; spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#FF0000}}};"><td colspan="2" style="padding:0; border-top: 1px solid red; border-bottom: 1px solid red9;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#3B444B}}}; vertical-align:top;"><td>'''Conflict''':</td><td class="infoboxcell" style="width:100%;">
{{{conflict}}}
</td></tr></table>
</td></tr>
<tr style="text-align;left; color:#ffffff; spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid red; border-bottom: 1px solid red;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#3B444B}}}; vertical-align:top;"><td>'''Date''':</td><td class="infoboxcell" style="width:100%;">
{{{date}}}
</td></tr></table>
</td></tr>
<tr style="text-align;left; color:#ffffff; spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid red; border-bottom: 1px solid red;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#3B444B}}}; vertical-align:top;"><td>'''Location''':</td><td class="infoboxcell" style="width:100%;">
{{{location}}}
</td></tr></table>
</td></tr>
<tr style="text-align;left; color:#ffffff; spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid red; border-bottom: 1px solid red;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#3B444B}}}; 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|#000033}}};">'''Side'''</th></tr>
<tr style="text-align;left; color:#ffffff; spacing-top:0px; spacing-bottom:0px; vertical-align:top; text-align:center; background:{{{c3|#3B444B}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid red; border-bottom: 1px solid red; border-right: 1px solid red;">
{{{side1}}}
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid red; border-bottom: 1px solid red;">
{{{side2}}}
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#000033}}};">'''Commanders'''</th></tr>
<tr style="text-align;left; color:#ffffff; spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#3B444B}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid red; border-bottom: 1px solid red; border-right: 1px solid red;">
{{{commanders1}}}
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid red; border-bottom: 1px solid red;">
{{{commanders2}}}
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#000033}}};">'''Strength'''</th></tr>
<tr style="text-align;left; color:#ffffff; spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#3B444B}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid red; border-bottom: 1px solid red; border-right: 1px solid red;">
{{{strength1}}}
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid red; border-bottom: 1px solid red;">
{{{strength2}}}
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#000033}}};">'''Casualties'''</th></tr>
<tr style="text-align;left; color:#ffffff; spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#3B444B}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid red; border-bottom: 1px solid red; border-right: 1px solid red;">
{{{casual1}}}
</td><td class="infoboxcell" width="33%" style="border-top: 1px solid red; border-bottom: 1px solid red;">
{{{casual2}}}
How about this? --[[User:MrThermomanPreacher|MrThermomanPreacher]] 15:30, February 12, 2011 (UTC)

Revision as of 15:30, 12 February 2011

Template:TTemplate:TTemplate:TTemplate:T
{{{name}}}
Beginning:

{{{begin}}}

End:

{{{end}}}

Place:

{{{place}}}

Outcome:

{{{result}}}

Combatants

{{{side1}}}

{{{side2}}}

Commanders

{{{commanders1}}}

{{{commanders2}}}

  [Source]

Field list

  • previous (collapsible)
  • conc (collapsible)
  • next (collapsible)
  • name
  • image
  • begin
  • end
  • place
  • result
  • battles (collapsible)
  • side1
  • side2
  • commanders1
  • commanders2

Usage

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

{{Infobox Conflict
|previous=
|conc=
|next=
|name=
|image=
|begin=
|end=
|place=
|result=
|battles=
|side1=
|side2=
|commanders1=
|commanders2=
}}







Why not use somat like this? it separates the Sides so you don't get confused

Revised Template

Template:TTemplate:TTemplate:T
{{{name}}}
Conflict:

{{{conflict}}}

Date:

{{{date}}}

Place:

{{{place}}}

Outcome:

{{{result}}}

Combatants

{{{side1}}}

{{{side2}}}

Commanders

{{{commanders1}}}

{{{commanders2}}}

Strength

{{{forces1}}}

{{{forces2}}}

Casualties

{{{casual1}}}

{{{casual2}}}

  [Source]


Usage

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

{{Infobox Conflict
|prev=
|conc=
|next=
|name=
|image=
|conflict=
|date=
|place=
|result=
|side1=
|side2=
|commanders1=
|commanders2=
|forces1=
|forces2=
|casual1=
|casual2=
}}

How about this?--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. --Tangerineduel 14:32, August 4, 2010 (UTC)
Template:TTemplate:TTemplate:T
{{{name}}}
Conflict:

{{{conflict}}}

Date:

{{{date}}}

Location:

{{{location}}}

Outcome:

{{{result}}}

Side

{{{side1}}}

{{{side2}}}

Commanders

{{{commanders1}}}

{{{commanders2}}}

Strength

{{{strength1}}}

{{{strength2}}}

Casualties

{{{casual1}}}

{{{casual2}}}

How about this? --MrThermomanPreacher 15:30, February 12, 2011 (UTC)