Template:Settlement: Difference between revisions

From DSRPG
No edit summary
No edit summary
Line 1: Line 1:
<!-- Template:Settlement -->
<includeonly>
<div class="infoboxFrame">
<div class="infoboxFrame">
<div class="infoboxHeadTitle" style="background-color: {{{color|#bcd}}};">{{{name|Settlement Name}}}</div>
  <div class="infoboxHeadTitle" style="background-color: {{{color|#bcd}}};">{{{name|Settlement Name}}}</div>
 
  <!-- Image section -->
  {{#if: {{{image|}}} |
  <div class="infoboxImage">
    [[File:{{{image}}}|300px|{{{name|Settlement Name}}}]]
    {{#if: {{{caption|}}} |
    <div class="infoboxCaption">{{{caption}}}</div>
    |}}
  </div>
  |}}
 
  <!-- Nickname and Motto -->
  {{#if: {{{nickname|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Nickname</div>
    <div class="infoboxData">{{{nickname}}}</div>
  </div>
  |}}
 
  {{#if: {{{motto|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Motto</div>
    <div class="infoboxData" style="font-style: italic;">{{{motto}}}</div>
  </div>
  |}}
 
  <!-- Location Information -->
  <div class="infoboxSubheader">Location</div>
 
  {{#if: {{{type|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Type</div>
    <div class="infoboxData">{{{type}}}</div>
  </div>
  |}}
 
  {{#if: {{{region|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Region</div>
    <div class="infoboxData">{{{region}}}</div>
  </div>
  |}}
 
  {{#if: {{{continent|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Continent</div>
    <div class="infoboxData">{{{continent}}}</div>
  </div>
  |}}
 
  {{#if: {{{world|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">World</div>
    <div class="infoboxData">{{{world}}}</div>
  </div>
  |}}
 
  {{#if: {{{coordinates|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Coordinates</div>
    <div class="infoboxData">{{{coordinates}}}</div>
  </div>
  |}}
 
  <!-- Government Information -->
  <div class="infoboxSubheader">Government</div>
 
  {{#if: {{{government|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Government</div>
    <div class="infoboxData">{{{government}}}</div>
  </div>
  |}}
 
  {{#if: {{{sovereign|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Sovereign</div>
    <div class="infoboxData">{{{sovereign}}}</div>
  </div>
  |}}
 
  {{#if: {{{governor|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Governor</div>
    <div class="infoboxData">{{{governor}}}</div>
  </div>
  |}}
 
  {{#if: {{{founded|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Founded</div>
    <div class="infoboxData">{{{founded}}}</div>
  </div>
  |}}
 
  <!-- Demographics Information -->
  <div class="infoboxSubheader">Demographics</div>
 
  {{#if: {{{population|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Population</div>
    <div class="infoboxData">{{{population}}}</div>
  </div>
  |}}
 
  {{#if: {{{demographics|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Demographics</div>
    <div class="infoboxData">{{{demographics}}}</div>
  </div>
  |}}
 
  {{#if: {{{socialclasses|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Social Classes</div>
    <div class="infoboxData">{{{socialclasses}}}</div>
  </div>
  |}}
 
  <!-- Geography Information -->
  <div class="infoboxSubheader">Geography</div>
 
  {{#if: {{{elevation|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Elevation</div>
    <div class="infoboxData">{{{elevation}}}</div>
  </div>
  |}}
 
  {{#if: {{{geography|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Geographic<br>Features</div>
    <div class="infoboxData">{{{geography}}}</div>
  </div>
  |}}
 
  {{#if: {{{districts|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Districts</div>
    <div class="infoboxData">{{{districts}}}</div>
  </div>
  |}}
 
  {{#if: {{{landmarks|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Landmarks</div>
    <div class="infoboxData">{{{landmarks}}}</div>
  </div>
  |}}
 
  <!-- Economy Information -->
  <div class="infoboxSubheader">Economy</div>
 
  {{#if: {{{economy|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Economy</div>
    <div class="infoboxData">{{{economy}}}</div>
  </div>
  |}}
 
  {{#if: {{{currency|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Currency</div>
    <div class="infoboxData">{{{currency}}}</div>
  </div>
  |}}
 
  {{#if: {{{exports|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Main Exports</div>
    <div class="infoboxData">{{{exports}}}</div>
  </div>
  |}}
 
  <!-- Transportation Information -->
  {{#if: {{{transportation|}}} |
  <div class="infoboxSubheader">Transportation</div>
  <div class="infoboxRow">
    <div class="infoboxLabel">Transport</div>
    <div class="infoboxData">{{{transportation}}}</div>
  </div>
  |}}
 
  <!-- Culture Information -->
  <div class="infoboxSubheader">Culture</div>
 
  {{#if: {{{factions|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Major Factions</div>
    <div class="infoboxData">{{{factions}}}</div>
  </div>
  |}}
 
  {{#if: {{{faith|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Dominant Faith</div>
    <div class="infoboxData">{{{faith}}}</div>
  </div>
  |}}
 
  {{#if: {{{institutions|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">Cultural<br>Institutions</div>
    <div class="infoboxData">{{{institutions}}}</div>
  </div>
  |}}
 
  <!-- Climate Information -->
  {{#if: {{{climate|}}} |
  <div class="infoboxSubheader">Climate</div>
  <div class="infoboxRow">
    <div class="infoboxLabel">Climate</div>
    <div class="infoboxData">{{{climate}}}</div>
  </div>
  |}}
 
  <!-- Additional Fields -->
  {{#if: {{{custom1name|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">{{{custom1name}}}</div>
    <div class="infoboxData">{{{custom1value|}}}</div>
  </div>
  |}}
 
  {{#if: {{{custom2name|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">{{{custom2name}}}</div>
    <div class="infoboxData">{{{custom2value|}}}</div>
  </div>
  |}}
 
  {{#if: {{{custom3name|}}} |
  <div class="infoboxRow">
    <div class="infoboxLabel">{{{custom3name}}}</div>
    <div class="infoboxData">{{{custom3value|}}}</div>
  </div>
  |}}
