Template:HomeStage-SSBC: Difference between revisions

From Mizuumi Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{| class="wikitable" width="600px" ! style="width:20%; text-align:center" | Home Stage | style="width:25%; text-align:center" | {{{HomeStage|}}} | style="width:...")
 
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable" width="600px"  
<noinclude><!--
! style="width:20%; text-align:center" | Home Stage  
-->{{#cargo_declare:
| style="width:25%; text-align:center" | {{{HomeStage|}}}
_table=SSBC_HomeStage
| style="width:55%" | <i>{{{HomeStageImage|}}}</i>
| charaName      = String
|}</includeonly>
| stockIcon      = String
| stageName      = String
| stageLogo      = String
| stageIcon      = String
}}
</noinclude><includeonly>{| class="wikitable" width="600px"  
! style="width:23%; text-align:center" | Home Stage  
| style="width:23%; text-align:center" | [[File:{{{stageIcon|Icon_faq.png}}}]]
| style="width:54%" | [[Super Smash Bros. Crusade/{{{stageName}}}|{{{stageName}}}]] [[File:{{{stageLogo|Icon_faq.png}}}|40x40px]]
|}<!--
--------------------------------------------------
Cargo Store
--------------------------------------------------
-->{{#ifeq:{{{storeInCargo|true}}}|true|{{#cargo_store:
_table=SSBC_HomeStage
| charaName      = {{{charaName}}}
| stockIcon      = {{{stockIcon}}}
| stageName      = {{{stageName}}}
| stageLogo      = {{{stageLogo}}}
| stageIcon      = {{{stageIcon}}}
}}
}}</includeonly>


<noinclude>
<noinclude>

Latest revision as of 09:15, 23 September 2021

This template defines the table "SSBC_HomeStage". View table.


Template DocumentationEdit This Documentation

Usage

Everything is self explanatory except for stockIcon, which is there purely for the Cargo table. Just fill it as the character's stock icon filename, like SSBC_Mario_Stock.png.

{{HomeStage-SSBC
| charaName   = Mario
| stockIcon   = SSBC_Mario_Stock.png
| stageName   = Mushroom Kingdom
| stageLogo   = SSBC_Mario_Icon.png
| stageIcon   = SSBC_MushroomKingdom_StageIcon.png
}}

Example

Note: This example uses a parameter storeInCargo to prevent this example being stored in the Cargo table.

Home Stage SSBC MushroomKingdom StageIcon.png Mushroom Kingdom SSBC Mario Icon.png



This documentation is automatically transcluded from Template:HomeStage-SSBC/Documentation and is not included when this page is transcluded.