Template:CityInfo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="float: right;"> | |||
{{Infobox | {{Infobox | ||
|bodystyle = border:1px solid black;float:right | |||
|bodystyle = border:1px solid black | |||
|titlestyle = | |titlestyle = | ||
|abovestyle = background:#99e3ff | |abovestyle = background:#99e3ff; font-size:145% | ||
|subheaderstyle = | |subheaderstyle = | ||
|title = | |title = | ||
|above = {{{ | |above = {{{1}}} | ||
|headerstyle = background:#acff99; | |headerstyle = background:#acff99; | ||
|labelstyle = background:#c8eac0; | |labelstyle = background:#c8eac0;text-align:right;width:50% | ||
|datastyle = | |datastyle = background:#fffdd4;width:50% | ||
|header1 = | |header1 = {{{2}}} | ||
| label1 = | | label1 = | ||
| data1 = | | data1 = | ||
|header2 = | |header2 = City Information | ||
| label2 = | | label2 = | ||
| data2 = | | data2 = | ||
|header3 = | |header3 = | ||
| label3 = | | label3 = Population | ||
| data3 = {{{ | | data3 = {{{3}}} | ||
|header4 = | |header4 = | ||
| label4 = | | label4 = Governing Body | ||
| data4 = {{{ | | data4 = {{{4}}} | ||
|header5 = | |header5 = | ||
| label5 = | | label5 = Ruling Race | ||
| data5 = {{{ | | data5 = {{{5}}} | ||
|header6 = | |header6 = | ||
| label6 = | | label6 = Common Classes | ||
| data6 = {{{ | | data6 = {{{6}}} | ||
|header7 = | |header7 = | ||
| label7 = Majority Alignment | | label7 = Primary Language | ||
| | | data7 = {{{7}}} | ||
|header8 = | |||
| label8 = Majority Alignment | |||
| data8 = {{{8}}} | |||
}} | }} | ||
</div> | |||
[[Category:City]] | |||
<noinclude> | |||
{{Documentation}} | |||
</noinclude> |
Latest revision as of 23:06, 23 November 2019
{{{1}}} | |
---|---|
{{{2}}} | |
City Information | |
Population | {{{3}}} |
Governing Body | {{{4}}} |
Ruling Race | {{{5}}} |
Common Classes | {{{6}}} |
Primary Language | {{{7}}} |
Majority Alignment | {{{8}}} |
Documentation icon Template documentation[view] [edit] [history] [purge]
Usage
{{CityInfo|CityMap|CityName|CityPop|CityGov|CityRace|CityClass|CityLang|CityAlign}}
Template Data
A template for the floating city info box.
Parameter | Description | Type | Status | |
---|---|---|---|---|
CityName | 1 | The city's name | String | required |
CityMap | 2 | A map of the city | String | optional |
CityPop | 3 | The city's population | String | optional |
CityGov | 4 | The city's governing body | String | optional |
CityRace | 5 | The primary ruling race of the city | String | optional |
CityClass | 6 | Common classes found within the city | String | optional |
CityLang | 7 | The primary language used within the city | String | optional |
CityAlign | 8 | The majority alignment within the city | String | optional |
The above documentation is transcluded from Template:CityInfo/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |