Difference between revisions of "Template:Battle Report Message"

From BattleMaster Wiki
Jump to navigation Jump to search
m
m
Line 16: Line 16:
 
A little template I threw together for the messages you get when your realm was involved in a battle.  It should hopefully look almost identical to the message you get in-game.   
 
A little template I threw together for the messages you get when your realm was involved in a battle.  It should hopefully look almost identical to the message you get in-game.   
  
 +
===Examples===
 +
{{Battle Report Message
 +
|Where=Dark Citadel
 +
|Time=14 days, 1 hour ago
 +
|Attackers=Wetham
 +
|Defenders=Assassins
 +
|Attacker CS=5000
 +
|Defender CS=2000
 +
|Winner=Defender
 +
}}
 +
 +
{|Border="0" Style="Background:#002030;Width:100%;Color:White;font-family:Vivaldi"
 +
|-
 +
|<font size="+2"><b>Battle in {{{Where}}}</b></font> <font size="-1"><i>({{{Time}}})</i></font>
 +
|-
 +
|<font size="+0">{{{Attackers}}} vs. {{{Defenders}}}</font>
 +
|-
 +
|<font size="+0">Estimated combat strengths: {{{Attacker CS}}} CS vs. {{{Defender CS}}} CS</font>
 +
|-
 +
|<br><font color="{{Battle Report Message/{{{Winner}}}}}" size="+1"><b>{{{Winner}}} Victory!</b></font>
 +
|}
 
===Code:===
 
===Code:===
 
<pre>
 
<pre>
Line 49: Line 70:
 
|}
 
|}
  
===Example===
 
{{Battle Report Message
 
|Where=Dark Citadel
 
|Time=14 days, 1 hour ago
 
|Attackers=Wetham
 
|Defenders=Assassins
 
|Attacker CS=5000
 
|Defender CS=2000
 
|Winner=Defender
 
}}
 
 
===Subpages===
 
===Subpages===
 
These are for editing the template. <br>
 
These are for editing the template. <br>

Revision as of 08:19, 13 October 2007


What is it?

A little template I threw together for the messages you get when your realm was involved in a battle. It should hopefully look almost identical to the message you get in-game.

Examples

Battle in Dark Citadel (14 days, 1 hour ago)
Wetham vs. Assassins
Estimated combat strengths: 5000 CS vs. 2000 CS

<font color="Defender Victory!" size="+1">Defender Victory!


Battle in {{{Where}}} ({{{Time}}})
{{{Attackers}}} vs. {{{Defenders}}}
Estimated combat strengths: {{{Attacker CS}}} CS vs. {{{Defender CS}}} CS

{{{Winner}}} Victory!

Code:

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

Parameters, and what they mean

Parameter Meaning
Where: Where was the battle fought?
Time: Time/Date of battle, or number of days ago. Do not put in parentheses.
Attackers: The attacking realm(s). Make sure if there are multiple realms to separate them with commas.
Defenders: The defending realm(s).
Attacker CS: The combat strength of the attackers. Don't add "CS" to the end, it will be added for you.
Defender CS: The combat strength of the defenders.
Winner Must be either "Attacker" or "Defender".

Subpages

These are for editing the template.
Template:Battle Report Message/Attacker
Template:Battle Report Message/Defender