Anonymous
×
Create a new article
Write your page title here:
We currently have 632 articles on SpellForce Wiki - Rohens encyclopedia. Type your article name above or click on one of the titles below and start writing!



SpellForce Wiki - Rohens encyclopedia

Template:WarInfoBox: Difference between revisions

0z2y (talk | contribs)
Created page with "<infobox> <title source="name"> <default>{{PAGENAME}}</default> <format>{{#if:{{{icon|}}}|<div class="title-icon" style="float: right;">[[File:{{{icon}}}|42px|link=]]</div>}}<span style="display: inline-block;width: calc(100% - 43px);padding: 0 2px;box-sizing: border-box;">{{{name|}}}</span></format> </title> <image source="image"> <caption source="caption" /> </image> <group> <header>General Information</header> <data source="conflict"><label>..."
 
0z2y (talk | contribs)
No edit summary
 
Line 33: Line 33:
         <data source="casual2"><label>{{{casual2head}}}</label></data>
         <data source="casual2"><label>{{{casual2head}}}</label></data>
     </group>
     </group>
     <group layout="horizontal">
     <group layout="horizontal" show="incomplete" row-items="1">
         <header>Result</header>
         <header>Result</header>
         <data source="outcome"><label>{{{outcomehead}}}</label></data>
         <data source="outcome"><label>{{{outcomehead}}}</label></data>
     </group>
     </group>
     <group layout="horizontal">
     <group layout="horizontal" show="incomplete" row-items="1">
         <header>Other information</header>
         <header>Other information</header>
         <data source="otherinfo"><label>{{{otherinfohead}}}</label></data>
         <data source="otherinfo"><label>{{{otherinfohead}}}</label></data>

Latest revision as of 23:18, 22 April 2023

Usage

NOTE: the setting {{#setmainimage:name_your_image.jpg/png/gif/jpeg/webp}} is used IF you want to define that image as the main image to show on social media sharing sites.


{{WarInfoBox |name = |icon = |image = |caption = |conflict = |date = |location = |side1head = |side2head = |side1 = |side2 = |commanders1head = |commanders2head = |commanders1 = |commanders2 = |forces1head = |forces2head = |forces1 = |forces2 = |casual1head = |casual2head = |casual1 = |casual2 = |outcomehead = |outcome = |otherinfohead = |otherinfo = }}

Preview