Template:Infobox player: Difference between revisions

From EverVoid Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
|-
{| class="rsw-infobox plainlinks {{parentitle|{{{name}}}}}" id="infobox-character" cellpadding="0" cellspacing="0"
! colspan="2" | <div class="wikia-infobox-section-header">Basic info</div>
 
|-
|-
{{#if: {{{aka|}}} |
{{#if:{{{image|}}} |  
! Also Known As
{{!}} class="infobox-image" colspan="2" {{!}} [[File:{{{image}}}|300px]] }}
{{!}} {{{aka}}}
| }}
 
|-
|-
! Date of Birth
! class="infobox-header" colspan=2 | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
| {{{dob|''Unknown''}}}
 
|-
|-
! Place of Birth
! nowrap="nowrap" | [[List of races|Race]]
| {{{birthplace|''Unknown''}}}
| {{#if:{{{race|}}}|{{{race}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
 
|-
|-
! Occupation
! nowrap="nowrap" | [[Gender]]
| {{{occupation|''Unknown''}}}
| {{#if:{{{gender|}}}|{{{gender}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
 
|-
|-
! Family
! nowrap="nowrap" | Status
| {{{family|''Unknown''}}}
| {{#if:{{{status|}}}|{{{status}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
Because we left the other parts alone, there are also
|-
! nowrap="nowrap" | Faction
| {{#if:{{{faction|}}}|{{{faction}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
|-
! nowrap="nowrap" | First appearance
| {{#if:{{{first|}}}|{{{first}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
|-
! nowrap="nowrap" | Last appearance
| {{#if:{{{last|}}}|{{{last}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
{{#if:{{{features|}}}|{{!}}-
! Notable features
{{!}} {{{features}}} }}
|-
! class="infobox-subheader" colspan="2" | Template links
|-
| class="infobox-template-links" colspan="2" | [[Template:Infobox character|Infobox]] {{*}} [[Template talk:Infobox character|Talk page]]
|}{{PreloadPage}}<noinclude>{{/doc}}</noinclude>

Revision as of 02:15, 24 February 2020

Template:PreloadPageThis page contains documentation about how the player infobox works and how to use it.

Credits to Tober1276 for making the player infobox work and making the documentation.

Blank template:

{{Infobox_player
|title = 
|image = 
|Rank = 
|Discord = 
|Clan = 
|Status = 
|Join date = 
}}

First Example usage:

{{Infobox_player
|title = Notch
|image = Full_example.png
|Rank = Member
|Discord = Notch#1234
|Clan = Guild_Name
|Status = Active/Semi-Active/Inactive
|Join date = MM/DD/YY @ HR:MIN AM/PM [UTC] 
}}

Will Return:

Template:PreloadPage

You can use NameMc to get full body pictures.

A player infobox that will be displayed containing a player's general information.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
titletitle

Displays the player's Minecraft username

Example
Notch
Stringrequired
imageimage

Displays the player's full body skin

Filerequired
RankRank

Displays the player's EverVoid Survival server rank

Example
Member, Vet, Helper, Builder, Mod, Admin, Co-Owner, Owner
Stringrequired
DiscordDiscord

Displays the player's Discord username+Tag

Example
EverVoid#1234
Stringoptional
ClanClan

Displays the player's Guild/Clan on EverVoid Survival

Stringoptional
StatusStatus

Displays the player's activity status

Example
Active, Semi-Active, Inactive
Stringrequired
Join dateJoin date

Displays the player's first join date on EverVoid Survival

Example
MM/DD/YY @ HR:MIN AM/PM [UTC]
Stringoptional

Second Example usage:

{{Infobox_player
|title = TobuscusX
|image = Full_tobuscusX.png
|Rank = Vet
|Discord = Toby#0929
|Status = Semi-Active
|Join date = 02/24/18 @ 7:51 AM [UTC]
}}

Will Return:

Template:PreloadPage

You can use NameMc to get full body pictures.

A player infobox that will be displayed containing a player's general information.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
titletitle

Displays the player's Minecraft username

Example
TobuscusX
Stringrequired
imageimage

Displays the player's full body skin

Example
Full_tobuscusX.png
Filerequired
RankRank

Displays the player's EverVoid Survival server rank

Example
Vet
Stringrequired
DiscordDiscord

Displays the player's Discord username+Tag

Example
Toby#0929
Stringoptional
StatusStatus

Displays the player's activity status

Example
Semi-Active
Stringrequired
Join dateJoin date

Displays the player's first join date on EverVoid Survival

Example
02/24/18 @ 7:51 AM [UTC]
Stringoptional

HTLM Code:

Importing this code to a template page will enable the infobox_player to appear.

<table class="rsw-infobox plainlinks no-parenthesis-style" cellpadding="0" cellspacing="0">
<tr>
<td class="infobox-image bordered-image" colspan="2">[[File:{{{image}}}|224x300px]]
</td></tr>
<tr>
<th class="infobox-header" colspan="2">{{{title|{{PAGENAME}}}}}
</th></tr>
{{#if:{{{Rank|}}}|<tr>
    <th>Rank</th>
    <td>{{{Rank}}}</td>
</tr>}}{{#if:{{{Discord|}}}|<tr>
    <th>Discord</th>
    <td>{{{Discord}}}</td>
</tr>}}{{#if:{{{Clan|}}}|<tr>
    <th>Clan</th>
    <td>{{{Clan}}}</td>
</tr>}}{{#if:{{{Status|}}}|<tr>
    <th>Status</th>
    <td>{{{Status}}}</td>
</tr>}}{{#if:{{{Join date|}}}|<tr>
    <th>Join date</th>
    <td>{{{Join date}}}</td>
</tr>}}</table>