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 29: Line 29:
:If a different value or no value is specified, it will automatically use the <span class="link">link</span> color, and the second parameter will instead become the page that the link points to. This is useful for quickly rendering a link that doesn't need a particular text color, like for a technique; for example, a [[Handgun]] has an icon but no specific in-game text color, so using <code><nowiki>{{IconLink|gun|Handgun}}</nowiki></code> will quickly render a {{IconLink|gun|Handgun}} link. However, all items already have easier-to-use templates; see [[:Category:Link templates]] for more information.
:If a different value or no value is specified, it will automatically use the <span class="link">link</span> color, and the second parameter will instead become the page that the link points to. This is useful for quickly rendering a link that doesn't need a particular text color, like for a technique; for example, a [[Handgun]] has an icon but no specific in-game text color, so using <code><nowiki>{{IconLink|gun|Handgun}}</nowiki></code> will quickly render a {{IconLink|gun|Handgun}} link. However, all items already have easier-to-use templates; see [[:Category:Link templates]] for more information.


If a color was specified, the third parameter is the page that the link points to; for example, <code><nowiki>{{IconLink|cane|attributes|Baton}}</nowiki></code> becomes {{IconLink|cane|attributes|Baton}}. If a color was ''not'' specified, the third parameter is the ''text of the link''; <code><nowiki>{{IconLink|gun|Handgun|Bind Handgun}}</nowiki></code> renders as {{IconLink|gun|Handgun|Bind Handgun}}.
If a color was specified, the third parameter is the page that the link points to; for example, <code><nowiki>{{IconLink|cane|attributes|Baton}}</nowiki></code> becomes {{IconLink|cane|attributes|Baton}}. If a color was ''not'' specified, the third parameter is the ''text of the link''. <code><nowiki>{{IconLink|gun|Handgun|Bind Handgun}}</nowiki></code> renders as {{IconLink|gun|Handgun|Bind Handgun}}.


The fourth parameter is optional, and only necessary if a color was specified. If this is the case, then the fourth parameter is the text of the link; <code><nowiki>{{IconLink|sword|untekked|Gladius|Demon's Gladius}}</nowiki></code> will render as {{IconLink|sword|untekked|Gladius|Demon's Gladius}}.
The fourth parameter is optional, and only necessary if a color was specified. If this is the case, then the fourth parameter is the text of the link; <code><nowiki>{{IconLink|sword|untekked|Gladius|Demon's Gladius}}</nowiki></code> will render as {{IconLink|sword|untekked|Gladius|Demon's Gladius}}.
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)