Template:CompanyTemplatebyENLS: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>ENLSWiki
(Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="row1">...")
>ENLSWiki
No edit summary
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="title1">
|-
    <default>{{PAGENAME}}</default>
|<div>
  </title>
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle"
  <image source="image1">
|-
    <caption source="caption1"/>
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:200%;" | {{{name|<font color="white">{{{title1}}}</font>}}}
  </image>
|- style="text-align:center;"
  <data source="row1">
|-
    <label>Label</label>
{{#if:{{{image1<includeonly>|</includeonly>}}} |
  </data>
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image1}}}
  <data source="row2">
{{!}}-
    <label>Label</label>
}}
  </data>
|-
</infobox>
| colspan="2" style="{{#if:{{{eras|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{eras|}}}
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''General Information'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{in_game_name|}}}| |display: none;}}" valign="top" | '''In-Game Name'''
| style="{{#if:{{{in_game_name|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{in_game_name|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{joined|}}}| |display: none;}}" valign="top" | '''Joined'''
| style="{{#if:{{{joined|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{joined|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{left|}}}| |display: none;}}" valign="top" | '''Left'''
| style="{{#if:{{{left|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{left|}}}
|- 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:{{{town_rank|}}}| |display: none;}}" valign="top" | '''Town Rank'''
| style="{{#if:{{{town_rank|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{town_rank|}}}
|- 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:{{{nation_rank|}}}| |display: none;}}" valign="top" | '''Nation Rank'''
| style="{{#if:{{{nation_rank|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nation_rank|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{business|}}}| |display: none;}}" valign="top" | '''Business'''
| style="{{#if:{{{business|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{business|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Personal Information'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{real_name|}}}| |display: none;}}" valign="top" | '''Real Name'''
| style="{{#if:{{{real_name|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{real_name|}}}
|- 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:{{{discord|}}}| |display: none;}}" valign="top" | '''Discord'''
| style="{{#if:{{{discord|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{discord|}}}
|}</div>
|}
<noinclude>
<noinclude>
Example usage:<pre>
Example Usage:<pre>
{{CompanyTemplatebyENLS
{{EnhancedPlayer
|color=Example
|title1=Example
|title1=Example
|eras={{Eras|beta|beginning|hype|decline|crepuscular|flooding}}
|image1=Example
|image1=Example
|caption1=Example
|caption1=Example
|row1=Example
|in_game_name=Example
|row2=Example
|joined=Example
|left=Example
|town=Example
|town_rank=Example
|nation=Example
|nation_rank=Example
|business=Example
|real_name=Example
|nationality=Example
|gender=Example
|discord=Example
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Revision as of 08:01, 23 June 2020

{{{title1}}}
{{{image1}}}
General Information
In-Game Name
Joined
Left
Town
Town Rank
Nation
Nation Rank
Business
Personal Information
Real Name
Nationality
Gender
Discord

Example Usage:

{{EnhancedPlayer
|color=Example
|title1=Example
|eras={{Eras|beta|beginning|hype|decline|crepuscular|flooding}}
|image1=Example
|caption1=Example
|in_game_name=Example
|joined=Example
|left=Example
|town=Example
|town_rank=Example
|nation=Example
|nation_rank=Example
|business=Example
|real_name=Example
|nationality=Example
|gender=Example
|discord=Example
}}