|
|
Line 2: |
Line 2: |
| {{filepath:Button wii a.svg}} | | {{filepath:Button wii a.svg}} |
| {{filepath:Button wii a.png}} | | {{filepath:Button wii a.png}} |
| =[[Template:Monster]] as an actual template=
| |
| </noinclude>
| |
| {{Infobox-Monster
| |
| |image={{{monstername|{{PAGENAME}}}}}
| |
| |dropscommon={{{commondrops|}}}
| |
| |dropsuncommon={{{uncommondrops|}}}
| |
| |dropsrare={{{raredrops|}}}
| |
| |similar={{{similar|}}}
| |
| |previousmonster={{{previousmonster|}}}
| |
| |nextmonster={{{nextmonster|}}}
| |
| }}
| |
| {{{description}}}
| |
| ==Stats==
| |
| {{{statsnotice|}}}{{Monster Stats|{{{monstername|{{PAGENAME}}}}}|{{{hp}}}|{{{attack}}}|{{{defense}}}|{{{magic}}}|{{{speed}}}|{{{gold}}}|{{{exp}}}|{{{locations}}}}}
| |
| ==Actions==
| |
| {{{actionsnotice|}}}{{Monster Actions|attack1name={{{attack1name|}}}|attack1description={{{attack1description|}}}|attack1use={{{attack1use|}}}|attack1accuracy={{{attack1accuracy|}}}|attack2name={{{attack2name|}}}|attack2description={{{attack2description|}}}|attack2use={{{attack2use|}}}|attack2accuracy={{{attack2accuracy|}}}|attack3name={{{attack3name|}}}|attack3description={{{attack3description|}}}|attack3use={{{attack3use|}}}|attack3accuracy={{{attack3accuracy|}}}|attack4name={{{attack4name|}}}|attack4description={{{attack4description|}}}|attack4use={{{attack4use|}}}|attack4accuracy={{{attack4accuracy|}}}}}
| |
| <noinclude>
| |
|
| |
| ==Usage==
| |
| This template generates the data parts of [[Monster]] pages. It is meant to be used with [[mw:Help:Substitution|substitution]].
| |
| ===Syntax===
| |
| Monstername, similar, the three drops values, and attacks besides 1 are optional
| |
| <pre>
| |
| {{subst:Monster
| |
| |description=The opening to the article. Should cover that they're monsters from Miitopia, their location, physical description, what Mii parts they have, and any other notes that don't belong in trivia.
| |
| |monstername=Monster's name, defaults to the page's name
| |
| |commondrops=commonly dropped Grub
| |
| |uncommondrops=uncommonly dropped Grub (★)
| |
| |raredrops=rarely dropped Grub (★★)
| |
| |similar=variants of this monster
| |
| |previousmonster=The previous monster. Use [[Previous monster name|#previous monster journal number]].
| |
| |nextmonster=The next monster. Use [[Next monster name|#Next monster journal number]].
| |
| |hp=, |attack=, |defense=, |magic=, |speed= Values for respective stats
| |
| |gold=how much gold is dropped by them when defeated
| |
| |exp=experience yield from them
| |
| |locations=locations where they are found
| |
| |statsnotice=notice template for the stats section (if applicable)
| |
| |actionsnotice=notice template for the actions section (if applicable)
| |
| |attackxname=Name of attack x (replace x with a number between 1 and 4)
| |
| |attackxdescription=Description of attack x (replace x with a number between 1 and 4)
| |
| |attackxuse=Chance that the monster uses attack x (replace x with a number between 1 and 4)
| |
| |attackxaccuracy=Chance of attack x hitting a Mii (replace x with a number between 1 and 4)
| |
| }}</pre>
| |
| Other sections of the page (such as names in other languages, trivia, and navboxes) will need to be added after the template.
| |
| ====Raw code====
| |
| <pre>
| |
| {{subst:Monster
| |
| |description=
| |
| |monstername=
| |
| |commondrops=
| |
| |uncommondrops=
| |
| |raredrops=
| |
| |similar=
| |
| |previousmonster=
| |
| |nextmonster=
| |
| |hp=
| |
| |attack=
| |
| |defense=
| |
| |magic=
| |
| |speed=
| |
| |gold=
| |
| |exp=
| |
| |locations=
| |
| |statsnotice=
| |
| |actionsnotice=
| |
| |attack1name=
| |
| |attack1description=
| |
| |attack1use=
| |
| |attack1accuracy=
| |
| |attack2name=
| |
| |attack2description=
| |
| |attack2use=
| |
| |attack2accuracy=
| |
| |attack3name=
| |
| |attack3description=
| |
| |attack3use=
| |
| |attack3accuracy=
| |
| |attack4name=
| |
| |attack4description=
| |
| |attack4use=
| |
| |attack4accuracy=
| |
| }}</pre>
| |
| ==Tab label formatting== | | ==Tab label formatting== |
| {{#css: | | {{#css: |