Difference between revisions of "Template:Battle Report Message"

From BattleMaster Wiki
Jump to navigation Jump to search
m
(updated to look more like in-game messages and use men instead of CS)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{|Border="0" Style="Background:#002030;Width:100%;Color:White;"
+
<p style="background: #002030; width: 100%; color: white; border: 0; font: larger serif; padding: 2px;">
|-
+
<span style="font-size: larger; font-weight: bold; text-decoration: underline;">Battle in {{{Where}}}</span>
|<font size="+2"><b>Battle in {{{Where}}}</b></font> <font size="-1"><i>({{{Time}}})</i></font>
+
{{#if: {{{Time|}}} | <span style="font-size: smaller; font-style: italic;">({{{Time}}})<span>}}<br />
|-
+
{{{Attackers}}} vs. {{{Defenders}}}<br />
|{{{Attackers}}} vs. {{{Defenders}}}
+
{{#if {{{Attacker CS|}}} | Estimated combat strengths: {{{Attacker CS}}} CS vs. {{{Defender CS}}} CS | Estimated strengths: {{{Attacker Troops}}} men vs. {{{Defender Troops}}} men}}<br />
|-
+
{{{Notes}}}<br />
|Estimated combat strengths: {{{Attacker CS}}} CS vs. {{{Defender CS}}} CS
+
<br />
|-
+
{{Battle Report Message/{{{Winner}}}}}
|{{{Notes}}}
+
</p>
|-
 
|<br>{{Battle Report Message/{{{Winner}}}}}
 
|}
 
 
</includeonly>
 
</includeonly>
<noinclude>
+
<noinclude>{{Documentation}}
__NOTOC__
+
[[Category:Utility Templates|{{PAGENAME}}]]</noinclude>
===What is it?===
 
A little template I threw together for the messages your character gets when their realm was involved in a battle.  It should hopefully look almost identical to the message in-game. 
 
<br><hr>
 
===Examples===
 
{{Battle Report Message
 
|Where=Dark Citadel
 
|Time=14 days, 1 hour ago
 
|Attackers=Wetham
 
|Defenders=Assassins
 
|Attacker CS=5000
 
|Defender CS=2000
 
|Notes=Sir Boswick Biggie, Arch Priest of Wetham is spotted wearing a pink dress.
 
|Winner=Defender
 
}}
 
 
 
{|Border="0" Style="Background:#002030;Width:100%;Color:White;"
 
|-
 
|<font size="+2"><b>Battle in {{{Where}}}</b></font> <font size="-1"><i>({{{Time}}})</i></font>
 
|-
 
|{{{Attackers}}} vs. {{{Defenders}}}
 
|-
 
|Estimated combat strengths: {{{Attacker CS}}} CS vs. {{{Defender CS}}} CS
 
|-
 
|{{{Notes}}}
 
|-
 
|<br>{{Battle Report Message/{{{Winner}}}}}
 
|}
 
<br><hr>
 
===Code:===
 
<pre>
 
{{Battle Report Message
 
|Where=
 
|Time=
 
|Attackers=
 
|Defenders=
 
|Attacker CS=
 
|Defender CS=
 
|Notes=
 
|Winner=
 
}}</pre>
 
<br><hr>
 
===Parameters, and what they mean===
 
 
 
{|Border="1"
 
|-
 
|<b>Parameter</b>||<b>Meaning</b>
 
|-
 
|<b>Where:</b>||Where was the battle fought?
 
|-
 
|<b>Time:</b>||Time/Date of battle, or number of days ago.  Do not put in parentheses.
 
|-
 
|<b>Attackers:</b>||The attacking realm(s). Make sure if there are multiple realms to separate them with commas.
 
|-
 
|<b>Defenders:</b>||The defending realm(s).
 
|-
 
|<b>Attacker CS:</b>||The combat strength of the attackers.  Don't add "CS" to the end, it will be added for you.
 
|-
 
|<b>Defender CS:</b>||The combat strength of the defenders.
 
|-
 
|<b>Notes</b>||Someone was wounded, spotted with unique item, killed, captured, etc.
 
|-
 
|<b>Winner</b>||Must be either "Attacker", "Defender", or "Neither".
 
|}
 
<br><hr>
 
===Subpages===
 
These are for editing the template. <br>
 
[[Template:Battle Report Message/Attacker]]<br>
 
[[Template:Battle Report Message/Defender]]<br>
 
[[Template:Battle Report Message/Neither]]
 
<br><br><hr>
 
 
 
I hope this helps someone out........
 
[[User:Simon|Simon]] 08:28, 13 October 2007 (CEST)
 
</noinclude>
 

Revision as of 18:41, 1 March 2010

Template-info.svg Template Documentation
This documentation is transcluded from Template:Battle Report Message/doc.

ExamplesSandbox

Intro

This template is designed to allow the easy inclusion of IG style battle report messages messages on the wiki in a format that looks as close as possible to the in-game format.

Usage

{{Battle Report Message
|Where=
|Time=
|Attackers=
|Defenders=
|Attacker CS=
|Defender CS=
|Attacker Troops=
|Defender Troops=
|Notes=
|Winner=
}}

Parameters

  • Where: The region where the battle took place. Required.
  • Time: Time/date of the battle, or number of days ago. Do not put in parenthesis. Optional.
  • Attackers: Attacking realm(s). Separate multiple realms with commas.
  • Defenders: Defending realm(s). Separate multiple realms with commas.
  • Attacker CS: The combat strength of the attacks, for old-style battle reports. Do not add "CS" to the end. Required if Attacker Troops is omitted.
  • Defender CS: The combat strength of the defenders.
  • Attacker Troops: Number of attacking troops, for new-style battle reports. Do not add "men" to the end. Required if Attacker CS is omitted.
  • Defender Troops: Number of defending troops.
  • Notes: Battle notes describing unique items, wounds, prisoners, etc. Use "<br />" to start a new line. Required.
  • Recipients: Who the message is addressed to. Optional.
  • Winner: Attacker, Defender, Neither. Required.

Examples

{{Battle Report Message
|Where=Dark Citadel
|Time=14 days, 1 hour ago
|Attackers=Wetham
|Defenders=Assassins
|Attacker CS=5000
|Defender CS=2000
|Notes=Sir Boswick Biggie, Arch Priest of Wetham is spotted wearing a pink dress.
|Winner=Defender
}}


Battle in Dark Citadel (14 days, 1 hour ago)
Wetham vs. Assassins
{{#if 5000 | Estimated combat strengths: 5000 CS vs. 2000 CS | Estimated strengths: {{{Attacker Troops}}} men vs. {{{Defender Troops}}} men}}
Sir Boswick Biggie, Arch Priest of Wetham is spotted wearing a pink dress.

Defender Victory!




{{Battle Report Message
|Where=Tindle
|Attackers=Avalon, Bara'Khur
|Defenders=Hetland
|Attacker Troops=10
|Defender Troops=350
|Notes=Sir Dead Angel Vermeer, Chancellor of Avalon is spotted wearing the Ucdauh's Armour of Strength.<br />
Aerthbatol Nimis, Senator of Weghie is spotted wearing the Daemonic Plate Mail of Strength.
|Winner=Defender
}}


Battle in Tindle
Avalon, Bara'Khur vs. Hetland
{{#if | Estimated combat strengths: {{{Attacker CS}}} CS vs. {{{Defender CS}}} CS | Estimated strengths: 10 men vs. 350 men}}
Sir Dead Angel Vermeer, Chancellor of Avalon is spotted wearing the Ucdauh's Armour of Strength.
Aerthbatol Nimis, Senator of Weghie is spotted wearing the Daemonic Plate Mail of Strength.

Defender Victory!


Subpages

This is for editing the template itself, not using it: