Template:BattleTemplate: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 79: | Line 79: | ||
<br> | <br> | ||
|{{#if:{{{beligerent3|}}}| |display: none;}}" | | |{{#if:{{{beligerent3|}}}| |display: none;}}" | | ||
|{{#if:{{{losses3|}}}|width: 100%;|display: none;}}}}" | {{{losses3|}}} | |{{#if:{{{losses3|}}}|width: 100%; float: left;|display: none;}}}}" | {{{losses3|}}} | ||
|}</div> | |}</div> | ||
|}<noinclude> | |}<noinclude> |
Revision as of 17:02, 11 January 2024
|
credits to [Earth Mc] for the template, if the owner wishes for RoNation's to stop using, please contact the owner on discord (username: grandhappy)
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!
{{Battle | part_of = | name = | image = | caption = | date = | location = | result = | changes = | beligerent1 = | beligerent2 = | beligerent3 = | leaders1 = | leaders2 = | leaders3 = | strength1 = | strength2 = | strength3 = | losses1 = | losses2 = | losses3 = }}
<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>