Template:Claimshield: Difference between revisions
imported>Dejey base, not ready for use. |
imported>Dejey No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude><span class="horizon-claimshield">[[File:ClaimShield.png|{{{1|Claim Shield}}}|alt={{{1|Claim Shield}}}|link={{{link|}}}]]</span></onlyinclude></includeonly> |
|||
{{Construction|Not ready for use}} |
|||
<includeonly><span class="horizon-claimshield">[[File:ClaimShield.png |
|||
|link={{{link|}}} |
|||
|alt={{{1|Claim Shield}}} |
|||
|title={{{1|Claim Shield}}} |
|||
|x16px |
|||
]]</span></includeonly><noinclude> |
|||
==Usage== |
==Usage== |
||
Use <nowiki>{{ |
Use <nowiki>{{ClaimShield}}</nowiki> to indicate that something (e.g., a mob, mechanic, or note) is affected by Claim Shield on HorizonXI. |
||
The template uses an optional argument to display a tooltip/alt text. |
|||
The icon is unclickable by default. There is an optional parameter "link" to make it clickable and direct to a given wiki page, which can be used when it makes sense. |
|||
* Optional unnamed param: sets the tooltip/alt text. Defaults to "Claim Shield". |
|||
* Optional named param <code>link=</code>: makes the icon clickable to a given wiki page. By default the icon is not a link. |
|||
===Examples=== |
===Examples=== |
||
Basic (default tooltip): <nowiki>{{claimshield}}</nowiki> |
|||
Claim Shield without using the optional parameter <nowiki>{{ClaimShield}}</nowiki> will default to "Claim Shield". |
|||
Custom tooltip: <nowiki>{{claimshield|immune to outside claims during window}}</nowiki> |
|||
Claim Shield using "Claim Shield active on HorizonXI" as the optional parameter <nowiki>{{ClaimShield|Claim Shield active on HorizonXI}}</nowiki> |
|||
Make the icon clickable to a specific page (e.g., mechanics explainer): |
|||
Inline with a mob: <nowiki>[[Tiamat]] {{claimshield}}</nowiki> |
|||
<nowiki>{{ClaimShield|Claim Shield mechanic|link=Claim Shield}}</nowiki> |
|||
Example inline usage: |
|||
[[Serket]] {{ClaimShield}} |
|||
[[Category:Horizon Templates]] |
|||
Revision as of 17:13, 25 October 2025
Usage
Use {{ClaimShield}} to indicate that something (e.g., a mob, mechanic, or note) is affected by Claim Shield on HorizonXI. The template uses an optional argument to display a tooltip/alt text.
The icon is unclickable by default. There is an optional parameter "link" to make it clickable and direct to a given wiki page, which can be used when it makes sense.
Examples
Claim Shield without using the optional parameter {{ClaimShield}} will default to "Claim Shield".
Claim Shield using "Claim Shield active on HorizonXI" as the optional parameter {{ClaimShield|Claim Shield active on HorizonXI}}
Make the icon clickable to a specific page (e.g., mechanics explainer): {{ClaimShield|Claim Shield mechanic|link=Claim Shield}}
Example inline usage: Serket Template:ClaimShield