User:Tiddlywinks/fa-row: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
Tiddlywinks (talk | contribs) m (removed) |
Tiddlywinks (talk | contribs) ("Warning: This page calls User:Tiddlywinks/fa-row which causes a template loop (an infinite recursive call)."/"Template loop detected: User:Tiddlywinks/fa-row"... Wikipedia has recursive templates, IDK why this is complaining. But fine, at least most Pokemon have <=5 forms, I'll manage the rest) |
||
Line 21: | Line 21: | ||
{{!}}- | {{!}}- | ||
{{!}} {{#expr: {{{start|0}}} + 4}} {{!}}{{!}} {{User:Tiddlywinks/FormImageData|{{{1|0}}}|form|{{#expr: {{{start|0}}} + 4}}}} {{!}}{{!}} {{User:Tiddlywinks/FormImageData|{{{1|0}}}|ms|{{#expr: {{{start|0}}} + 4}}}} {{!}}{{!}} {{{{{ms|MS/6}}}|{{padleft:{{{1|0}}}|{{{padding|3}}}|0}}|form={{User:Tiddlywinks/FormImageData|{{{1|0}}}|ms|{{#expr: {{{start|0}}} + 4}}}} }} {{!}}{{!}} {{User:Tiddlywinks/FormImageData|{{{1|0}}}|art|{{#expr: {{{start|0}}} + 4}}}} {{!}}{{!}} {{Art|{{padleft:{{{1|0}}}|4|0}}|{{User:Tiddlywinks/FormImageData|{{{1|0}}}|name}}|form={{User:Tiddlywinks/FormImageData|{{{1|0}}}|art|{{#expr: {{{start|0}}} + 4}}}} }} | {{!}} {{#expr: {{{start|0}}} + 4}} {{!}}{{!}} {{User:Tiddlywinks/FormImageData|{{{1|0}}}|form|{{#expr: {{{start|0}}} + 4}}}} {{!}}{{!}} {{User:Tiddlywinks/FormImageData|{{{1|0}}}|ms|{{#expr: {{{start|0}}} + 4}}}} {{!}}{{!}} {{{{{ms|MS/6}}}|{{padleft:{{{1|0}}}|{{{padding|3}}}|0}}|form={{User:Tiddlywinks/FormImageData|{{{1|0}}}|ms|{{#expr: {{{start|0}}} + 4}}}} }} {{!}}{{!}} {{User:Tiddlywinks/FormImageData|{{{1|0}}}|art|{{#expr: {{{start|0}}} + 4}}}} {{!}}{{!}} {{Art|{{padleft:{{{1|0}}}|4|0}}|{{User:Tiddlywinks/FormImageData|{{{1|0}}}|name}}|form={{User:Tiddlywinks/FormImageData|{{{1|0}}}|art|{{#expr: {{{start|0}}} + 4}}}} }} | ||
}} }} }} }} | }} }} }} }} | ||
}} | }} | ||
Line 27: | Line 26: | ||
---- | ---- | ||
This template reads all forms from [[User:Tiddlywinks/FormImageData]] for a given NDex and prints table rows for the data. | This template reads all forms from [[User:Tiddlywinks/FormImageData]] for a given NDex and prints table rows for the data. It prints up to 5 forms at a time; if there are more, call this template again with <code>start=(5x)</code>. | ||
==Parameters== | ==Parameters== | ||
Line 33: | Line 32: | ||
* 1: NDex (note: if you're using ''ms'' for a pre-Gen IX image, only use 3 digits) | * 1: NDex (note: if you're using ''ms'' for a pre-Gen IX image, only use 3 digits) | ||
;Named | ;Named | ||
* ''start'' (optional): form # to start from | |||
* ''ms'' (optional): switch the MS template used to try to display forms (defaults to MS/6) | * ''ms'' (optional): switch the MS template used to try to display forms (defaults to MS/6) | ||
* ''padding'' (optional): the number of digits to pad the NDex to for the current MS template (defaults to 3); this does not apply to art (which always pads to 4) | * ''padding'' (optional): the number of digits to pad the NDex to for the current MS template (defaults to 3); this does not apply to art (which always pads to 4) | ||
</noinclude> | </noinclude> |
Revision as of 03:42, 8 June 2023
This template reads all forms from User:Tiddlywinks/FormImageData for a given NDex and prints table rows for the data. It prints up to 5 forms at a time; if there are more, call this template again with start=(5x)
.
Parameters
- Unnamed
- 1: NDex (note: if you're using ms for a pre-Gen IX image, only use 3 digits)
- Named
- start (optional): form # to start from
- ms (optional): switch the MS template used to try to display forms (defaults to MS/6)
- padding (optional): the number of digits to pad the NDex to for the current MS template (defaults to 3); this does not apply to art (which always pads to 4)