Template:Infobox Player: Difference between revisions

From BerserkerLoop
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Infobox Smasher/doc}}</noinclude><includeonly>
<noinclude>{{Infobox Smasher/doc}}</noinclude><includeonly>


<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"><!--
{{{!}} <table class="infobox" cellspacing="2" cellpadding="2" style="width: auto; {{{style|}}}">
{{!-}}
|-
|-
! colspan="2" style="background-color: #eee; text-align: center; font-size: 130%;" | {{{name|{{PAGENAME}}}}}{{#if:{{{alias|}}}|{{#forargs:alias|i|a|{{#if:{{{alias{{#var:i}}|}}}|&#32;"{{#var:a}}"}}}}}}
! colspan="2" style="background-color: #eee; text-align: center; font-size: 130%;" | {{{name|{{PAGENAME}}}}}{{#if:{{{alias|}}}|{{#forargs:alias|i|a|{{#if:{{{alias{{#var:i}}|}}}|&#32;"{{#var:a}}"}}}}}}
Line 42: Line 43:
{{!}} style="text-align: right;" {{!}} {{{location|{{{country|}}}}}}{{#if:{{{country|}}}|&ensp;{{Flag|{{{country}}}}}}}}}
{{!}} style="text-align: right;" {{!}} {{{location|{{{country|}}}}}}{{#if:{{{country|}}}|&ensp;{{Flag|{{{country}}}}}}}}}
|}
|}
</table>

Latest revision as of 14:41, 12 January 2023

The documentation for this template resides in Template:Infobox Smasher/doc. If you would like to edit it, go there and edit it.

This template is the standard infobox for all smasher pages, and is also commonly found on user pages.

Code

This lists all the parameters. Not all of them are necessary (such as the games' "more others"), but as many as possible should be filled in. Note that while the "main" and "other" parameters require only the name of a character, the "more others" requires the entire link code.

{{Infobox Smasher
| name                =
| image               =
| caption             =
| sponsor             =
| former sponsors     = 
| rank                =
| peakrank            =
| winnings            =
| alias               =
| realname            =
| birthday            =
| birthmonth          =
| birthyear           =
| deathage            =
| location            =
| country             =
}}

Example

Input:

{{Infobox Smasher
| name          = Jeff
| image         = JeffAssist.jpg
| sponsor       = Ness' Dad
| former sponsors = Snow Wood Boarding House
| crew          = Back Throw Boyz
| former crews  = Saturn Smashers
| alias         = Sgt. Saturn
| realname      = Jeff Andonuts
| birthday      = 17
| birthmonth    = 8
| birthyear     = 1994
| location      = Chiyoda, Tokyo
| country       = japan
}}

Parameters

  • name = The smasher's primary "gamer tag", the name they are primarily known by within the Smash community.
  • image = An image of the smasher. (Image sized to 160 pixels in width)
  • sponsor, sponsor2, etc. - The name of the organization that currently sponsors the player. If the sponsor has or should have a SmashWiki article, be sure to brace the name in two long brackets ("[[Sponsor Name]]")
  • former sponsors - The name of any other organizations that at one time sponsored the player in the past. If the sponsor has or should have a SmashWiki article, be sure to brace the name in two long brackets ("[[Sponsor Name]]")
  • Ranking = If applicable, the smasher's ranking on the current largest-scale power ranking they are rated on for each game. For Melee for example, the highest power ranking would be the most recent SSBMRank list.
  • Winnings = The smasher's approximate winnings from Riders tournaments. The amount earned from each game should be listed separately.
  • realname = The smasher's actual first and last name. Or just the first name if they choose to not have their last name listed.
  • birthday, birthmonth and birthyear = Format for birthday listing; automatically calculates age. Month must be entered as a number (for example, May is 5). If one of the three bits is unknown, don't put any of them in.
  • location = The city and state/province in which the smasher currently lives.
  • country = The country the smasher currently lives in, which is displayed as a flag image.