Template:Number of enemies: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Created page with "<includeonly>{| class="infobox-wide" style="background:gainsboro;border:2px solid darkgray;width:auto;text-align:center" ! {{{imagelabel|Image}}} ! {{{namelabel|Name}}} ! {{{countlabel|Count}}} |- {{#forargs:image|key|value|<nowiki/> {{!}}- {{!}}style="border:1px solid darkgray;background:whitesmoke"{{!}}{{{image{{#var:key}}|}}} {{!}}style="border:1px solid darkgray;background:whitesmoke"{{!}}{{#var:value}} {{!}}style="border:1px solid darkgray;background:whitesmoke"{{!}...") |
m (Text replacement - ""background:gainsboro;border:2px solid darkgray;text-align:center"" to ""text-align:center;background:gainsboro;border:2px solid darkgray"") |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| | <includeonly>{| style="text-align:center;background:gainsboro;border:2px solid darkgray" | ||
! {{{imagelabel|Image}}} | ! {{{imagelabel|Image}}} | ||
! | ! Name | ||
! {{{countlabel|Count}}} | ! {{{countlabel|Count}}} | ||
|- | |- | ||
{{#forargs:image|key|value|<nowiki/> | {{#forargs:image|key|value|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}}style="border:1px solid darkgray;background:whitesmoke"{{!}} | {{!}}style="border:1px solid darkgray;background:whitesmoke;padding:2px"{{!}}{{#var:value}} | ||
{{!}}style="border:1px solid darkgray;background:whitesmoke"{{!}}{{#var: | {{!}}style="border:1px solid darkgray;background:whitesmoke;text-align:left;padding:2px"{{!}}{{{name{{#var:key}}|}}} | ||
{{!}}style="border:1px solid darkgray;background:whitesmoke"{{!}}{{{count{{#var:key}}|}}} | {{!}}style="border:1px solid darkgray;background:whitesmoke;padding:2px"{{!}}{{{count{{#var:key}}|}}} | ||
}} | }} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
This template shows which enemies appear in a location and in what quantities. The syntax is as follows: | This template shows which enemies appear in a location and in what quantities, consistent with in-game data. The syntax is as follows: | ||
<pre> | <pre> | ||
Line 23: | Line 23: | ||
This works for any amount of numbered <code>image</code>/<code>name</code>/<code>count</code> parameters. | This works for any amount of numbered <code>image</code>/<code>name</code>/<code>count</code> parameters. | ||
[[Category: | [[Category:Content templates]]</noinclude> |
Revision as of 20:10, June 10, 2024
This template shows which enemies appear in a location and in what quantities, consistent with in-game data. The syntax is as follows:
{{number of enemies |image1= |name1= |count1= }}
This works for any amount of numbered image
/name
/count
parameters.