Difference between revisions of "Template:CollectionNavList"
From Nookipedia, the Animal Crossing wiki
Dorsal Axe (talk | contribs) |
Dorsal Axe (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly>| style="background: #{{#switch: {{{Type}}} | Art = e6f1ff | Fossil = fee7fa | Bug = edffb3 | Fish = edffb3 | Deep Sea = c2c2f0 | {{{CustomColor|ffffff}}} }}; {{roundyleft|10px}}" width="32px" align="center" |[[File:{{{Icon}}}|{{{IconSize}}}|link={{#if:{{{NameLink|}}}|{{{NameLink|}}}|{{{Name}}}}}]] | <includeonly>| style="background: #{{#switch: {{{Type}}} | Art = e6f1ff | Fossil = fee7fa | Bug = edffb3 | Fish = edffb3 | Deep Sea = c2c2f0 | {{{CustomColor|ffffff}}} }}; {{roundyleft|10px}}" width="32px" align="center" |[[File:{{{Icon}}}|{{{IconSize}}}|link={{#if:{{{NameLink|}}}|{{{NameLink|}}}|{{{Name}}}}}]] | ||
− | | {{#if:{{{Rowspan|}}}|Rowspan =|}} style="background: #{{#switch: {{{Type}}} | Art = e6f1ff | Fossil = fee7fa | Bug = edffb3 | Fish = edffb3 | Deep Sea = c2c2f0 | {{{CustomColor|ffffff}}} }}; {{roundyright|10px}}" width="100px" | <center>{{#if:{{{Japanese|}}}|''|}}{{#if:{{{NameLink|}}}|[[{{{NameLink}}}|{{{Name}}}]]|[[{{{Name}}}]]}} {{#if:{{{Island|}}}|[[File:Animal Island PG Icon.png|10px|link=Island exclusive]]|}} </center></includeonly> | + | | {{#if:{{{Rowspan|}}}|Rowspan = {{{Rowspan}}}|}} style="background: #{{#switch: {{{Type}}} | Art = e6f1ff | Fossil = fee7fa | Bug = edffb3 | Fish = edffb3 | Deep Sea = c2c2f0 | {{{CustomColor|ffffff}}} }}; {{roundyright|10px}}" width="100px" | <center>{{#if:{{{Japanese|}}}|''|}}{{#if:{{{NameLink|}}}|[[{{{NameLink}}}|{{{Name}}}]]|[[{{{Name}}}]]}} {{#if:{{{Island|}}}|[[File:Animal Island PG Icon.png|10px|link=Island exclusive]]|}} </center></includeonly> |
<noinclude> | <noinclude> | ||
== Summary == | == Summary == |
Revision as of 10:43, October 24, 2019
Summary
This template will create a navbox list for collectibles: Art, Fossils, Bugs, Fish, Deep Sea creatures. This template is to be used in conjunction with Template:NavHeader and Template:NavGroup.
Parameters
All parameters are required unless otherwise noted.
- Name - Display name of the collectable.
- NameLink - This can optionally be used to create a wikilink that's different to the display name.
- Island - This can optionally be used to indicate if the collectable is exclusive to Animal Island or Tortimer Island.
- Icon - Set the filename of the collectable's encyclopedia icon. The
File:
prefix must not be included in the filename. - IconSize - Set the size in pixels that the icon will be displayed at.
- Type - Type of collectible. Valid parameters are
Art
,Fossil
,Bug
,Fish
, andDeep Sea
.