Template:SpoilerGallery: Difference between revisions
Jump to navigation
Jump to search
Created page with "<noinclude>A template used to plug in variables and output them into a collated gallery. It is currently used strictly within the purview of Pokemon mounts; however, I may par..." |
No edit summary |
||
Line 8: | Line 8: | ||
{{#arraysize:pokemon}}| | {{#arraysize:pokemon}}| | ||
<td> | <td> | ||
{{#arrayindex:pokemon|{{#var:mounts}}}} Mount<br> | {{#arrayindex:pokemon|{{#var:mounts}}}} Mount ({{#if:{{{Shiny|}}}|Shiny}})<br> | ||
<spoiler hide="Show Spoiler!" show="Collapse Spoiler!">[[File: | <spoiler hide="Show Spoiler!" show="Collapse Spoiler!">[[File:{{#if:{{{Shiny|}}}|Shiny_}}{{#arrayindex:pokemon|{{#var:mounts}}}}_Mount.gif]]</spoiler></td> | ||
{{#ifexpr:{{#var:mounts}} / 6 = {{#var:placeholder}} | {{#vardefine:placeholder|{{#expr:{{#var:placeholder}} + 1}}}} </tr><tr> }} | {{#ifexpr:{{#var:mounts}} / 6 = {{#var:placeholder}} | {{#vardefine:placeholder|{{#expr:{{#var:placeholder}} + 1}}}} </tr><tr> }} | ||
}} | }} | ||
</tr> | </tr> | ||
</table> | </table> | ||
</includeonly> |
Revision as of 04:15, 7 February 2017
A template used to plug in variables and output them into a collated gallery. It is currently used strictly within the purview of Pokemon mounts; however, I may parlay its scalability later to be more all-purpose in its applicative complexion.