Difference between revisions of "Template:Icon/doc"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Caledor92
>Boblers
(→‎Current Items Icon Template Works With: updating affliction example)
 
(13 intermediate revisions by 2 users not shown)
Line 15: Line 15:
 
* Skill {{Icon|Skill|Howling Meteor|size=32px|text=1}}
 
* Skill {{Icon|Skill|Howling Meteor|size=32px|text=1}}
 
* CoAbility {{Icon|CoAbility|Dragon Haste +2% (Co-ability)|size=32px|text=1}}
 
* CoAbility {{Icon|CoAbility|Dragon Haste +2% (Co-ability)|size=32px|text=1}}
 +
* Chain CoAbility {{Icon|ChainCoAbility|(Flame) Dragon Haste +12%|size=32px|text=1}}
 
* Ability {{Icon|Ability|Broken Punisher +20%|size=32px|text=1}}
 
* Ability {{Icon|Ability|Broken Punisher +20%|size=32px|text=1}}
* Afflictions {{Icon|Afflictions|Poison|size=32px|text=1}}
+
* Afflictions {{Icon|Affliction|Poison|size=32px|text=1}}
 
* Condition {{Icon|Condition|Bleeding|size=32px|text=1}}
 
* Condition {{Icon|Condition|Bleeding|size=32px|text=1}}
  
Line 23: Line 24:
 
{{Icon|Adventurer|Lily}}
 
{{Icon|Adventurer|Lily}}
  
<pre>{{Icon|Adventurer|Lily|text=1}}, {{Icon|Adventurer|Lily|text=1}}, {{Icon|Adventurer|Lily|text=1}}</pre>
+
<pre>{{Icon|Adventurer|Lily|text=1}}, {{Icon|Adventurer|Lily|text=1}}, {{Icon|Adventurer|Pipple|text=1|rarity=5}}</pre>
{{Icon|Adventurer|Lily|text=1}}, {{Icon|Adventurer|Lily|text=1}}, {{Icon|Adventurer|Lily|text=1}}
+
{{Icon|Adventurer|Lily|text=1}}, {{Icon|Adventurer|Lily|text=1}}, {{Icon|Adventurer|Pipple|text=1|rarity=5}}
  
 
<pre>{{Icon|Adventurer|Lily|size=42px}}</pre>
 
<pre>{{Icon|Adventurer|Lily|size=42px}}</pre>
 
{{Icon|Adventurer|Lily|size=42px}}
 
{{Icon|Adventurer|Lily|size=42px}}
  
With custom Link
+
With and without custom Link
<pre>{{Icon|Ability|Dragon's Claws I|size=32px|text=1|link=Dragon's Claws}}</pre>
+
<pre>{{Icon|Ability|Dragon's Claws I|size=32px|text=1}}
 +
{{Icon|Ability|Dragon's Claws I|size=32px|text=1|link="Dragon's Claws"}}
 +
{{Icon|Ability|Dragon's Claws I|size=32px|text=1|link=Dragon's Claws}} <-- no quotes: errors out</pre>
 +
{{Icon|Ability|Dragon's Claws I|size=32px|text=1}}
 +
{{Icon|Ability|Dragon's Claws I|size=32px|text=1|link="Dragon's Claws"}}
 
{{Icon|Ability|Dragon's Claws I|size=32px|text=1|link=Dragon's Claws}}
 
{{Icon|Ability|Dragon's Claws I|size=32px|text=1|link=Dragon's Claws}}
  
  
 
{{doc/end}}
 
{{doc/end}}

Latest revision as of 05:45, 6 July 2020

50px Documentation

Current Items Icon Template Works With

  • Adventurer
    Error: Table Adventurers not found.
  • Wyrmprint Lua error: Error: Table Wyrmprints not found..
  • Dragon
    Error: Table Dragons not found.
  • Weapon
    Error: Table Weapons not found.
  • Material
    Error: Table Materials not found.
  • Gift
    Error: Table Gifts not found.
  • Resource Icon Resource Mana.png Mana
  • Consumable
    Error: Table Consumables not found.
  • Facility
    • Error: Table Facilities not found.
    • Error: Table Facilities not found.
    • Error: Table Facilities not found.
  • Skill
    Error: Table Skills not found.
  • CoAbility
    Error: Table CoAbilities not found.
  • Chain CoAbility
    Error: Table ChainCoAbilities not found.
  • Ability
    Error: Table Abilities not found.
  • Afflictions Affliction poison large icon.png Poison
  • Condition
    Error: Table Conditions not found.

Examples

{{Icon|Adventurer|Lily}}
Error: Table Adventurers not found.
{{Icon|Adventurer|Lily|text=1}}, {{Icon|Adventurer|Lily|text=1}}, {{Icon|Adventurer|Pipple|text=1|rarity=5}}
Error: Table Adventurers not found.
,
Error: Table Adventurers not found.
,
Error: Table Adventurers not found.
{{Icon|Adventurer|Lily|size=42px}}
Error: Table Adventurers not found.

With and without custom Link

{{Icon|Ability|Dragon's Claws I|size=32px|text=1}}
{{Icon|Ability|Dragon's Claws I|size=32px|text=1|link="Dragon's Claws"}}
{{Icon|Ability|Dragon's Claws I|size=32px|text=1|link=Dragon's Claws}} <-- no quotes: errors out
Error: Table Abilities not found.
Error: Table Abilities not found.
Error: unclosed string literal.