Template:Player: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>PrestusHood
No edit summary
>PrestusHood
No edit summary
Line 1: Line 1:
<infobox>
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:300px; background: border-collapse:collapse; border:3.5px solid #FF8C00; font-size:smaller; line-height:1.5"
  <title source="title1"/>
|-
  <image source="image1">
|<div id="infoboxinternal">
    <caption source="caption1"/>
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse: collapse; vertical-align: middle"
  </image>
|-
  <group collapse="open">
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:200%;" | {{{name|<font color="white">{{PAGENAME}}</font>}}}
    <header>Profile Information</header>
|- style="text-align:center;"
    <data source="aliases">
| colspan="2" style="{{#if:{{{eras|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{eras|}}}
      <label>Aliases</label>
|-
    </data>
{{#if:{{{image1<includeonly>|</includeonly>}}} |
    <data source="nation">
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image1}}}
      <label>Nation</label>
{{!}}-
    </data>
}}
    <data source="town">
|-
      <label>Town</label>
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Profile Information'''
    </data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
    <data source="towny_rank">
| style="{{#if:{{{aliases|}}}| |display: none;}}" valign="top" | '''Aliases'''
      <label>Towny rank</label>
| style="{{#if:{{{aliases|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aliases|}}}
    </data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
    <data source="occupation">
| style="{{#if:{{{nation|}}}| |display: none;}}" valign="top" | '''Nation'''
      <label>Occupation</label>
| style="{{#if:{{{nation|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nation|}}}
    </data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
    <data source="organization">
| style="{{#if:{{{town|}}}| |display: none;}}" valign="top" | '''Town'''
      <label>Organization</label>
| style="{{#if:{{{town|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{town|}}}
    </data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
    <data source="political_party">
| style="{{#if:{{{towny_rank|}}}| |display: none;}}" valign="top" | '''Towny Rank'''
      <label>Political party</label>
| style="{{#if:{{{towny_rank|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{towny_rank|}}}
    </data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
    <data source="discord">
| style="{{#if:{{{occupation|}}}| |display: none;}}" valign="top" | '''Occupation'''
      <label>Discord</label>
| style="{{#if:{{{occupation|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{occupation|}}}
    </data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
  </group>
| style="{{#if:{{{organization|}}}| |display: none;}}" valign="top" | '''Organization'''
  <group collapse="open">
| style="{{#if:{{{organization|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{organization|}}}
    <header>Spawn Information</header>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
    <data source="date_of_spawn">
| style="{{#if:{{{political_party|}}}| |display: none;}}" valign="top" | '''Political Party'''
      <label>Date of Spawn</label>
| style="{{#if:{{{political_party|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{political_party|}}}
    </data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
    <data source="place_of_spawn">
| style="{{#if:{{{discord|}}}| |display: none;}}" valign="top" | '''Discord'''
      <label>Place of Spawn</label>
| style="{{#if:{{{discord|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{discord|}}}
    </data>
|-
  </group>
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Spawn Information'''
  <group collapse="open">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
    <header>Physical Information</header>
| style="{{#if:{{{date_of_spawn|}}}| |display: none;}}" valign="top" | '''Date of Spawn'''
    <data source="nationality">
| style="{{#if:{{{date_of_spawn|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{date_of_spawn|}}}
      <label>Nationality</label>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
    </data>
| style="{{#if:{{{place_of_spawn|}}}| |display: none;}}" valign="top" | '''Place of Spawn'''
    <data source="gender">
| style="{{#if:{{{place_of_spawn|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{place_of_spawn|}}}
      <label>Gender</label>
|-
    </data>
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Physical Information'''
    <data source="height">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
      <label>Height</label>
| style="{{#if:{{{nationality|}}}| |display: none;}}" valign="top" | '''Nationality'''
    </data>
| style="{{#if:{{{nationality|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nationality|}}}
    <data source="weight">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
      <label>Weight</label>
| style="{{#if:{{{gender|}}}| |display: none;}}" valign="top" | '''Gender'''
    </data>
| style="{{#if:{{{gender|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{gender|}}}
  </group>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
  <group collapse="open">
| style="{{#if:{{{blood_type|}}}| |display: none;}}" valign="top" | '''Blood Type'''
    <header>Ban Information</header>
| style="{{#if:{{{blood_type|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{blood_type|}}}
    <data source="date_of_ban">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
      <label>Date of Ban</label>
| style="{{#if:{{{zodiac|}}}| |display: none;}}" valign="top" | '''Zodiac'''
    </data>
| style="{{#if:{{{zodiac|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{zodiac|}}}
    <data source="reason">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
      <label>Reason</label>
| style="{{#if:{{{height|}}}| |display: none;}}" valign="top" | '''Height'''
    </data>
| style="{{#if:{{{height|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{height|}}}
  </group>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
  <group>
| style="{{#if:{{{weight|}}}| |display: none;}}" valign="top" | '''Weight'''
    <header>Nation History</header>
| style="{{#if:{{{weight|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{weight|}}}
    <data source="nation_history">
|-
      <label></label>
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Status Information'''
    </data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
  </group>
| style="{{#if:{{{status|}}}| |display: none;}}" valign="top" | '''Status'''
</infobox>
| style="{{#if:{{{status|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{status|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{server_role|}}}| |display: none;}}" valign="top" | '''Server Role'''
| style="{{#if:{{{server_role|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{server_role|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{date_of_ban|}}}| |display: none;}}" valign="top" | '''Date of Ban'''
| style="{{#if:{{{date_of_ban|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{date_of_ban|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{reason|}}}| |display: none;}}" valign="top" | '''Reason'''
| style="{{#if:{{{reason|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{reason|}}}
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Nation History'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| colspan="2" style="{{#if:{{{nation_history|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nation_history|}}}
|}</div>
|}
<noinclude>
<noinclude>
Example usage:<pre>
Example Usage:<pre>
{{EnhancedPlayer
{{EnhancedPlayer
|title1=Example
|title1=Example
|eras={{Eras|beta|beginning|hype|decline|crepuscular}}
|image1=Example
|image1=Example
|caption1=Example
|caption1=Example
Line 89: Line 105:
|nationality=Example
|nationality=Example
|gender=Example
|gender=Example
|blood_type=Example
|zodiac=Example
|height=Example
|height=Example
|weight=Example
|weight=Example
|status=Example
|server_role=Example
|date_of_ban=Example
|date_of_ban=Example
|reason=Example
|reason=Example

Revision as of 21:25, 18 May 2019

Player
{{{image1}}}
Profile Information
Aliases
Nation
Town
Towny Rank
Occupation
Organization
Political Party
Discord
Spawn Information
Date of Spawn
Place of Spawn
Physical Information
Nationality
Gender
Blood Type
Zodiac
Height
Weight
Status Information
Status
Server Role
Date of Ban
Reason
Nation History

Example Usage:

{{EnhancedPlayer
|title1=Example
|eras={{Eras|beta|beginning|hype|decline|crepuscular}}
|image1=Example
|caption1=Example
|aliases=Example
|nation=Example
|town=Example
|towny_rank=Example
|occupation=Example
|organization=Example
|political_party=Example
|discord=Example
|date_of_spawn=Example
|place_of_spawn=Example
|nationality=Example
|gender=Example
|blood_type=Example
|zodiac=Example
|height=Example
|weight=Example
|status=Example
|server_role=Example 
|date_of_ban=Example
|reason=Example
|nation_history=Example
}}