Editing Template:IconLink
From Ephinea PSO Wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 23: | Line 23: | ||
This template accepts up to 4 numbered parameters and an additional <code>nolink</code> parameter. | This template accepts up to 4 numbered parameters and an additional <code>nolink</code> parameter. | ||
The first parameter is the icon the link will be rendered with; for example, <code><nowiki>{{IconLink|sword}}</nowiki></code> will generate a link with a [[File:Sword icon.png | The first parameter is the icon the link will be rendered with; for example, <code><nowiki>{{IconLink|sword}}</nowiki></code> will generate a link with a [[File:Sword icon.png]] icon in front of it. This parameter must match with an image name – for example, <code><nowiki>{{IconLink|booma}}</nowiki></code> matches <code><nowiki>Booma.png</nowiki></code> – or the link won't render properly. This template was made to be used with the specific icon images on this wiki – for example, <code><nowiki>{{IconLink|gun}}</nowiki></code> will automatically use <code><nowiki>Gun icon.png</nowiki></code> – however, any image is technically usable, and will be resized to a 16-pixel-wide image. | ||
The second parameter ''may'' be a color, but this is optional. Supported colors are <span class="link">link</span>, <span class="normal">normal</span>, <span class="white">white</span>, <span class="attributes">attributes</span>, <span class="green">green</span>, <span class="untekked">untekked</span>, <span class="cyan">cyan</span>, <span class="blue">blue</span>, <span class="rare">rare</span>, <span class="yellow">yellow</span>, <span class="es">es</span>, <span class="red">red</span>, <span class="native">native</span>, <span class="abeast">abeast</span>, <span class="ab">ab</span>, <span class="machine">machine</span>, <span class="dark">dark</span>, <span class="olga2">olga2</span>, and <span class="glow">glow</span>. | The second parameter ''may'' be a color, but this is optional. Supported colors are <span class="link">link</span>, <span class="normal">normal</span>, <span class="white">white</span>, <span class="attributes">attributes</span>, <span class="green">green</span>, <span class="untekked">untekked</span>, <span class="cyan">cyan</span>, <span class="blue">blue</span>, <span class="rare">rare</span>, <span class="yellow">yellow</span>, <span class="es">es</span>, <span class="red">red</span>, <span class="native">native</span>, <span class="abeast">abeast</span>, <span class="ab">ab</span>, <span class="machine">machine</span>, <span class="dark">dark</span>, <span class="olga2">olga2</span>, and <span class="glow">glow</span>. |