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

Template:CityBob: Difference between revisions

Template page
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div class="bob">
{{Bob|
<div class="bob-header mw-no-invert">
{{Bob/Header}}
{{PAGENAME}}
{{#if: {{{flag|}}}|{{Bob/Image|image={{{flag}}}|caption={{PAGENAME}}'s Flag}}|}}
{{ #if: {{{flag|}}} | [[File:{{{flag|}}}|290px|{{PAGENAME}}'s flag]] | }}
{{#if: {{{image|}}}|{{Bob/Image|image={{{image}}}|caption={{{caption}}}}}|}}
{{ #if: {{{image|}}} | [[File:{{{image|}}}|290px|{{{#if: {{{caption|}}} | {{{caption|}}}| }}}]] | }}
{{#if: {{{mapurl|}}}|{{Bob/InfoText|[{{{mapurl}}} View on Server Map]}}|}}
</div>
{{#if: {{{tier|}}}|{{Bob/InfoText|[[:Category:Cities in Tier {{{tier}}}|This city is Tier {{{tier}}}]]<br>[[Category:Cities in Tier {{{tier}}}]]}}|}}
{{ #if: {{{mapurl|}}} |
{{Bob/Subheader|Culture}}
<div class="bob-info">
{{#if: {{{abbr|}}}|{{Bob/InfoTextWithTitle|{{{abbr}}}|Abbreviation}}|}}
</div>
{{#if: {{{demonym|}}}|{{Bob/InfoTextWithTitle|{{{demonym}}}|Demonym}}|}}
{{Bob/Subheader|Founding Info}}
{{#if: {{{founded|}}}|{{Bob/InfoTextWithTitle|{{{founded}}}|Founded on}}|}}
{{#if: {{{founder|}}}|{{Bob/InfoTextWithTitle|{{{founder}}}|Founded by}}|}}
{{Bob/Subheader|City Staff}}
{{#if: {{{owner|}}}|{{Bob/InfoTextWithTitle|{{{owner}}}|Owned by}}|}}
{{#if: {{{mayor|}}}|{{Bob/InfoTextWithTitle|{{{mayor}}}|Managed by}}|}}
}}
}}
{{
</includeonly>
#if: {{{abbr|}}} |
<div class="bob-info">
<div class="bob-info-header">
Abbreviation
</div>
<div class="bob-info-footer">
{{{abbr}}}
</div>
</div>
}}{{
#if: {{{demonym|}}} |
<div class="bob-info">
<div class="bob-info-header">
Demonym
</div>
<div class="bob-info-footer">
{{{demonym}}}
</div>
</div>
}}
{{
#if: {{{founded|}}} |
<div class="bob-info">
<div class="bob-info-header">
Founded
</div>
<div class="bob-info-footer">
{{{founded}}}
</div>
</div>
}}{{
#if: {{{founder|}}} |
<div class="bob-info">
<div class="bob-info-header">
Founder(s)
</div>
<div class="bob-info-footer">
{{{founder}}}
</div>
</div>
}}{{
#if: {{{owner|}}} |
<div class="bob-info">
<div class="bob-info-header">
Owner(s)
</div>
<div class="bob-info-footer">
{{{owner}}}
</div>
</div>
}}{{
#if: {{{mayor|}}} |
<div class="bob-info">
<div class="bob-info-header">
Mayor(s)
</div>
<div class="bob-info-footer">
{{{mayor}}}
</div>
</div>
}}
{{
#if: {{{tier|}}} |
<div class="bob-info">
<div class="bob-info-header">
Tier
</div>
<div class="bob-info-footer">
[[:Category:Cities in Tier {{{tier}}}|{{{tier}}}]]<br>[[Category:Cities in Tier {{{tier}}}]]
</div>
</div>
}}
</div></includeonly>
 
<noinclude>
<noinclude>
{{CityBob
{{CityBob
Line 181: Line 113:


</noinclude>
</noinclude>
[[Category:Break out Boxes]]

Latest revision as of 16:27, 27 October 2024


CityBob



Culture


Founding Info


City Staff



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