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
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly>
 
<div class="bob">
To learn how to use this template, visit [[Help:Portal/Bobs and Templates]]
<div class="bob-header mw-no-invert">
 
 
</noinclude><includeonly>
<div class="newbob">
<div class="newbob-header">
{{PAGENAME}}
{{PAGENAME}}
{{ #if: {{{flag|}}} | [[File:{{{flag|}}}|290px|{{PAGENAME}}'s flag]] | }}
{{ #if: {{{image|}}} | [[File:{{{image|}}}|290px|{{{#if: {{{caption|}}} | {{{caption|}}}| }}}]] | }}
</div>
</div>
<div>
{{ #if: {{{mapurl|}}} |
{{ #if: {{{flag|}}} | [[{{{flag|}}}|290px|{{PAGENAME}}'s flag]] | }}
<div class="bob-info">
</div>
<div>
{{ #if: {{{image|}}} | [[{{{image|}}}|290px|{{{#if: {{{caption|}}} | {{{caption|}}}| }}}]] | }}
</div>
{{
#if: {{{x|}}} {{{z|}}} |  
<div class="newbob-info">
<div class="newbob-info-header" style="width: 100%;text-align: center;">
{{Template:ServerMap
|x={{{x|}}}
|z={{{z|}}}
|zoom=2
}}
</div>
</div>
</div>
}}
}}
{{
{{
  #if: {{{abbr|}}} |  
  #if: {{{abbr|}}} |  
<div class="newbob-info">
<div class="bob-info">
<div class="newbob-info-header">
<div class="bob-info-header">
Abbreviation
Abbreviation
</div>
</div>
<div class="newbob-info-footer">
<div class="bob-info-footer">
{{{abbr}}}
{{{abbr}}}
</div>
</div>
Line 39: Line 22:
}}{{
}}{{
  #if: {{{demonym|}}} |  
  #if: {{{demonym|}}} |  
<div class="newbob-info">
<div class="bob-info">
<div class="newbob-info-header">
<div class="bob-info-header">
Demonym
Demonym
</div>
</div>
<div class="newbob-info-footer">
<div class="bob-info-footer">
{{{demonym}}}
{{{demonym}}}
</div>
</div>
Line 50: Line 33:
{{
{{
  #if: {{{founded|}}} |  
  #if: {{{founded|}}} |  
<div class="newbob-info">
<div class="bob-info">
<div class="newbob-info-header">
<div class="bob-info-header">
Founded
Founded
</div>
</div>
<div class="newbob-info-footer">
<div class="bob-info-footer">
{{{founded}}}
{{{founded}}}
</div>
</div>
Line 60: Line 43:
}}{{
}}{{
  #if: {{{founder|}}} |  
  #if: {{{founder|}}} |  
<div class="newbob-info">
<div class="bob-info">
<div class="newbob-info-header">
<div class="bob-info-header">
Founder(s)
Founder(s)
</div>
</div>
<div class="newbob-info-footer">
<div class="bob-info-footer">
{{{founder}}}
{{{founder}}}
</div>
</div>
Line 70: Line 53:
}}{{
}}{{
  #if: {{{owner|}}} |  
  #if: {{{owner|}}} |  
<div class="newbob-info">
<div class="bob-info">
<div class="newbob-info-header">
<div class="bob-info-header">
Owner(s)
Owner(s)
</div>
</div>
<div class="newbob-info-footer">
<div class="bob-info-footer">
{{{owner}}}
{{{owner}}}
</div>
</div>
Line 80: Line 63:
}}{{
}}{{
  #if: {{{mayor|}}} |  
  #if: {{{mayor|}}} |  
<div class="newbob-info">
<div class="bob-info">
<div class="newbob-info-header">
<div class="bob-info-header">
Mayor(s)
Mayor(s)
</div>
</div>
<div class="newbob-info-footer">
<div class="bob-info-footer">
{{{mayor}}}
{{{mayor}}}
</div>
</div>
Line 91: Line 74:
{{
{{
  #if: {{{tier|}}} |  
  #if: {{{tier|}}} |  
<div class="newbob-info">
<div class="bob-info">
<div class="newbob-info-header">
<div class="bob-info-header">
Tier
Tier
</div>
</div>
<div class="newbob-info-footer">
<div class="bob-info-footer">
[[:Category:Cities in Tier {{{tier}}}|{{{tier}}}]]<br>[[Category:Cities in Tier {{{tier}}}]]
[[:Category:Cities in Tier {{{tier}}}|{{{tier}}}]]<br>[[Category:Cities in Tier {{{tier}}}]]
</div>
</div>
Line 101: Line 84:
}}
}}
</div></includeonly>
</div></includeonly>
<noinclude>
{{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>

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