Template:Player: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>OitoTrintaDois
No edit summary
>Purpey
(Infobox updated using the portable infobox migration tool)
Line 1: Line 1:
{| 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"
<infobox>
|-
<title source="name"><default><font color="white">{{PAGENAME}}</font></default></title>
|<div>
<data source="eras"><label>eras</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="image1"><label>image1</label></data>
|-
<data source="hideb"><label>hideb</label></data>
| colspan="2" style="{{#if:{{{eras|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{eras|}}}
<data source="aliases"><label>'''Aliases'''</label></data>
|-
<data source="nation"><label>'''Nation'''</label></data>
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:200%;" | {{{name|<font color="white">{{PAGENAME}}</font>}}}
<data source="town"><label>'''Town'''</label></data>
|- style="text-align:center;"
<data source="towny_rank"><label>'''Towny Rank'''</label></data>
|-
<data source="occupation"><label>'''Occupation'''</label></data>
{{#if:{{{image1<includeonly>|</includeonly>}}} |
<data source="organization"><label>'''Organization'''</label></data>
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image1}}}
<data source="political_party"><label>'''Political Party'''</label></data>
{{!}}-
<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>
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Profile Information'''
<data source="nationality"><label>'''Nationality'''</label></data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
<data source="gender"><label>'''Gender'''</label></data>
| style="{{#if:{{{aliases|}}}| |display: none;}}" valign="top" | '''Aliases'''
<data source="blood_type"><label>'''Blood Type'''</label></data>
| style="{{#if:{{{aliases|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aliases|}}}
<data source="zodiac"><label>'''Zodiac'''</label></data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
<data source="height"><label>'''Height'''</label></data>
| style="{{#if:{{{nation|}}}| |display: none;}}" valign="top" | '''Nation'''
<data source="weight"><label>'''Weight'''</label></data>
| style="{{#if:{{{nation|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nation|}}}
<data source="status"><label>'''Status'''</label></data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
<data source="server_role"><label>'''Server Role'''</label></data>
| style="{{#if:{{{town|}}}| |display: none;}}" valign="top" | '''Town'''  
<data source="date_of_ban"><label>'''Date of Ban'''</label></data>
| style="{{#if:{{{town|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{town|}}}
<data source="reason"><label>'''Reason'''</label></data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
<data source="nation_history"><label>nation_history</label></data>
| style="{{#if:{{{towny_rank|}}}| |display: none;}}" valign="top" | '''Towny Rank'''
</infobox>
| 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>
Example Usage:<pre>
== Usage & preview ==
Type in this:
 
<pre>
{{EnhancedPlayer
{{EnhancedPlayer
|title1=Example
|name=
|eras={{Eras|beta|beginning|hype|decline|crepuscular}}
|eras=
|image1=Example
|image1=
|caption1=Example
|hideb=
|aliases=Example
|aliases=
|nation=Example
|nation=
|town=Example
|town=
|towny_rank=Example
|towny_rank=
|occupation=Example
|occupation=
|organization=Example
|organization=
|political_party=Example
|political_party=
|discord=Example
|discord=
|date_of_spawn=Example
|date_of_spawn=
|place_of_spawn=Example
|place_of_spawn=
|nationality=Example
|nationality=
|gender=Example
|gender=
|blood_type=Example
|blood_type=
|zodiac=Example
|zodiac=
|height=Example
|height=
|weight=Example
|weight=
|status=Example
|status=
|server_role=Example
|server_role=
|date_of_ban=Example
|date_of_ban=
|reason=Example
|reason=
|nation_history=Example
|nation_history=
}}
}}
</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 01:05, 26 May 2019

Usage & preview

Type in this:

{{EnhancedPlayer
|name=
|eras=
|image1=
|hideb=
|aliases=
|nation=
|town=
|towny_rank=
|occupation=
|organization=
|political_party=
|discord=
|date_of_spawn=
|place_of_spawn=
|nationality=
|gender=
|blood_type=
|zodiac=
|height=
|weight=
|status=
|server_role=
|date_of_ban=
|reason=
|nation_history=
}}

to see this:


Click here to refresh the preview above