Template:Changes: Difference between revisions

From HorizonXI Wiki
(added optional parameter to change the tooltip text)
(made icon unclickable and added option to make clickable by providing a link)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><onlyinclude><span class="horizon-changes">[[File:Changes.png|{{{1|HorizonXI specific changes}}}|alt={{{1|HorizonXI specific changes}}}]]</span></onlyinclude></includeonly>
<includeonly><onlyinclude><span class="horizon-changes">[[File:Changes.png|{{{1|HorizonXI specific changes}}}|alt={{{1|HorizonXI specific changes}}}|link={{{link|}}}]]</span></onlyinclude></includeonly>
==Usage==
==Usage==


Use <nowiki>{{changes}}</nowiki> to indicate a horizonxi change. Template uses an optional argument to display a tooltip to describe the change.  
Use <nowiki>{{changes}}</nowiki> to indicate a horizonxi change. Template uses an optional argument to display a tooltip to describe the change.  
The icon is unclickable per default. There is an optional parameter "link" to make it clickable and direct to a given wikipage, which can be used if having a case at hand where it would make sense.


===Examples===
===Examples===
Line 13: Line 15:


[[Paladin]] Lvl. 25 - [[Auto-Refresh]] {{changes|originally unavailable in cop}}
[[Paladin]] Lvl. 25 - [[Auto-Refresh]] {{changes|originally unavailable in cop}}
[[Category:Horizon Changes]]

Latest revision as of 14:44, 23 November 2023

Usage

Use {{changes}} to indicate a horizonxi change. Template uses an optional argument to display a tooltip to describe the change.

The icon is unclickable per default. There is an optional parameter "link" to make it clickable and direct to a given wikipage, which can be used if having a case at hand where it would make sense.

Examples

Horizon changes without using the optional parameter HorizonXI specific changes will default to "HorizonXI specific changes"

Horizon changes using "some text" as the optional parameter some text

Republican Mythril Medal: MP +12 INT +2 no INT bonus in retail

Paladin Lvl. 25 - Auto-Refresh originally unavailable in cop