Actions

Template

Difference between revisions of "LocationInfoBox"

(Changed factions to groups and removed ruling organisation)
(Added extra content field)
Line 27: Line 27:
 
         </tr>
 
         </tr>
 
     }}
 
     }}
     {{#if: {{{faction|}}}|  
+
     {{#if: {{{group|}}}|  
 
         <tr>
 
         <tr>
             <td class="infoboxtd1strow" style="padding: 10px;"><b>Faction</b>:</td>
+
             <td class="infoboxtd1strow" style="padding: 10px;"><b>Associated Group(s)</b>:</td>
             <td>[[{{{faction}}}]]</td>
+
             <td>[[{{{group}}}]]</td>
 
         </tr>
 
         </tr>
 +
    }}
 +
    {{#if: {{{extraContent|}}}|
 +
        {{{extraContent}}}
 
     }}
 
     }}
 
</table>
 
</table>
Line 80: Line 83:
 
"type": "wiki-page-name",
 
"type": "wiki-page-name",
 
"suggested": true
 
"suggested": true
 +
},
 +
"extraContent": {
 +
"label": "Extra content",
 +
"description": "Additional content"
 
}
 
}
 
},
 
},
Line 88: Line 95:
 
"group",
 
"group",
 
"demonym",
 
"demonym",
"parentLocation"
+
"parentLocation",
 +
"extraContent"
 
]
 
]
 
}
 
}
 
</templatedata>
 
</templatedata>
 
</noinclude>
 
</noinclude>

Revision as of 14:53, 13 September 2020

{{{title}}}

PC info

Template parameters

ParameterDescriptionTypeStatus
Titletitle

Page title, usually the common name for the location

Example
Tala Rane
Stringrequired
Imageimage

An image, could be a map or a picutre of the location

Filesuggested
Populationpopulation

The number of people in the location

Example
31000
Stringrequired
Groupgroup

Any groups the area is aligned or associated with with

Example
Templars
Pageoptional
Demonymdemonym

The name to describe the people from this location

Example
Rathirian
Pagesuggested
Parent LocationparentLocation

The location that this location is within

Example
Amalur
Pagesuggested
Extra contentextraContent

Additional content

Unknownoptional