Template:Player: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>Purpey
(Infobox updated using the portable infobox migration tool)
>OitoTrintaDois
(Undo revision 13319 by Purpey (talk))
Line 1: Line 1:
<infobox>
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:280px; background: border-collapse:collapse; border:3.5px solid #008721; font-size:smaller; line-height:1.5"
<title source="name"><default><font color="white">{{PAGENAME}}</font></default></title>
|-
<data source="eras"><label>eras</label></data>
|<div>
<data source="image1"><label>image1</label></data>
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle"
<data source="hideb"><label>hideb</label></data>
|-
<data source="aliases"><label>'''Aliases'''</label></data>
| colspan="2" style="{{#if:{{{eras|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{eras|}}}
<data source="nation"><label>'''Nation'''</label></data>
|-
<data source="town"><label>'''Town'''</label></data>
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:200%;" | {{{name|<font color="white">{{PAGENAME}}</font>}}}
<data source="towny_rank"><label>'''Towny Rank'''</label></data>
|- style="text-align:center;"
<data source="occupation"><label>'''Occupation'''</label></data>
|-
<data source="organization"><label>'''Organization'''</label></data>
{{#if:{{{image1<includeonly>|</includeonly>}}} |
<data source="political_party"><label>'''Political Party'''</label></data>
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image1}}}
<data source="discord"><label>'''Discord'''</label></data>
{{!}}-
<data source="date_of_spawn"><label>'''Date of Spawn'''</label></data>
}}
<data source="place_of_spawn"><label>'''Place of Spawn'''</label></data>
|-
<data source="nationality"><label>'''Nationality'''</label></data>
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Profile Information'''
<data source="gender"><label>'''Gender'''</label></data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
<data source="blood_type"><label>'''Blood Type'''</label></data>
| style="{{#if:{{{aliases|}}}| |display: none;}}" valign="top" | '''Aliases'''
<data source="zodiac"><label>'''Zodiac'''</label></data>
| style="{{#if:{{{aliases|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aliases|}}}
<data source="height"><label>'''Height'''</label></data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
<data source="weight"><label>'''Weight'''</label></data>
| style="{{#if:{{{nation|}}}| |display: none;}}" valign="top" | '''Nation'''
<data source="status"><label>'''Status'''</label></data>
| style="{{#if:{{{nation|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nation|}}}
<data source="server_role"><label>'''Server Role'''</label></data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
<data source="date_of_ban"><label>'''Date of Ban'''</label></data>
| style="{{#if:{{{town|}}}| |display: none;}}" valign="top" | '''Town'''  
<data source="reason"><label>'''Reason'''</label></data>
| style="{{#if:{{{town|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{town|}}}
<data source="nation_history"><label>nation_history</label></data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
</infobox>
| style="{{#if:{{{towny_rank|}}}| |display: none;}}" valign="top" | '''Towny Rank'''
| style="{{#if:{{{towny_rank|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{towny_rank|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{occupation|}}}| |display: none;}}" valign="top" | '''Occupation'''
| style="{{#if:{{{occupation|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{occupation|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{organization|}}}| |display: none;}}" valign="top" | '''Organization'''
| style="{{#if:{{{organization|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{organization|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{political_party|}}}| |display: none;}}" valign="top" | '''Political Party'''
| style="{{#if:{{{political_party|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{political_party|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{discord|}}}| |display: none;}}" valign="top" | '''Discord'''
| style="{{#if:{{{discord|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{discord|}}}
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Spawn Information'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{date_of_spawn|}}}| |display: none;}}" valign="top" | '''Date of Spawn'''
| style="{{#if:{{{date_of_spawn|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{date_of_spawn|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{place_of_spawn|}}}| |display: none;}}" valign="top" | '''Place of Spawn'''
| style="{{#if:{{{place_of_spawn|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{place_of_spawn|}}}
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Physical Information'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{nationality|}}}| |display: none;}}" valign="top" | '''Nationality'''
| style="{{#if:{{{nationality|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nationality|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{gender|}}}| |display: none;}}" valign="top" | '''Gender'''
| style="{{#if:{{{gender|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{gender|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{blood_type|}}}| |display: none;}}" valign="top" | '''Blood Type'''
| style="{{#if:{{{blood_type|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{blood_type|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{zodiac|}}}| |display: none;}}" valign="top" | '''Zodiac'''
| style="{{#if:{{{zodiac|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{zodiac|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{height|}}}| |display: none;}}" valign="top" | '''Height'''
| style="{{#if:{{{height|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{height|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{weight|}}}| |display: none;}}" valign="top" | '''Weight'''
| style="{{#if:{{{weight|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{weight|}}}
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Status Information'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{status|}}}| |display: none;}}" valign="top" | '''Status'''
| 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>
== Usage & preview ==
Example Usage:<pre>
Type in this:
 
<pre>
{{EnhancedPlayer
{{EnhancedPlayer
|name=
|title1=Example
|eras=
|eras={{Eras|beta|beginning|hype|decline|crepuscular}}
|image1=
|image1=Example
|hideb=
|caption1=Example
|aliases=
|aliases=Example
|nation=
|nation=Example
|town=
|town=Example
|towny_rank=
|towny_rank=Example
|occupation=
|occupation=Example
|organization=
|organization=Example
|political_party=
|political_party=Example
|discord=
|discord=Example
|date_of_spawn=
|date_of_spawn=Example
|place_of_spawn=
|place_of_spawn=Example
|nationality=
|nationality=Example
|gender=
|gender=Example
|blood_type=
|blood_type=Example
|zodiac=
|zodiac=Example
|height=
|height=Example
|weight=
|weight=Example
|status=
|status=Example
|server_role=
|server_role=Example
|date_of_ban=
|date_of_ban=Example
|reason=
|reason=Example
|nation_history=
|nation_history=Example
}}
}}
</pre>
</pre>
to see this:
{{EnhancedPlayer
|name=This is a test
|eras=This is a test
|image1=This is a test
|hideb=This is a test
|aliases=This is a test
|nation=This is a test
|town=This is a test
|towny_rank=This is a test
|occupation=This is a test
|organization=This is a test
|political_party=This is a test
|discord=This is a test
|date_of_spawn=This is a test
|place_of_spawn=This is a test
|nationality=This is a test
|gender=This is a test
|blood_type=This is a test
|zodiac=This is a test
|height=This is a test
|weight=This is a test
|status=This is a test
|server_role=This is a test
|date_of_ban=This is a test
|reason=This is a test
|nation_history=This is a test
}}
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
</noinclude>
</noinclude>

Revision as of 21:44, 26 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
}}