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 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'' | 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}}. |