Template:Claimshield
From HorizonXI Wiki
Usage
Use {{claimshield}} to mark enemies or sections that have a Claim Shield on HorizonXI.
- Optional unnamed param: sets the tooltip/alt text. Defaults to "Claim Shield".
- Optional named param
link=: makes the icon clickable to a given wiki page. By default the icon is not a link.
Examples
Basic (default tooltip): {{claimshield}}
Custom tooltip: {{claimshield|immune to outside claims during window}}
Clickable to a page (e.g., Claim Shield): {{claimshield|details on claim shield|link=Claim Shield}}
Inline usage with a mob: [[Tiamat]] {{claimshield}}
Optional styling (Common.css)
If you want this to line up neatly with text, add something like this to MediaWiki:Common.css:
.horizon-claimshield img {
vertical-align: text-bottom;
margin-left: .25em;
height: 16px; /* adjust if your icon is larger/smaller */
}
<templatedata> {
"description": "Inline Claim Shield marker for HorizonXI pages.",
"params": {
"1": {
"label": "Tooltip text",
"description": "Text shown on hover and used for accessibility.",
"type": "string",
"required": false,
"default": "Claim Shield"
},
"link": {
"label": "Link target",
"description": "Wiki page to open when the icon is clicked. Leave blank to keep it unclickable.",
"type": "wiki-page-name",
"required": false
}
}
} </templatedata>
