Template:Player: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>Purpey
(Infobox updated using the portable infobox migration tool)
mNo edit summary
 
(104 intermediate revisions by 8 users not shown)
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 {{{color|}}}; 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; background: linear-gradient(to top, MistyRose, AntiqueWhite, Ivory, Beige, AliceBlue, WhiteSmoke, LavenderBlush)"
<data source="hideb"><label>hideb</label></data>
|-
<data source="aliases"><label>'''Aliases'''</label></data>
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:200%;" | {{{name|<font color="white">{{{title1|{{PAGENAME}}}}}</font>}}}
<data source="nation"><label>'''Nation'''</label></data>
|- style="text-align:center;"
<data source="town"><label>'''Town'''</label></data>
|-
<data source="towny_rank"><label>'''Towny Rank'''</label></data>
{{#if:{{{image1<includeonly>|</includeonly>}}} |
<data source="occupation"><label>'''Occupation'''</label></data>
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image1}}}
<data source="organization"><label>'''Organization'''</label></data>
{{!}}-
<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>
| colspan="2" style="{{#if:{{{eras|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{eras|}}}
<data source="place_of_spawn"><label>'''Place of Spawn'''</label></data>
|- style="{{#if:{{{rank1|}}}| |display: none;}}"
<data source="nationality"><label>'''Nationality'''</label></data>
! colspan="2" style="{{#if:{{{rank1|}}}| |display: none;}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''{{{rank1|}}}'''
<data source="gender"><label>'''Gender'''</label></data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;{{#if:{{{incumbent1|}}}| |display: none;}}"
<data source="blood_type"><label>'''Blood Type'''</label></data>
! colspan="2" style="{{#if:{{{incumbent1|}}}| |display: none;}} text-align:center; font-weight:normal; color:#FFFFFF; background:DimGray;" | '''Incumbent'''
<data source="zodiac"><label>'''Zodiac'''</label></data>
|- style="border-top: 1px solid #999;{{#if:{{{rank1|}}}| |display: none;}}"
<data source="height"><label>'''Height'''</label></data>
| colspan="2" style="padding-bottom:0;text-align:center;{{#if:{{{rank1|}}}| |display: none;}}" valign="top" | '''{{#if:{{{incumbent1|}}}|Assumed office|In office}}'''
<data source="weight"><label>'''Weight'''</label></data>
|- style="border-bottom: 1px solid #999;{{#if:{{{rank1|}}}| |display: none;}}"
<data source="status"><label>'''Status'''</label></data>
| colspan="2" style="padding-top:0;text-align:center;{{#if:{{{rank1|}}}| |display: none;}}" valign="top" | {{{office1}}}
<data source="server_role"><label>'''Server Role'''</label></data>
|- style="{{#if:{{{rank1|}}}| |display: none;}}{{#if:{{{higher1|}}}| |display: none;}}border-top: 1px solid #999; border-bottom: 1px solid #999;"
<data source="date_of_ban"><label>'''Date of Ban'''</label></data>
| style="{{#if:{{{rank1|}}}| |display: none;}}{{#if:{{{higher1|}}}| |display: none;}}" valign="top" | '''{{{higher1|}}}'''
<data source="reason"><label>'''Reason'''</label></data>
| style="{{#if:{{{rank1|}}}| |display: none;}}{{#if:{{{higher1|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{higher1value}}}
<data source="nation_history"><label>nation_history</label></data>
|- style="{{#if:{{{rank1|}}}| |display: none;}}{{#if:{{{preceded1|}}}| |display: none;}}border-top: 1px solid #999; border-bottom: 1px solid #999;"
</infobox>
| style="{{#if:{{{rank1|}}}| |display: none;}}{{#if:{{{preceded1|}}}| |display: none;}}" valign="top" | '''Preceded by'''
| style="{{#if:{{{rank1|}}}| |display: none;}}{{#if:{{{preceded1|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{preceded1}}}
|- style="{{#if:{{{rank1|}}}| |display: none;}}{{#if:{{{succeeded1|}}}| |display: none;}}border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{rank1|}}}| |display: none;}}{{#if:{{{succeeded1|}}}| |display: none;width:auto;}}" valign="top" | '''Succeeded by'''
| style="{{#if:{{{rank1|}}}| |display: none;}}{{#if:{{{succeeded1|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{succeeded1}}}
|- style="{{#if:{{{rank2|}}}| |display: none;}}"
! colspan="2" style="{{#if:{{{rank2|}}}| |display: none;}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''{{{rank2|}}}'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;{{#if:{{{incumbent2|}}}| |display: none;}}"
! colspan="2" style="{{#if:{{{incumbent2|}}}| |display: none;}} text-align:center; font-weight:normal; color:#FFFFFF; background:DimGray;" | '''Incumbent'''
|- style="border-top: 1px solid #999;{{#if:{{{rank2|}}}| |display: none;}}"
| colspan="2" style="padding-bottom:0;text-align:center;{{#if:{{{rank2|}}}| |display: none;}}" valign="top" | '''{{#if:{{{incumbent2|}}}|Assumed office|In office}}'''
|- style="border-bottom: 1px solid #999;{{#if:{{{rank2|}}}| |display: none;}}"
| colspan="2" style="padding-top:0;text-align:center;{{#if:{{{rank2|}}}| |display: none;}}" valign="top" | {{{office2}}}
|- style="{{#if:{{{rank2|}}}| |display: none;}}{{#if:{{{higher2|}}}| |display: none;}}border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{rank2|}}}| |display: none;}}{{#if:{{{higher2|}}}| |display: none;}}" valign="top" | '''{{{higher2|}}}'''
| style="{{#if:{{{rank2|}}}| |display: none;}}{{#if:{{{higher2|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{higher2value}}}
|- style="{{#if:{{{rank2|}}}| |display: none;}}{{#if:{{{preceded2|}}}| |display: none;}}border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{rank2|}}}| |display: none;}}{{#if:{{{preceded2|}}}| |display: none;}}" valign="top" | '''Preceded by'''
| style="{{#if:{{{rank2|}}}| |display: none;}}{{#if:{{{preceded2|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{preceded2}}}
|- style="{{#if:{{{rank2|}}}| |display: none;}}{{#if:{{{succeeded2|}}}| |display: none;}}border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{rank2|}}}| |display: none;}}{{#if:{{{succeeded2|}}}| |display: none;width:auto;}}" valign="top" | '''Succeeded by'''
| style="{{#if:{{{rank2|}}}| |display: none;}}{{#if:{{{succeeded2|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{succeeded2}}}
|- style="{{#if:{{{rank3|}}}| |display: none;}}"
! colspan="2" style="{{#if:{{{rank3|}}}| |display: none;}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''{{{rank3|}}}'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;{{#if:{{{incumbent3|}}}| |display: none;}}"
! colspan="2" style="{{#if:{{{incumbent3|}}}| |display: none;}} text-align:center; font-weight:normal; color:#FFFFFF; background:DimGray;" | '''Incumbent'''
|- style="border-top: 1px solid #999;{{#if:{{{rank3|}}}| |display: none;}}"
| colspan="2" style="padding-bottom:0;text-align:center;{{#if:{{{rank3|}}}| |display: none;}}" valign="top" | '''{{#if:{{{incumbent3|}}}|Assumed office|In office}}'''
|- style="border-bottom: 1px solid #999;{{#if:{{{rank3|}}}| |display: none;}}"
| colspan="2" style="padding-top:0;text-align:center;{{#if:{{{rank3|}}}| |display: none;}}" valign="top" | {{{office3}}}
|- style="{{#if:{{{rank3|}}}| |display: none;}}{{#if:{{{higher3|}}}| |display: none;}}border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{rank3|}}}| |display: none;}}{{#if:{{{higher3|}}}| |display: none;}}" valign="top" | '''{{{higher3|}}}'''
| style="{{#if:{{{rank3|}}}| |display: none;}}{{#if:{{{higher3|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{higher3value}}}
|- style="{{#if:{{{rank3|}}}| |display: none;}}{{#if:{{{preceded3|}}}| |display: none;}}border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{rank3|}}}| |display: none;}}{{#if:{{{preceded3|}}}| |display: none;}}" valign="top" | '''Preceded by'''
| style="{{#if:{{{rank3|}}}| |display: none;}}{{#if:{{{preceded3|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{preceded3}}}
|- style="{{#if:{{{rank3|}}}| |display: none;}}{{#if:{{{succeeded3|}}}| |display: none;}}border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{rank3|}}}| |display: none;}}{{#if:{{{succeeded3|}}}| |display: none;width:auto;}}" valign="top" | '''Succeeded by'''
| style="{{#if:{{{rank3|}}}| |display: none;}}{{#if:{{{succeeded3|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{succeeded3}}}
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Profile Information'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{aliases|}}}| |display: none;}}" valign="top" | '''Aliases'''
| style="{{#if:{{{aliases|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aliases|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{nation|}}}| |display: none;}}" valign="top" | '''Nation'''
| style="{{#if:{{{nation|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nation|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{town|}}}| |display: none;}}" valign="top" | '''Town'''  
| style="{{#if:{{{town|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{town|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| 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:{{{clan|}}}| |display: none;}}" valign="top" | '''Clan'''
| style="{{#if:{{{clan|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{clan|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{religion|}}}| |display: none;}}" valign="top" | '''Religion'''
| style="{{#if:{{{religion|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{religion|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{spouse|}}}| |display: none;}}" valign="top" | '''Spouse(s)'''
| style="{{#if:{{{spouse|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{spouse|}}}
|- 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|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{signature|}}}| |display: none;}}" valign="top" | '''Signature'''
| style="{{#if:{{{signature|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{signature|}}}
|-
! 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|flooding}}
|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=
|religion=Example
|date_of_spawn=
|spouse=Example
|place_of_spawn=
|discord=Example
|nationality=
|signature=Example
|gender=
|date_of_spawn=Example
|blood_type=
|place_of_spawn=Example
|zodiac=
|nationality=Example
|height=
|gender=Example
|weight=
|blood_type=Example
|status=
|zodiac=Example
|server_role=
|height=Example
|date_of_ban=
|weight=Example
|reason=
|status=Example
|nation_history=
|server_role=Example
|date_of_ban=Example
|reason=Example
|nation_history=Example
|rank1=bruh
|incumbent1=
|office1=17-16
|higher1=A
|higher1value=B
|preceded1=C
|succeeded1=D
}}
}}
</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>

Latest revision as of 10:36, 16 November 2023

Player
{{{image1}}}
'
Incumbent
In office
{{{office1}}}
'
Preceded by
Succeeded by
'
Incumbent
In office
{{{office2}}}
'
Preceded by
Succeeded by
'
Incumbent
In office
{{{office3}}}
'
Preceded by
Succeeded by
Profile Information
Aliases
Nation
Town
Towny Rank
Occupation
Organization
Political Party
Clan
Religion
Spouse(s)
Discord
Signature
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|flooding}}
|image1=Example
|caption1=Example
|aliases=Example
|nation=Example
|town=Example
|towny_rank=Example
|occupation=Example
|organization=Example
|political_party=Example
|religion=Example
|spouse=Example
|discord=Example
|signature=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
|rank1=bruh
|incumbent1=
|office1=17-16
|higher1=A
|higher1value=B
|preceded1=C
|succeeded1=D
}}