</div>
</div>
</includeonly>
<noinclude>
== Template:Settlement ==
This template creates an infobox for settlements in the world of Irinia.
=== Usage ===
<pre>
{{Settlement
|name = Eyndrhal
|color = #8899bb
|image = Eyndrhal_cityscape.jpg
|caption = The City of Spires and Smoke
|nickname = City of Spires and Smoke
|motto = Above and Below, Magic Flows
|type = Capital city
|region = Kingdom of Eyndr
|continent = Aethas
|world = Irinia
|coordinates = Central valley region of Eyndr
|government = Monarchy with Civic Council
|sovereign = Queen Elestria Ironwreath
|governor = Lord Thaddeus Gearwright
|founded = Approximately 3,000 years ago
|population = ~350,000 permanent residents<br>~50,000 temporary residents
|demographics = 60% Human<br>15% Elven<br>12% Dwarven<br>8% Mixed Heritage<br>5% Other Races
|socialclasses = * The Arcane Elite (8%)<br>* The Gear Class (27%)<br>* The Tarnished (65%)
|elevation = River level to 500 feet (152 m)
|geography = * The Ashen Flow (river)<br>* Eastern Heights (plateau)<br>* Western Ridge (hills)<br>* The Spindle (island)<br>* Mist Vents (magical geysers)
|districts = '''Upper City:'''<br>* The Gilded Heights<br>* The Arcanum Quarter<br>* The Merchant Rise<br><br>'''Middle City:'''<br>* The Clockwork Quarter<br>* The Mist Warrens<br>* The Spindle<br><br>'''Lower City:'''<br>* The Forge Quarter<br>* The Smog Warrens<br>* The Borderlands<br><br>'''Undercity:'''<br>* The Substratum<br>* The Deep Warrens<br>* The Forgotten Depths
|landmarks = * The Crown Spire (royal palace)<br>* Grand Gear Plaza<br>* The Great Forges<br>* The Shimmer Wall<br>* The Foundry Core<br>* The Library Ruins
|economy = Magical manufacturing, trade, salvage industry
|currency = Crown (gold), Gear (silver), Cog (copper)
|exports = Enchanted devices, processed magical materials, artifacts
|transportation = * Skyways (aerial trams)<br>* The Grand Stair<br>* Lift Towers<br>* River Ferries<br>* Mechanical Carriages
|factions = * Royal Court<br>* Salvage Guild<br>* Delver's Guild<br>* Cog Collective<br>* Rust Order<br>* Chimera Consortium
|faith = Church of the Eternal Cycle
|institutions = * The Grand Academy<br>* The Royal Opera<br>* The Artifice Museum<br>* The Resonance Halls
|climate = Temperate with magical weather anomalies
|custom1name = Time Zone
|custom1value = Central Eyndr Time
}}
</pre>
=== Parameters ===
* '''name''': The name of the settlement
* '''color''': Background color for the header (hex code)
* '''image''': Image filename (must be uploaded to the wiki)
* '''caption''': Caption for the image
* '''nickname''': Common nickname for the settlement
* '''motto''': Official or unofficial motto
* '''type''': Type of settlement (city, town, etc.)
* '''region''': Country or region where the settlement is located
* '''continent''': Continent where the settlement is located
* '''world''': World where the settlement is located
* '''coordinates''': Geographic coordinates or location description
* '''government''': Form of government
* '''sovereign''': Ruler of the country/kingdom
* '''governor''': Local ruler or administrator
* '''founded''': Founding date or approximate age
* '''population''': Current population
* '''demographics''': Racial/species breakdown
* '''socialclasses''': Social class structure
* '''elevation''': Height above sea level or elevation range
* '''geography''': Notable geographic features
* '''districts''': Major districts or neighborhoods
* '''landmarks''': Notable buildings or landmarks
* '''economy''': Primary economic activities
* '''currency''': Local currency
* '''exports''': Major exports
* '''transportation''': Transportation methods and infrastructure
* '''factions''': Major political or social factions
* '''faith''': Dominant religion or belief system
* '''institutions''': Cultural or educational institutions
* '''climate''': Climate description
* '''custom1name''', '''custom2name''', '''custom3name''': Custom field labels
* '''custom1value''', '''custom2value''', '''custom3value''': Custom field values
=== Examples ===
See the template documentation page for examples.
</noinclude>

