Difference between revisions of "Template:SetLinks"
From SpiralKnights
m (created (no shortcuts so things with weird names can work)) |
m (test switch for icons (sometimes there's not an official icon)) |
||
Line 1: | Line 1: | ||
+ | {{#switch:{{{icons|}}} | ||
+ | |#default = | ||
{{#if: {{{item 1|}}} |* [[Image:Equipment-{{{item 1}}}_icon.png|36px|link={{{item 1}}}]] [[{{{item 1}}}]] | | {{#if: {{{item 1|}}} |* [[Image:Equipment-{{{item 1}}}_icon.png|36px|link={{{item 1}}}]] [[{{{item 1}}}]] | | ||
}}{{#if: {{{item 2|}}} |* [[Image:Equipment-{{{item 2}}}_icon.png|36px|link={{{item 2}}}]] [[{{{item 2}}}]] | | }}{{#if: {{{item 2|}}} |* [[Image:Equipment-{{{item 2}}}_icon.png|36px|link={{{item 2}}}]] [[{{{item 2}}}]] | | ||
Line 7: | Line 9: | ||
}}{{#if: {{{item 7|}}} |* [[Image:Equipment-{{{item 7}}}_icon.png|36px|link={{{item 7}}}]] [[{{{item 7}}}]] | | }}{{#if: {{{item 7|}}} |* [[Image:Equipment-{{{item 7}}}_icon.png|36px|link={{{item 7}}}]] [[{{{item 7}}}]] | | ||
}}{{#if: {{{item 8|}}} |* [[Image:Equipment-{{{item 8}}}_icon.png|36px|link={{{item 8}}}]] [[{{{item 8}}}]] | | }}{{#if: {{{item 8|}}} |* [[Image:Equipment-{{{item 8}}}_icon.png|36px|link={{{item 8}}}]] [[{{{item 8}}}]] | | ||
− | }}{{#if: {{{item 9|}}} |* [[Image:Equipment-{{{item 9}}}_icon.png|36px|link={{{item 9}}}]] [[{{{item 9}}}]] | | + | }}{{#if: {{{item 9|}}} |* [[Image:Equipment-{{{item 9}}}_icon.png|36px|link={{{item 9}}}]] [[{{{item 9}}}]] | }} |
+ | |no = | ||
+ | {{#if: {{{item 1|}}} |*[[{{{item 1}}}]] | | ||
+ | }}{{#if: {{{item 2|}}} |* [[{{{item 2}}}]] | | ||
+ | }}{{#if: {{{item 3|}}} |* [[{{{item 3}}}]] | | ||
+ | }}{{#if: {{{item 4|}}} |* [[{{{item 4}}}]] | | ||
+ | }}{{#if: {{{item 5|}}} |* [[{{{item 5}}}]] | | ||
+ | }}{{#if: {{{item 6|}}} |* [[{{{item 6}}}]] | | ||
+ | }}{{#if: {{{item 7|}}} |* [[{{{item 7}}}]] | | ||
+ | }}{{#if: {{{item 8|}}} |* [[{{{item 8}}}]] | | ||
+ | }}{{#if: {{{item 9|}}} |* [[{{{item 9}}}]] | }} | ||
}} | }} |