Template:Claimshield: Difference between revisions
imported>Dejey base, not ready for use. |
imported>Dejey No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{construction}} |
|||
{{Construction|Not ready for use}} |
|||
<includeonly><span class="horizon-claimshield">[[File:ClaimShield.png |
<includeonly><onlyinclude><span class="horizon-claimshield">[[File:ClaimShield.png|{{{1|Claim Shield}}}|alt={{{1|Claim Shield}}}|link={{{link|}}}]]</span></onlyinclude></includeonly> |
||
|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]]<nowiki>{{ClaimShield}}</nowiki> |
|||
use with Template:TableMobLine-NM |
|||
<b><br><nowiki> |
|||
{{TableMobLine-NM | claimshield= true |Name= Fafnir| Spawn= | Lvl= 88-90 | Drop= | Steal= | Family=Wyrms| NumSpawns= {{Tooltip-NMMap|map= Dragons-aery NM.png|NM= Fafnir}} | Note= A, T(S)}} |
|||
</nowiki></b> |
|||
{{TableMobHeader-NM}} |
|||
{{test | claimshield= true |Name= Fafnir| Spawn= | Lvl= 88-90 | Drop= | Steal= | Family=Wyrms| NumSpawns= {{Tooltip-NMMap|map= Dragons-aery NM.png|NM= Fafnir}} | Note= A, T(S)}} |
|||
[[Category:Horizon Templates]] |
|||
Latest revision as of 18:54, 25 October 2025
| Error creating thumbnail: File missing | NOTICE: | This article is currently undergoing construction by a single editor or group of editors. |
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{{ClaimShield}}
use with Template:TableMobLine-NM
{{TableMobLine-NM | claimshield= true |Name= Fafnir| Spawn= | Lvl= 88-90 | Drop= | Steal= | Family=Wyrms| NumSpawns= {{Tooltip-NMMap|map= Dragons-aery NM.png|NM= Fafnir}} | Note= A, T(S)}}
| Name | Level | Drops | Steal | Family | Spawns | Notes |
|---|---|---|---|---|---|---|
| Fafnir |
88-90 | Wyrms | Error creating thumbnail: File missing |
A, T(S) |