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:PlayerBob: 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">
<div class="bob">
<div class="bob-header">
<div class="bob-header mw-no-invert">
{{PAGENAME}}
{{PAGENAME}}
{{ #if: {{{skin|}}} | [[File:{{{skin|}}}|300px|{{PAGENAME}}'s skin]] | }}
</div>
</div>
{{  
{{ #switch: {{{staff|}}} |
#switch: {{{staff|}}} |
mod =
<div class="bob-info-header" style="color: #34eb5b;width: 100%;text-align: center;">
<div class="bob-header mw-no-invert" style="background-color: #34eb5b;">
<small>Moderator</small>
Moderator
</div> |
</div> |
admin =
admin =
<div class="bob-info-header" style="color: #eb4c34;width: 100%;text-align: center;">
<div class="bob-header mw-no-invert" style="background-color: #eb4c34;">
<small>Administrator</small>
Administrator
</div> |
</div> |
tech =  
tech =
<div class="bob-info-header" style="color: #e8eb34;width: 100%;text-align: center;">
<div class="bob-header mw-no-invert" style="background-color: #e8eb34;">
<small>Technician</small>
Technician
</div> |
</div> |
owner =
owner =
<div class="bob-info-header" style="color: #ebb134;width: 100%;text-align: center;">
<div class="bob-header mw-no-invert" style="background-color: #ebb134;">
<small>Owner</small>
Owner
</div> |
</div> |
dev =
dev =
<div class="bob-info-header" style="color: #ff55ff;width: 100%;text-align: center;">
<div class="bob-header mw-no-invert" style="background-color: #ff55ff;">
<small>Script Developer</small>
Developer
</div> |
</div> |
<div>
{{ #if: {{{skin|}}} | [[{{{skin|}}}|300px|{{PAGENAME}}'s skin]] | }}
</div>
</div>
}}
}}
{{
{{ #if: {{{joined|}}} |
#if: {{{joined|}}} |  
<div class="bob-info">
<div class="bob-info">
<div class="bob-info-header">
<div class="bob-info-header">
Line 40: Line 36:
</div>
</div>
</div>
</div>
}}{{
}}
#if: {{{ign|}}} |  
{{ #if: {{{ign|}}} |
<div class="bob-info">
<div class="bob-info">
<div class="bob-info-header">
<div class="bob-info-header">
Line 51: Line 47:
</div>
</div>
}}
}}
{{
{{ #if: {{{bday|}}} |
#if: {{{bday|}}} |  
<div class="bob-info">
<div class="bob-info">
<div class="bob-info-header">
<div class="bob-info-header">
Line 61: Line 56:
</div>
</div>
</div>
</div>
}}{{
}}
#if: {{{place|}}} |  
{{ #if: {{{place|}}} |
<div class="bob-info">
<div class="bob-info">
<div class="bob-info-header">
<div class="bob-info-header">
Line 71: Line 66:
</div>
</div>
</div>
</div>
}}{{
}}
#if: {{{realname|}}} |  
{{ #if: {{{realname|}}} |
<div class="bob-info">
<div class="bob-info">
<div class="bob-info-header">
<div class="bob-info-header">
Line 81: Line 76:
</div>
</div>
</div>
</div>
}}{{
#if: {{{npc|}}} |
[[Category:NPCs]] | [[Category:Players]]
}}
}}
{{ #if: {{{npc|}}} | [[Category:NPCs]] | [[Category:Players]] }}
</div>
</div>
}}</includeonly>
</includeonly>


<noinclude>
<noinclude>
{{PlayerBob
<templatedata>
|staff=dev
{
}}
"description": "Break out Box for Player & NPC Pages",
"params": {
"skin": {
"label": "Skin",
"suggested": true,
"description": "The skin the player/NPC uses",
"type": "wiki-file-name",
"example": "Edgewurth.png"
},
"staff": {
"label": "Staff Status",
"suggested": true,
"description": "What staff position do they currently hold?",
"type": "line",
"suggestedvalues": [
"dev",
"mod",
"admin",
"tech",
"owner"
]
},
"joined": {
"label": "When did they join?",
"description": "What date did they join?",
"example": "12-12-2012",
"type": "date",
"suggested": true
},
"ign": {
"label": "In-Game Name",
"description": "What is thier In-Game Name?",
"example": "Mister_Misery",
"required": true,
"suggested": true
},
"bday": {
"label": "Birthday",
"description": "When is thier Birthday?",
"example": "01-01-2004",
"type": "date",
"suggested": true
},
"place": {
"label": "Place",
"description": "Where do they reside In-Real Life?",
"example": "United Kingdom",
"type": "line",
"suggested": true
},
"realname": {
"label": "Real Name",
"description": "What is thier Real Name?",
"example": "John Smith",
"type": "line",
"suggested": true
},
"npc": {
"label": "NPC Flag",
"description": "Are they an NPC?",
"type": "boolean",
"default": "false",
"suggested": true
}
}
}
</templatedata>
</noinclude>
</noinclude>
[[Category:Break out Boxes]]

Latest revision as of 11: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