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

Template:PlayerBob: Difference between revisions

Template page
No edit summary
No edit summary
 
(3 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}}
{{ #if: {{{skin|}}} | [[{{{skin|}}}|300px|{{PAGENAME}}'s skin]] | }}
{{ #if: {{{skin|}}} | [[File:{{{skin|}}}|300px|{{PAGENAME}}'s skin]] | }}
</div>
</div>
{{ #switch: {{{staff|}}} |
{{ #switch: {{{staff|}}} |
mod =
mod =
<div class="bob-header" style="background-color: #34eb5b;">
<div class="bob-header mw-no-invert" style="background-color: #34eb5b;">
Moderator
Moderator
</div> |
</div> |
admin =
admin =
<div class="bob-header" style="background-color: #eb4c34;">
<div class="bob-header mw-no-invert" style="background-color: #eb4c34;">
Administrator
Administrator
</div> |
</div> |
tech =
tech =
<div class="bob-header" style="background-color: #e8eb34;">
<div class="bob-header mw-no-invert" style="background-color: #e8eb34;">
Technician
Technician
</div> |
</div> |
owner =
owner =
<div class="bob-header" style="background-color: #ebb134;">
<div class="bob-header mw-no-invert" style="background-color: #ebb134;">
Owner
Owner
</div> |
</div> |
dev =
dev =
<div class="bob-header" style="background-color: #ff55ff;">
<div class="bob-header mw-no-invert" style="background-color: #ff55ff;">
Developer
Developer
</div> |
</div> |
Line 84: Line 84:
<templatedata>
<templatedata>
{
{
    "description": "Break out Box for City Pages",
"description": "Break out Box for Player & NPC Pages",
    "params": {
"params": {
        "flag": {
"skin": {
            "label": "City Flag",
"label": "Skin",
            "suggested": true,
"suggested": true,
            "description": "The flag for the city",
"description": "The skin the player/NPC uses",
            "type": "wiki-file-name"
"type": "wiki-file-name",
        },
"example": "Edgewurth.png"
        "image": {
},
            "label": "Screenshot of the City",
"staff": {
            "suggested": true,
"label": "Staff Status",
            "description": "A screenshot of the city",
"suggested": true,
            "type": "wiki-file-name"
"description": "What staff position do they currently hold?",
        },
"type": "line",
        "mapurl": {
"suggestedvalues": [
            "label": "Link to Dynmap",
"dev",
            "description": "A link to the Dynamic Map",
"mod",
            "type": "url"
"admin",
        },
"tech",
        "abbr": {
"owner"
            "label": "Abbreviation",
]
            "suggested": true,
},
            "description": "Abbreviation for the City",
"joined": {
            "type": "line"
"label": "When did they join?",
        },
"description": "What date did they join?",
        "demonym": {
"example": "12-12-2012",
            "label": "Demonym",
"type": "date",
            "suggested": true,
"suggested": true
            "description": "What's the name for the inhabitants of the city?",
},
            "type": "line"
"ign": {
        },
"label": "In-Game Name",
        "founded": {
"description": "What is thier In-Game Name?",
            "label": "Founding Date",
"example": "Mister_Misery",
            "suggested": true,
"required": true,
            "description": "When was the City Founded?",
"suggested": true
            "type": "date"
},
        },
"bday": {
        "founder": {
"label": "Birthday",
            "label": "Founder",
"description": "When is thier Birthday?",
            "suggested": true,
"example": "01-01-2004",
            "description": "Who founded the city?",
"type": "date",
            "type": "line"
"suggested": true
        },
},
        "owner": {
"place": {
            "label": "Owner",
"label": "Place",
            "suggested": true,
"description": "Where do they reside In-Real Life?",
            "required": true,
"example": "United Kingdom",
            "description": "Who owns the city?",
"type": "line",
            "type": "line"
"suggested": true
        },
},
        "mayor": {
"realname": {
            "label": "Mayor",
"label": "Real Name",
            "suggested": true,
"description": "What is thier Real Name?",
            "description": "Who manages the city?",
"example": "John Smith",
            "type": "line"
"type": "line",
        },
"suggested": true
        "tier": {
},
            "label": "City Tier Number",
"npc": {
            "suggested": true,
"label": "NPC Flag",
            "required": true,
"description": "Are they an NPC?",
            "description": "What tier is the city?",
"type": "boolean",
            "type": "number"
"default": "false",
        }
"suggested": true
    }
}
}
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 10:43, 25 August 2024


Break out Box for Player & NPC Pages

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Skinskin

The skin the player/NPC uses

Example
Edgewurth.png
Filesuggested
Staff Statusstaff

What staff position do they currently hold?

Suggested values
dev mod admin tech owner
Linesuggested
When did they join?joined

What date did they join?

Example
12-12-2012
Datesuggested
In-Game Nameign

What is thier In-Game Name?

Example
Mister_Misery
Unknownrequired
Birthdaybday

When is thier Birthday?

Example
01-01-2004
Datesuggested
Placeplace

Where do they reside In-Real Life?

Example
United Kingdom
Linesuggested
Real Namerealname

What is thier Real Name?

Example
John Smith
Linesuggested
NPC Flagnpc

Are they an NPC?

Default
false
Booleansuggested