Template:PM recipe list: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Created page with "<includeonly>{| class="wikitable" style="text-align:center" ! Recipe ! {{{resultlabel|Result}}} ! {{{gamelabel|Game}}} {{#forargs:recipe|key|value|<nowiki/> {{!}}- {{!}} {{#var:value}} {{!}}{{!}} {{{result{{#var:key}}|}}} {{!}}{{!}} {{{game{{#var:key}}|}}} }} |}</includeonly><noinclude> == Usage == This template establishes a consistent format for listing which recipes in the ''Paper Mario'' series that an item can be an ingredient of. The sy...")
 
mNo edit summary
Line 1: Line 1:
<includeonly>{| class="wikitable" style="text-align:center"
<includeonly>{| class="wikitable" style="text-align:center"
! Recipe
! #
! {{{recipelabel|Recipe}}}
! {{{resultlabel|Result}}}
! {{{resultlabel|Result}}}
! {{{gamelabel|Game}}}
! {{{gamelabel|Game}}}
{{#forargs:recipe|key|value|<nowiki/>
{{#forargs:recipe|key|value|<nowiki/>
{{!}}-
{{!}}-
{{!}} {{#var:value}} {{!}}{{!}} {{{result{{#var:key}}|}}} {{!}}{{!}} {{{game{{#var:key}}|}}}
{{!}} {{#var:key}} {{!}}{{!}} {{#var:value}} {{!}}{{!}} {{{result{{#var:key}}|}}} {{!}}{{!}} {{{game{{#var:key}}|}}}
}}
}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>

Revision as of 14:55, June 25, 2024

Usage

This template establishes a consistent format for listing which recipes in the Paper Mario series that an item can be an ingredient of. The syntax is as follows:

{{PM recipe list
|recipe1=
|result1=
|game1=
}}

This works for any amount of numbered recipe/result/game parameters.