Template:Infobox Smasher: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (Let's tone this down a little. Only smasher articles who's infoboxes have the "skill" parameter should show)
(we already have a system for this kind of thing)
Line 1: Line 1:
<noinclude>{{Smasher Infobox/doc}}</noinclude><includeonly>{| class="infobox" cellspacing="5" style="width: 21em; font-size: 90%; text-align: left;"
<noinclude>{{DeprecationReason|"skill" parameter has been split into individual games}}{{Smasher Infobox/doc}}</noinclude><includeonly>{| class="infobox" cellspacing="5" style="width: 21em; font-size: 90%; text-align: left;"
|-
|-
! colspan="2" style="background-color: #eee; text-align: center; font-size: 130%;" | {{{name|{{PAGENAME}}}}}{{#if:{{{alias|}}}|&nbsp;"''{{{alias}}}''"}}
! colspan="2" style="background-color: #eee; text-align: center; font-size: 130%;" | {{{name|{{PAGENAME}}}}}{{#if:{{{alias|}}}|&nbsp;"''{{{alias}}}''"}}
Line 100: Line 100:
{{#if:{{{skill|}}}{{{skillssb|}}}{{{skillssbm|}}}{{{skillssbb|}}}{{{skillssb3ds|}}}{{{skillssbwu|}}}{{{skillssb4|}}}{{{skillpm|}}}|
{{#if:{{{skill|}}}{{{skillssb|}}}{{{skillssbm|}}}{{{skillssbb|}}}{{{skillssb3ds|}}}{{{skillssbwu|}}}{{{skillssb4|}}}{{{skillpm|}}}|
! Skill
! Skill
{{!}} {{#if:{{{skill|}}}|{{GameIcon}} {{{skill}}} <br>}}{{#if:{{{skillssb|}}}|{{GameIcon|SSB}} {{{skillssb}}} <br>}}{{#if:{{{skillssbm|}}}|{{GameIcon|SSBM}} {{{skillssbm}}} <br>}}{{#if:{{{skillssbb|}}}|{{GameIcon|SSBB}} {{{skillssbb}}} <br>}}{{#if:{{{skillssb3ds|}}}|{{GameIcon|SSB4-3}} {{{skillssb3ds}}} <br>}}{{#if:{{{skillssbwu|}}}|{{GameIcon|SSB4-U}} {{{skillssbwu}}} <br>}}{{#if:{{{skillssb4|}}}|{{GameIcon|SSB4}} {{{skillssb4}}} <br>}}{{#if:{{{skillpm|}}}|[[File:PM Icon.png|16px|link=Project M]] {{{skillpm}}}}}}}
{{!}} {{#if:{{{skill|}}}|{{GameIcon}} {{{skill}}} {{#ifeq:{{NAMESPACE}}|Smasher|{{deprecated}}}}<br>}}{{#if:{{{skillssb|}}}|{{GameIcon|SSB}} {{{skillssb}}} <br>}}{{#if:{{{skillssbm|}}}|{{GameIcon|SSBM}} {{{skillssbm}}} <br>}}{{#if:{{{skillssbb|}}}|{{GameIcon|SSBB}} {{{skillssbb}}} <br>}}{{#if:{{{skillssb3ds|}}}|{{GameIcon|SSB4-3}} {{{skillssb3ds}}} <br>}}{{#if:{{{skillssbwu|}}}|{{GameIcon|SSB4-U}} {{{skillssbwu}}} <br>}}{{#if:{{{skillssb4|}}}|{{GameIcon|SSB4}} {{{skillssb4}}} <br>}}{{#if:{{{skillpm|}}}|[[File:PM Icon.png|16px|link=Project M]] {{{skillpm}}}}}}}
|-
|-
{{#if:{{{ranking|}}}{{{rating|}}}|
{{#if:{{{ranking|}}}{{{rating|}}}|
Line 132: Line 132:
! Location
! Location
{{!}} style="text-align: right;" {{!}} {{{location|{{{country|}}}}}}{{#if:{{{country|}}}|&ensp;{{Flag|{{{country}}}}}}}}}
{{!}} style="text-align: right;" {{!}} {{{location|{{{country|}}}}}}{{#if:{{{country|}}}|&ensp;{{Flag|{{{country}}}}}}}}}
|}
|}
<!--{{#if:{{{skillssb|}}}{{{skillssbm|}}}{{{skillssbb|}}}{{{skillssb3ds|}}}{{{skillssbwu|}}}{{{skillssb4|}}}{{{skillpm|}}}||{{#ifeq:{{NAMESPACE}}|Smasher|<includeonly>[[Category:Smasher articles in need of skill upgrade]]</includeonly>}}}}-->
{{#if:{{{skill|}}}|{{#ifeq:{{NAMESPACE}}|Smasher|<includeonly>[[Category:Smasher articles in need of skill upgrade]]</includeonly>}}}}

Revision as of 08:35, October 30, 2015

Deprecated.png This template has a deprecated element. All uses of this template should be updated to conform to its new state before said element is removed.
The given undeprecation instructions are:
"skill" parameter has been split into individual games

Template:Smasher Infobox/doc