Template:SMM2 modifiers: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "Category:Formatting templates" to "Category:Content templates") |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{{1}}}<br | <includeonly>{{{1}}}<br>{{#if: {{{mushroom|}}}|[[File:SMM2 Add Mushroom icon.png|25px|link={{#ifeq: {{{mushroom|}}}|1||{{#ifeq: {{{mushroom|}}}|2|{{!}}Attaching a Super Mushroom causes it to appear instead when the player is small.|{{{mushroom|}}}}}}}]]}} {{#if: {{{wings|}}}|[[File:SMM2 Add Wings icon.png|25px|link={{#ifeq: {{{wings|}}}|1||{{{wings|}}}}}]]}} {{#if: {{{parachute|}}}|[[File:SMM2 Add Parachute icon.png|25px|link={{#ifeq: {{{parachute|}}}|1||{{{parachute|}}}}}]]}}</includeonly><noinclude> | ||
Displays a course element name with the icons for [[Super Mushroom]] (<code>mushroom</code>), [[wings]] (<code>wings</code>), and [[parachute]] (<code>parachute</code>) respectively, if specified. The modifier icons link to an article if the parameter value is not <code>1</code>. | |||
This template is meant to be used for ''[[Super Mario Maker 2]]'' objects. | This template is meant to be used for ''[[Super Mario Maker 2]]'' objects. | ||
=== Examples === | === Examples === | ||
{|class="wikitable" style="width:85%;text-align:center;margin:auto" | |||
|{{SMM2 Modifiers|[[Goomba]]|mushroom=Big Goomba|wings=Paragoomba|parachute=1}} | |||
|<pre>{{SMM2 Modifiers|[[Goomba]]|mushroom=Big Goomba|wings=Paragoomba|parachute=1}}</pre> | |||
|- | |||
|{{SMM2 Modifiers|[[Koopa Troopa]]|wings=Koopa Paratroopa}} | |||
||<pre>{{SMM2 Modifiers|[[Koopa Troopa]]|wings=Koopa Paratroopa}}</pre> | |||
|- | |||
|{{SMM2 Modifiers|[[Yoshi's Egg]]|parachute=1}} | |||
|<pre>{{SMM2 Modifiers|[[Yoshi's Egg]]|parachute=1}}</pre> | |||
|} | |||
[[Category:Content templates]]</noinclude> | [[Category:Content templates]]</noinclude> |
Revision as of 00:22, April 13, 2022
Displays a course element name with the icons for Super Mushroom (mushroom
), wings (wings
), and parachute (parachute
) respectively, if specified. The modifier icons link to an article if the parameter value is not 1
.
This template is meant to be used for Super Mario Maker 2 objects.
Examples
Template:SMM2 Modifiers | {{SMM2 Modifiers|[[Goomba]]|mushroom=Big Goomba|wings=Paragoomba|parachute=1}} |
Template:SMM2 Modifiers | {{SMM2 Modifiers|[[Koopa Troopa]]|wings=Koopa Paratroopa}} |
Template:SMM2 Modifiers | {{SMM2 Modifiers|[[Yoshi's Egg]]|parachute=1}} |