Template:Infobox lore town: Difference between revisions
Content deleted Content added
m Visual fix #4 |
m Padding for images |
||
(6 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
| subheader = {{{native_name|}}}{{#if: {{{year_end|}}}| {{#if: {{{native_name|}}}|<br />}}<small>{{{year_start|}}} – {{{year_end|}}}</small>}} |
| subheader = {{{native_name|}}}{{#if: {{{year_end|}}}| {{#if: {{{native_name|}}}|<br />}}<small>{{{year_start|}}} – {{{year_end|}}}</small>}} |
||
| bodystyle = border-style: none ridge ridge ridge; border-color: #f0e4e4; border-width: 2px; line-height: 120%; |
| bodystyle = border-style: none ridge ridge ridge; border-color: #f0e4e4; border-width: 2px; line-height: 120%; |
||
| headerstyle = line-height: 140%; |
| headerstyle = line-height: 140%; text-align:center; |
||
| imagestyle = |
| imagestyle = text-align:center; |
||
| captionstyle= |
| captionstyle = text-align:center; |
||
| |
| image1 = <div style="padding: 5px 0px 5px 0px; text-align: center;">{{{image|}}}</div> |
||
| |
| caption1 = {{{caption|}}} |
||
| data1 = |
| data1 = {{#if: {{{map_image|}}} | <hr /><div style="padding: 10px 0px 2px 0px; text-align: center;">{{{map_image|}}}</div>{{#if: {{{map_caption|}}} | <br /><div style="text-align: center;">{{{map_caption|}}}</div>}}}} |
||
| header2 = {{#if: {{{nickname|}}}{{{motto|}}} | <hr />}} |
| header2 = {{#if: {{{nickname|}}}{{{motto|}}} | <hr />}} |
||
| data3 = {{#if: {{{nickname|}}} | Nickname: {{{nickname|}}} |
| data3 = {{#if: {{{nickname|}}} | <div style="text-align: center;">Nickname: {{{nickname|}}}</div>}} |
||
| data4 = {{#if: {{{motto|}}} | Motto(s): {{{motto|}}} |
| data4 = {{#if: {{{motto|}}} | <div style="text-align: center;">Motto(s): {{{motto|}}}</div>}} |
||
| header5 = {{#if: | <div style="background-color: {{#if: {{{headercolor|}}} | {{{headercolor|}}} | #d4f5bf}};">Background</div>}} |
| header5 = {{#if: | <div style="background-color: {{#if: {{{headercolor|}}} | {{{headercolor|}}} | #d4f5bf}};">Background</div>}} |
Latest revision as of 13:16, 1 May 2024
Usage
Users should note that all parameters are made to be optional. Provide as much or as little information as you choose. If you wish to enter more than one data line to a single parameter, use </br>
between the entries.
{{Infobox lore town
|name = <!-- if left blank, will default to the title of the page -->
|titlecolor = <!-- hexcode for the background color of the name -->
|town_status = <!-- village, town, city, capital, port etc. -->
|bordercolor = <!-- hexcode for the border between name and nation type -->
|headercolor = <!-- hexcode for the background color of headers -->
|year_start = <!-- fill these two only if the town no longer exists -->
|year_end =
|native_name = <!-- town's name in the native language -->
|image =
|caption =
|map_image =
|map_caption =
|nickname =
|motto =
<!-- BACKGROUND -->
|country =
|subdivision = <!-- municipality or official region that the town falls under -->
|subdivision_name = <!-- name of the subdivision -->
|settlement = <!-- first time the land was ever settled -->
|mention = <!-- first time the current town was mentioned -->
|population = <!-- population count -->
|ethnicity_list =
|timezone = <!-- main timezone for the town's population -->
|area =
|coordinates =
<!-- GOVERNMENT -->
|election = <!-- date the local government was elected -->
|position1 = <!-- formal job title of a governing person -->
|leader1 = <!-- person in position1 -->
|position2 =
|leader2 =
|position3 =
|leader3 =
<!-- HISTORY -->
|event1 = <!-- some historical event, usually founding of the town -->
|event_date1 = <!-- date of event1 -->
|event2 =
|event_date2 =
|event3 =
|event_date3 =
<!-- etc... -->
|predecessor = <!-- town that preceded this town -->
|successor = <!-- town that succeeded this town -->
|partner_city1 = <!-- a town with formal relations to this town -->
|partner_city2 =
|partner_city3 =
<!-- etc... -->
}}