Template:Specialization link/view: Difference between revisions

From Against the Storm Official Wiki
(Created to format a link to a specialization page with provided data)
 
m (Improved example)
Line 6: Line 6:
}} [[{{{name|Specialization}}}]]</span></includeonly><noinclude>
}} [[{{{name|Specialization}}}]]</span></includeonly><noinclude>


This template formats a link to a specialization given an icon filename, icon size, and name of the specialization. It does no validation, so use cautiously or rely on [[Template:sl]].
This template formats a link to a specialization given an icon filename, icon size, and name of the specialization. It does no validation, so use cautiously or use [[Template:sl]].


== Example ==
== Example ==


<code><nowiki>{{Specialization|name=Warmth|size=large}}</nowiki></code>
<code><nowiki>{{Specialization|iconfilename=Icon_Spec_Fire_64x64.png|size=medium|name=Warmth}}</nowiki></code>


{{Specialization|name=Warmth|size=large}}
{{Specialization|iconfilename=Icon_Spec_Fire_64x64.png|size=medium|name=Warmth}}


[[Category: Reserved templates]]
[[Category: Reserved templates]]
[[Category: Link templates]]
[[Category: Link templates]]
</noinclude>
</noinclude>

Revision as of 04:05, 7 October 2024


This template formats a link to a specialization given an icon filename, icon size, and name of the specialization. It does no validation, so use cautiously or use Template:sl.

Example

{{Specialization|iconfilename=Icon_Spec_Fire_64x64.png|size=medium|name=Warmth}}

Warmth specialization Warmth