Template:SpecialCommon: Difference between revisions
From Ephinea PSO Wiki
No edit summary |
(added switch for dark/freeze/shock specials) |
||
| Line 1: | Line 1: | ||
{{PSO icon|{{{1}}}}}[[{{{3}}}|<span class={{{2}}}>{{{3}}}</span>]] [[{{{4}}}|<span class={{{2}}}>{{{4}}}</span>]]<noinclude> | {{PSO icon|{{{1}}}}}[[{{#switch: {{{3}}} | ||
| Shock | |||
| Freeze | |||
| Dark = {{{3}}} (special) | |||
| {{{3|}}} | |||
}}|<span class={{{2}}}>{{{3}}}</span>]] [[{{{4}}}|<span class={{{2}}}>{{{4}}}</span>]]<noinclude> | |||
==Usage== | ==Usage== | ||
For creating more accurate-to-in-game-looking links for common (or event TypeM or I guess S-Rank) weapons with links to both the special and the weapon type itself, keeping the icon at the start. | For creating more accurate-to-in-game-looking links for common (or event TypeM or I guess S-Rank) weapons with links to both the special and the weapon type itself, keeping the icon at the start. | ||
| Line 16: | Line 21: | ||
<pre>{{SpecialCommon|Sword|rare|Hell|TypeSW/J-Sword}}</pre> | <pre>{{SpecialCommon|Sword|rare|Hell|TypeSW/J-Sword}}</pre> | ||
{{SpecialCommon|Sword|rare|Spirit|TypeSW/J-Sword}} | {{SpecialCommon|Sword|rare|Spirit|TypeSW/J-Sword}} | ||
<pre>{{SpecialCommon|Gun|attributes| | <pre>{{SpecialCommon|Gun|attributes|Dark|Repeater}}</pre> | ||
{{SpecialCommon|Gun|attributes| | {{SpecialCommon|Gun|attributes|Dark|Repeater|Repeater +15}} | ||
<pre>{{SpecialCommon|Gun|ES|Hell|Needle}}</pre> | <pre>{{SpecialCommon|Gun|ES|Hell|Needle}}</pre> | ||
{{SpecialCommon|Gun|es|Hell|Needle}} | {{SpecialCommon|Gun|es|Hell|Needle}} | ||
Revision as of 02:53, 31 October 2025
[[File:{{{1}}}.png|12px|baseline|link=]][[|{{{3}}}]] [[{{{4}}}|{{{4}}}]]
Usage
For creating more accurate-to-in-game-looking links for common (or event TypeM or I guess S-Rank) weapons with links to both the special and the weapon type itself, keeping the icon at the start.
{{SpecialCommon|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}}}
{{{1}}} = Icon type (Sword/Gun/Cane)
{{{2}}} = Text color/class*
{{{3}}} = Special (Heat, Burning, Devil's, King's, etc.)
{{{4}}} = Weapon type (Saber, Pallasch, Rifle, Needle (for ES), etc.)
* See Style guide#Font colors
Disclaimer: Currently if you want the weapon name to say something like "Repeater +9" instead of just "Repeater" like you can do with most other links, that, uh, doesn't work cause I don't know exactly how to implement that, but I'll probably figure it out as soon as I run into a situation where it's required - Sundark
Examples
{{SpecialCommon|Sword|attributes|Demon's|Gladius}}
{{SpecialCommon|Sword|rare|Hell|TypeSW/J-Sword}}
{{SpecialCommon|Gun|attributes|Dark|Repeater}}
{{SpecialCommon|Gun|ES|Hell|Needle}}