Difference between revisions of "Template:LimitedIcon"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Eave
(made for use on the wyrmprints guide article)
 
>Eave
m (update positioning to work better for other content types as well.)
 
(11 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
 
--><div style="position:relative">
 
--><div style="position:relative">
{{TooltipIcon|Wyrmprint|{{{1|}}}}}
+
{{{1|}}}
<div style="position:absolute;top:8px;left:6px">[[File:Icon SandTimer 0{{{Limited|1}}} Battle.png|link=]]</div>
+
<div style="position:absolute;top:0;left:2px">[[File:Icon SandTimer 0{{{Limited|1}}} Battle.png|link=]]</div>
 
</div></includeonly>
 
</div></includeonly>

Latest revision as of 07:16, 10 February 2020

50px Documentation

Usage

Created for use by the Wyrmprints Guide to markup limited wyrmprints but can be extended to denote any limited content.

  • 1: First argument should be the content to wrap.
  • Limited: Optional argument.
    • 1 for the limited icon to be Icon SandTimer 01 Battle.png (default)
    • 2 for the limited icon to be Icon SandTimer 02 Battle.png

Examples

{{LimitedIcon|{{TooltipIcon|Wyrmprint|The Chocolatiers}}}}
Unknown.png
Error: Table Wyrmprints not found.
Icon SandTimer 01 Battle.png
{{LimitedIcon|{{Icon|Adventurer|Halloween Mym}}|Limited=1}}
Error: Table Adventurers not found.
Icon SandTimer 01 Battle.png
{{LimitedIcon|{{Icon|Wyrmprint|Mega Friends}}|Limited=2}}

Lua error: Error: Table Wyrmprints not found..

Icon SandTimer 02 Battle.png