Jump to content

Template:War: Difference between revisions

From nUSA Wiki
m Protected "Template:War" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
No edit summary
Line 1: Line 1:
<infobox>
<infobox class="modern-infobox">
     <title source="name"><default>{{PAGENAME}}</default></title>
     <title source="name"><default>{{PAGENAME}}</default></title>
        <image source="image"></image>
    <image source="image" class="infobox-image"></image>
     <group>
 
    <header>Information</header>
     <group class="infobox-group">
    <data source="date"><label>Date</label></data>
        <header class="infobox-header">Information</header>
        <data source="date"><label>Date</label></data>
         <data source="location"><label>Location</label></data>
         <data source="location"><label>Location</label></data>
     </group>
     </group>
     <group layout="horizontal" show="incomplete">
 
    <header>Belligerents</header>
     <group class="infobox-group collapsible" layout="horizontal" show="incomplete">
         <data source="side1"></data>
        <header class="infobox-header">Belligerents</header>
         <data source="side1"></data>
         <data source="side2"></data>
         <data source="side2"></data>
     </group>
     </group>
     <group layout="horizontal" show="incomplete">
 
    <header>Commanders and leaders</header>
     <group class="infobox-group collapsible" layout="horizontal" show="incomplete">
        <header class="infobox-header">Commanders and leaders</header>
         <data source="commanders1"></data>
         <data source="commanders1"></data>
         <data source="commanders2"></data>
         <data source="commanders2"></data>
     </group>
     </group>
        <group layout="horizontal" show="incomplete">
 
    <header>Units involved</header>
    <group class="infobox-group collapsible" layout="horizontal" show="incomplete">
         <data source="units1"></data>
        <header class="infobox-header">Units involved</header>
         <data source="units2"></data>
         <data source="units1"></data>
         <data source="units2"></data>
     </group>
     </group>
     <group layout="horizontal" show="incomplete">
 
    <header>Strength</header>
     <group class="infobox-group collapsible" layout="horizontal" show="incomplete">
         <data source="forces1"></data>
        <header class="infobox-header">Strength</header>
         <data source="forces2"></data>
         <data source="forces1"></data>
         <data source="forces2"></data>
     </group>
     </group>
     <group layout="horizontal" show="incomplete">
 
    <header>Casualties and losses</header>
     <group class="infobox-group collapsible" layout="horizontal" show="incomplete">
         <data source="casual1"></data>
        <header class="infobox-header">Casualties and losses</header>
         <data source="casual1"></data>
         <data source="casual2"></data>
         <data source="casual2"></data>
     </group>
     </group>
     <group layout="horizontal">
 
         <header>Result</header>
     <group class="infobox-group" layout="horizontal">
         <header class="infobox-header">Result</header>
         <data source="result"></data>
         <data source="result"></data>
     </group>
     </group>
</infobox>
</infobox>

Revision as of 00:55, 14 January 2025

Attribute "class" is not supported in <infobox> tag