Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:CorpRP City Infobox: Difference between revisions

Template page
imported>MechanicalDog
Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <group> <header>..."
 
No edit summary
 
(24 intermediate revisions by 5 users not shown)
Line 5: Line 5:
   <image source="image1">
   <image source="image1">
     <caption source="caption1"/>
     <caption source="caption1"/>
  </image>
  <image source="image2">
    <caption source="caption2"/>
  </image>
  <image source="image3">
    <caption source="caption3"/>
   </image>
   </image>
   <group>
   <group>
     <header>Information</header>
     <header>City Details</header>
     <data source="country">
     <data source="country">
       <label>Country</label>
       <label>Country</label>
    </data>
    <data source="nickname(s)">
      <label>Nickname(s)</label>
     </data>
     </data>
     <data source="established">
     <data source="established">
Line 15: Line 24:
     </data>
     </data>
     <data source="mayor">
     <data source="mayor">
       <label>Mayor</label>
       <label>Head of State</label>
    </data>
    <data source="government">
      <label>Government</label>
    </data>
    <data source="anthem">
      <label>Anthem</label>
     </data>
     </data>
     <data source="population">
     <data source="population">
Line 22: Line 37:
     <data source="demonym">
     <data source="demonym">
       <label>Demonym</label>
       <label>Demonym</label>
    </data>
    <data source="ethnicities">
      <label>Ethnic groups</label>
    </data>
    <data source="religions">
      <label>Religions</label>
     </data>
     </data>
   </group>
   </group>
Line 29: Line 50:
{{City-Infobox
{{City-Infobox
|title1=Example
|title1=Example
|image1=Example
|image1= Flag
|image2 = Map
|caption1=Example
|caption1=Example
|country=Example
|country=Example
Line 38: Line 60:
}}
}}
</pre>
</pre>
</noinclude>
<templatedata>
{
"params": {
"image1": {
"aliases": [
"flag"
],
"label": "City's flag.",
"description": "Flag of the city or independent nation.",
"type": "wiki-file-name"
},
"image2": {
"aliases": [
"map"
],
"label": "Map of the city.",
"description": "A map of the city's territory clearly outlined.",
"type": "wiki-file-name"
},
"country": {
"aliases": [
"country"
],
"label": "Country/Sovereign State",
"description": "Name of the country which the city currently belongs to, if any.",
"type": "string"
},
"nickname(s)": {
"aliases": [
"nicknames"
],
"label": "Nicknames",
"description": "Any nicknames or abbreviations for the city.",
"example": "New Orleans/NOLA",
"type": "string"
},
"established": {
"aliases": [
"established"
],
"label": "Date Established",
"description": "The date which this city was established (format is Month Day, Year)",
"example": "December 30, 3017",
"type": "string"
},
"mayor": {
"aliases": [
"mayor"
],
"label": "Mayor",
"description": "The mayor/chief executive of the city.",
"type": "string"
},
"government": {
"aliases": [
"government"
],
"label": "Government",
"description": "The government classification of the city.",
"example": "parliamentary republic",
"type": "string"
},
"anthem": {
"aliases": [
"anthem"
],
"label": "Anthem",
"description": "The city's national anthem. Link to an MP3 file.",
"type": "wiki-file-name"
},
"population": {
"aliases": [
"population"
],
"label": "Population",
"description": "The city's population. Refer to the google sheet. Leave blank if unsure.",
"example": "5,270,333",
"type": "number"
},
"demonym": {
"aliases": [
"demonym"
],
"label": "Demonym",
"description": "What are people from this city called?",
"example": "Filipino/Filipina",
"type": "string"
},
"ethnicities": {
"aliases": [
"ethnicities"
],
"label": "Ethnicities",
"description": "List of the city's ethnic groups, by percentage of the population.",
"example": "60% Apples, 38% Oranges, 2% Milk",
"type": "string"
},
"religions": {
"aliases": [
"religions"
],
"label": "Religions",
"description": "The city's major religions, by percentage of the population.",
"example": "80% Buddhism, 20% Taoism",
"type": "string"
},
"caption1": {
"aliases": [
"caption1"
],
"label": "Caption 1",
"description": "This is the caption for the image of the flag, if you have anything to say.",
"example": "Novenae's flag, adopted in 3022.",
"type": "string"
},
"caption2": {
"aliases": [
"caption2"
],
"label": "Caption 2",
"description": "This is the caption for the map image, if you have anything to say.",
"example": "Senones, outlined in red.",
"type": "string"
},
"image3": {
"aliases": [
"image3"
],
"label": "Skyline",
"description": "Image of the city's skyline.",
"type": "wiki-file-name"
},
"caption3": {
"aliases": [
"caption3"
],
"label": "Caption 3",
"description": "Caption for the image of the city's skyline.",
"example": "Cyrene's skyline at dusk, captured via drone.",
"type": "string"
},
"title1": {
"label": "Formal Title",
"description": "Formal title of the city.",
"example": "City of Aleksandria",
"type": "string"
}
},
"description": "Infobox for a city in the RP."
}
</templatedata></noinclude>

Latest revision as of 21:56, 22 July 2023

Example usage:

{{City-Infobox
|title1=Example
|image1= Flag
|image2 = Map
|caption1=Example
|country=Example
|established=Example
|mayor=Example
|population=Example
|demonym=Example
}}

Infobox for a city in the RP.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
City's flag.image1 flag

Flag of the city or independent nation.

Fileoptional
Map of the city.image2 map

A map of the city's territory clearly outlined.

Fileoptional
Country/Sovereign Statecountry country

Name of the country which the city currently belongs to, if any.

Stringoptional
Nicknamesnickname(s) nicknames

Any nicknames or abbreviations for the city.

Example
New Orleans/NOLA
Stringoptional
Date Establishedestablished established

The date which this city was established (format is Month Day, Year)

Example
December 30, 3017
Stringoptional
Mayormayor mayor

The mayor/chief executive of the city.

Stringoptional
Governmentgovernment government

The government classification of the city.

Example
parliamentary republic
Stringoptional
Anthemanthem anthem

The city's national anthem. Link to an MP3 file.

Fileoptional
Populationpopulation population

The city's population. Refer to the google sheet. Leave blank if unsure.

Example
5,270,333
Numberoptional
Demonymdemonym demonym

What are people from this city called?

Example
Filipino/Filipina
Stringoptional
Ethnicitiesethnicities ethnicities

List of the city's ethnic groups, by percentage of the population.

Example
60% Apples, 38% Oranges, 2% Milk
Stringoptional
Religionsreligions religions

The city's major religions, by percentage of the population.

Example
80% Buddhism, 20% Taoism
Stringoptional
Caption 1caption1 caption1

This is the caption for the image of the flag, if you have anything to say.

Example
Novenae's flag, adopted in 3022.
Stringoptional
Caption 2caption2 caption2

This is the caption for the map image, if you have anything to say.

Example
Senones, outlined in red.
Stringoptional
Skylineimage3 image3

Image of the city's skyline.

Fileoptional
Caption 3caption3 caption3

Caption for the image of the city's skyline.

Example
Cyrene's skyline at dusk, captured via drone.
Stringoptional
Formal Titletitle1

Formal title of the city.

Example
City of Aleksandria
Stringoptional