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

The new Help Guide is now live.

You can now see it by clicking the 'Help Portal' link above.

- Edgewurth -

Template:CityBob: Difference between revisions

Template page
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div class="bob">
<div class="bob">
<div class="bob-header">
<div class="bob-header mw-no-invert">
{{PAGENAME}}
{{PAGENAME}}
</div>
{{ #if: {{{flag|}}} | [[File:{{{flag|}}}|290px|{{PAGENAME}}'s flag]] | }}
<div>
{{ #if: {{{image|}}} | [[File:{{{image|}}}|290px|{{{#if: {{{caption|}}} | {{{caption|}}}| }}}]] | }}
{{ #if: {{{flag|}}} | [[{{{flag|}}}|290px|{{PAGENAME}}'s flag]] | }}
</div>
<div>
{{ #if: {{{image|}}} | [[{{{image|}}}|290px|{{{#if: {{{caption|}}} | {{{caption|}}}| }}}]] | }}
</div>
</div>
{{ #if: {{{mapurl|}}} |
{{ #if: {{{mapurl|}}} |
<div class="bob-info">
<div class="bob-info">
<div class="bob-info-header" style="width: 100%;text-align: center;">
<!-- <iframe width="300" height="400" key="servermap" path={{{mapurl|}}}> -->
<a href={{{mapurl}}}>View in Server Map</a>
<!-- </iframe> -->
</div>
</div>
</div>
}}
}}
Line 97: Line 88:
{{CityBob
{{CityBob
}}
}}
<templatedata>
{
"description": "Break out Box for City Pages",
"params": {
"flag": {
"label": "City Flag",
"suggested": true,
"description": "The flag for the city",
"type": "wiki-file-name",
"example": "File:Cardiff-flag.png"
},
"image": {
"label": "Screenshot of the City",
"suggested": true,
"description": "A screenshot of the city",
"type": "wiki-file-name",
"example": "File:Montego_Bay-capture.png"
},
"mapurl": {
"label": "Link to Dynmap",
"description": "A link to the Dynamic Map",
"type": "url",
"example": "https://map.hellominers.com/#helloclan;flat;0,0,0;0"
},
"abbr": {
"label": "Abbreviation",
"suggested": true,
"description": "Abbreviation for the City",
"type": "line",
"example": "MB"
},
"demonym": {
"label": "Demonym",
"suggested": true,
"description": "What's the name for the inhabitants of the city?",
"type": "line",
"example": "Montegian"
},
"founded": {
"label": "Founding Date",
"suggested": true,
"description": "When was the City Founded?",
"type": "date",
"example": "21 March 2024"
},
"founder": {
"label": "Founder",
"suggested": true,
"description": "Who founded the city?",
"type": "line",
"example": "Felipe98_"
},
"owner": {
"label": "Owner",
"suggested": true,
"required": true,
"description": "Who owns the city?",
"type": "line",
"example": "Felipe98_"
},
"mayor": {
"label": "Mayor",
"suggested": true,
"description": "Who manages the city?",
"type": "line",
"example": "Felipe98_"
},
"tier": {
"label": "City Tier Number",
"suggested": true,
"required": true,
"description": "What tier is the city?",
"type": "number",
"suggestedvalues": [
"1",
"2",
"3",
"4",
"5",
"6",
"0"
]
},
"caption": {
"label": "Caption for Screenshot",
"description": "Describe the screenshot.",
"type": "line"
}
}
}
</templatedata>
</noinclude>
</noinclude>
[[Category:Break out Boxes]]

Latest revision as of 13:56, 25 August 2024



CityBob





Break out Box for City Pages

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
City Flagflag

The flag for the city

Example
File:Cardiff-flag.png
Filesuggested
Screenshot of the Cityimage

A screenshot of the city

Example
File:Montego_Bay-capture.png
Filesuggested
Link to Dynmapmapurl

A link to the Dynamic Map

Example
https://map.hellominers.com/#helloclan;flat;0,0,0;0
URLoptional
Abbreviationabbr

Abbreviation for the City

Example
MB
Linesuggested
Demonymdemonym

What's the name for the inhabitants of the city?

Example
Montegian
Linesuggested
Founding Datefounded

When was the City Founded?

Example
21 March 2024
Datesuggested
Founderfounder

Who founded the city?

Example
Felipe98_
Linesuggested
Ownerowner

Who owns the city?

Example
Felipe98_
Linerequired
Mayormayor

Who manages the city?

Example
Felipe98_
Linesuggested
City Tier Numbertier

What tier is the city?

Suggested values
1 2 3 4 5 6 0
Numberrequired
Caption for Screenshotcaption

Describe the screenshot.

Lineoptional