Editing Template:IconLink

From Ephinea PSO Wiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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|16px]] 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 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>.
Please note that all contributions to Ephinea PSO Wiki are considered to be released under the CC BY-NC-SA 4.0 (see Ephinea PSO Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)