Template:Infobox player/doc: Difference between revisions
No edit summary |
No edit summary |
||
| (36 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
=== Example usage: === | '''This 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: === | |||
<pre> | |||
{{Infobox_player | |||
|title = | |||
|image = | |||
|Rank = | |||
|Discord = | |||
|Clan = | |||
|Status = | |||
|Join date = | |||
}} | |||
</pre> | |||
=== First Example usage: === | |||
<pre> | <pre> | ||
{{Infobox_player | {{Infobox_player | ||
| Line 8: | Line 25: | ||
|Clan = Guild_Name | |Clan = Guild_Name | ||
|Status = Active/Semi-Active/Inactive | |Status = Active/Semi-Active/Inactive | ||
|Join date = | |Join date = MM/DD/YY @ HR:MIN AM/PM [UTC] | ||
}} | }} | ||
</pre> | </pre> | ||
==== Will Return: ==== | |||
===Will | |||
{{Infobox_player | {{Infobox_player | ||
|title = Notch | |title = Notch | ||
| Line 22: | Line 37: | ||
|Clan = Guild_Name | |Clan = Guild_Name | ||
|Status = Active/Semi-Active/Inactive | |Status = Active/Semi-Active/Inactive | ||
|Join date = | |Join date = MM/DD/YY @ HR:MIN AM/PM [UTC] | ||
}} | }} | ||
''You can use [https://namemc.com NameMc] to get full body pictures.'' | |||
<templatedata> | |||
{ | |||
"params": { | |||
"title": { | |||
"description": "Displays the player's Minecraft username", | |||
"type": "string", | |||
"example": "Notch", | |||
"required": true | |||
}, | |||
"image": { | |||
"description": "Displays the player's full body skin", | |||
"type": "wiki-file-name", | |||
"required": true | |||
}, | |||
"Rank": { | |||
"description": "Displays the player's EverVoid Survival server rank", | |||
"type": "string", | |||
"required": true, | |||
"example": "Member, Vet, Helper, Builder, Mod, Admin, Co-Owner, Owner" | |||
}, | |||
"Discord": { | |||
"type": "string", | |||
"description": "Displays the player's Discord username+Tag", | |||
"example": "EverVoid#1234" | |||
}, | |||
"Clan": { | |||
"type": "string", | |||
"description": "Displays the player's Guild/Clan on EverVoid Survival" | |||
}, | |||
"Status": { | |||
"type": "string", | |||
"description": "Displays the player's activity status", | |||
"example": "Active, Semi-Active, Inactive", | |||
"required": true | |||
}, | |||
"Join date": { | |||
"type": "string", | |||
"description": "Displays the player's first join date on EverVoid Survival", | |||
"example": "MM/DD/YY @ HR:MIN AM/PM [UTC]" | |||
} | |||
}, | |||
"description": "A player infobox that will be displayed containing a player's general information.", | |||
"format": "{{_|_=_\n}}" | |||
} | |||
</templatedata> | |||
=== Second Example usage: === | |||
<pre> | |||
{{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] | |||
}} | |||
</pre> | |||
==== Will Return: ==== | |||
{{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] | |||
}} | |||
''You can use [https://namemc.com NameMc] to get full body pictures.'' | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
" | "title": { | ||
"description": "Displays the player's Minecraft username", | |||
"image": {}, | "type": "string", | ||
" | "example": "TobuscusX", | ||
" | "required": true | ||
" | }, | ||
"image": { | |||
"description": "Displays the player's full body skin", | |||
"type": "wiki-file-name", | |||
" | "example": "Full_tobuscusX.png", | ||
"required": true | |||
}, | |||
"Rank": { | |||
"description": "Displays the player's EverVoid Survival server rank", | |||
"type": "string", | |||
"required": true, | |||
"example": "Vet" | |||
}, | |||
"Discord": { | |||
"type": "string", | |||
"description": "Displays the player's Discord username+Tag", | |||
"example": "Toby#0929" | |||
}, | |||
"Status": { | |||
"type": "string", | |||
"description": "Displays the player's activity status", | |||
"example": "Semi-Active", | |||
"required": true | |||
}, | |||
"Join date": { | |||
"type": "string", | |||
"description": "Displays the player's first join date on EverVoid Survival", | |||
"example": "02/24/18 @ 7:51 AM [UTC]" | |||
} | |||
}, | }, | ||
"description": " | "description": "A player infobox that will be displayed containing a player's general information.", | ||
"format": "{{_|_=_\n}}" | "format": "{{_|_=_\n}}" | ||
} | } | ||
</templatedata> | </templatedata> | ||
=== HTLM Code: === | |||
Importing this code to a template page will enable the infobox_player to appear. | |||
<pre> | |||
<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> | |||
</pre> | |||
Latest revision as of 23:44, 25 June 2020
This 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:
| Notch | |
|---|---|
| Rank | Member |
| Discord | Notch#1234 |
| Clan | Guild_Name |
| Status | Active/Semi-Active/Inactive |
| Join date | MM/DD/YY @ HR:MIN AM/PM [UTC] |
You can use NameMc to get full body pictures.
A player infobox that will be displayed containing a player's general information.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| title | title | Displays the player's Minecraft username
| String | required |
| image | image | Displays the player's full body skin | File | required |
| Rank | Rank | Displays the player's EverVoid Survival server rank
| String | required |
| Discord | Discord | Displays the player's Discord username+Tag
| String | optional |
| Clan | Clan | Displays the player's Guild/Clan on EverVoid Survival | String | optional |
| Status | Status | Displays the player's activity status
| String | required |
| Join date | Join date | Displays the player's first join date on EverVoid Survival
| String | optional |
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:
| TobuscusX | |
|---|---|
| Rank | Vet |
| Discord | Toby#0929 |
| Status | Semi-Active |
| Join date | 02/24/18 @ 7:51 AM [UTC] |
You can use NameMc to get full body pictures.
A player infobox that will be displayed containing a player's general information.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| title | title | Displays the player's Minecraft username
| String | required |
| image | image | Displays the player's full body skin
| File | required |
| Rank | Rank | Displays the player's EverVoid Survival server rank
| String | required |
| Discord | Discord | Displays the player's Discord username+Tag
| String | optional |
| Status | Status | Displays the player's activity status
| String | required |
| Join date | Join date | Displays the player's first join date on EverVoid Survival
| String | optional |
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>