Revision as of 23:58, 3 May 2025



Template:Settlement

This template creates an infobox for settlements in the world of Irinia.

Usage

{{Settlement
|name = Eyndrhal
|color = #8899bb
|image = Eyndrhal_cityscape.jpg
|caption = The City of Spires and Smoke
|nickname = City of Spires and Smoke
|motto = Above and Below, Magic Flows
|type = Capital city
|region = Kingdom of Eyndr
|continent = Aethas
|world = Irinia
|coordinates = Central valley region of Eyndr
|government = Monarchy with Civic Council
|sovereign = Queen Elestria Ironwreath
|governor = Lord Thaddeus Gearwright
|founded = Approximately 3,000 years ago
|population = ~350,000 permanent residents<br>~50,000 temporary residents
|demographics = 60% Human<br>15% Elven<br>12% Dwarven<br>8% Mixed Heritage<br>5% Other Races
|socialclasses = * The Arcane Elite (8%)<br>* The Gear Class (27%)<br>* The Tarnished (65%)
|elevation = River level to 500 feet (152 m)
|geography = * The Ashen Flow (river)<br>* Eastern Heights (plateau)<br>* Western Ridge (hills)<br>* The Spindle (island)<br>* Mist Vents (magical geysers)
|districts = '''Upper City:'''<br>* The Gilded Heights<br>* The Arcanum Quarter<br>* The Merchant Rise<br><br>'''Middle City:'''<br>* The Clockwork Quarter<br>* The Mist Warrens<br>* The Spindle<br><br>'''Lower City:'''<br>* The Forge Quarter<br>* The Smog Warrens<br>* The Borderlands<br><br>'''Undercity:'''<br>* The Substratum<br>* The Deep Warrens<br>* The Forgotten Depths
|landmarks = * The Crown Spire (royal palace)<br>* Grand Gear Plaza<br>* The Great Forges<br>* The Shimmer Wall<br>* The Foundry Core<br>* The Library Ruins
|economy = Magical manufacturing, trade, salvage industry
|currency = Crown (gold), Gear (silver), Cog (copper)
|exports = Enchanted devices, processed magical materials, artifacts
|transportation = * Skyways (aerial trams)<br>* The Grand Stair<br>* Lift Towers<br>* River Ferries<br>* Mechanical Carriages
|factions = * Royal Court<br>* Salvage Guild<br>* Delver's Guild<br>* Cog Collective<br>* Rust Order<br>* Chimera Consortium
|faith = Church of the Eternal Cycle
|institutions = * The Grand Academy<br>* The Royal Opera<br>* The Artifice Museum<br>* The Resonance Halls
|climate = Temperate with magical weather anomalies
|custom1name = Time Zone
|custom1value = Central Eyndr Time
}}

Parameters

  • name: The name of the settlement
  • color: Background color for the header (hex code)
  • image: Image filename (must be uploaded to the wiki)
  • caption: Caption for the image
  • nickname: Common nickname for the settlement
  • motto: Official or unofficial motto
  • type: Type of settlement (city, town, etc.)
  • region: Country or region where the settlement is located
  • continent: Continent where the settlement is located
  • world: World where the settlement is located
  • coordinates: Geographic coordinates or location description
  • government: Form of government
  • sovereign: Ruler of the country/kingdom
  • governor: Local ruler or administrator
  • founded: Founding date or approximate age
  • population: Current population
  • demographics: Racial/species breakdown
  • socialclasses: Social class structure
  • elevation: Height above sea level or elevation range
  • geography: Notable geographic features
  • districts: Major districts or neighborhoods
  • landmarks: Notable buildings or landmarks
  • economy: Primary economic activities
  • currency: Local currency
  • exports: Major exports
  • transportation: Transportation methods and infrastructure
  • factions: Major political or social factions
  • faith: Dominant religion or belief system
  • institutions: Cultural or educational institutions
  • climate: Climate description
  • custom1name, custom2name, custom3name: Custom field labels
  • custom1value, custom2value, custom3value: Custom field values

Examples

See the template documentation page for examples.