Template:BattleTemplate: Difference between revisions

From EarthMC
Jump to navigation Jump to search
(Created page with "{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width: 280px;; text-align: center; background-color: #FFFFFF; border: 3px solid #212121;font-size: 80%; color: #3A3A3A" |- ! class="summary" colspan="2" style="background-color:#212121;text-align:center;vertical-align:middle;font-size:110%;border: 2px solid #FFFFFF;color: #FFFFFF;" | {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}} |- | style="background-color:#000000;text-align:center;...")
 
No edit summary
Line 78: Line 78:
<noinclude>
<noinclude>
<h2 style="color:red;">DO NOT EDIT THIS PAGE!</h2>
<h2 style="color:red;">DO NOT EDIT THIS PAGE!</h2>
also fix please add TemplateData extension
<pre>
<pre>
How to use:
How to use:

Revision as of 08:31, 23 June 2022

BattleTemplate
Date
Location
Result
Status
Territorial
changes
Belligerents
Commanders and leaders
Strength
Casualties and losses

DO NOT EDIT THIS PAGE!

also fix please add TemplateData extension

How to use:

1-) Put this in a page

2-) Then add the parameters

3-) If there are no info about a parameter
just make it empty

4-) And your finished!

<templatedata> { "description": "Battle Template For Everyone :D", "params": { "part_of": { "label": "Part Of Text", "required": false, "type": "string", "description": "If the battle part of a war or something like that use this" }, "name": { "label": "Name of The Battle", "required": false, "type": "string", "description": "Name of the battle", "suggested": true }, "image": { "label": "Image", "required": false, "description": "Image of the Battle", "suggested": true }, "caption": { "label": "Caption", "description": "Cation of the Image", "type": "string" }, "date": { "label": "date", "suggested": true, "required": false, "type": "string", "description": "Date of the battle" }, "location": { "suggested": true, "label": "Location", "description": "The location that battle took place", "example": "Bruh land (present-day BRUHHHHH Land)", "type": "string" }, "result": { "label": "Result", "type": "string", "description": "The result of battle" }, "changes": { "label": "Territorial changes", "type": "string", "description": "Territorial changes caused by the war" }, "beligerent1": { "required": true }, "beligerent2": { "required": true }, "beligerent3": {}, "leaders1": { "required": true }, "leaders2": { "required": true }, "leaders3": {}, "strength1": { "required": true }, "strength2": { "required": true }, "strength3": {}, "losses1": { "required": true }, "losses2": { "required": true }, "losses3": {}, "status": {} }, "sets": [] } </templatedata>