Difference between revisions of "Template:DragonMisc"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Boblers
(functionality to auto grab icons for gallery)
>Canim44
(1 → name for base image)
 
(3 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
         |{{#cargo_query:tables=Dragons
 
         |{{#cargo_query:tables=Dragons
 
                         |fields=CONCAT(BaseId,' 0',VariationId)
 
                         |fields=CONCAT(BaseId,' 0',VariationId)
                         |where=FullName="{{{1|{{BASEPAGENAME}}}}}"
+
                         |where=FullName="{{{name|{{BASEPAGENAME}}}}}"
 
                         |default=
 
                         |default=
 
                         |no html}}
 
                         |no html}}
 
}}{{CharacterMisc|Dragon|ov={{{name|{{BASEPAGENAME}}}}}|trivia={{{trivia|}}}|otherArt={{#tag:gallery|
 
}}{{CharacterMisc|Dragon|ov={{{name|{{BASEPAGENAME}}}}}|trivia={{{trivia|}}}|otherArt={{#tag:gallery|
 
{{exists | File:{{#var:ImagePrefix}}.png | then={{#var:ImagePrefix}}.png | else=}}
 
{{exists | File:{{#var:ImagePrefix}}.png | then={{#var:ImagePrefix}}.png | else=}}
 +
{{exists | File:{{#var:ImagePrefix}} (Small).png | then={{#var:ImagePrefix}} (Small).png{{!}}Small Ver. | else=}}
 
|mode="packed-hover"
 
|mode="packed-hover"
 
|heights="80px"
 
|heights="80px"
 
}}
 
}}
 
{{{otherArt|}}}}}[[Category:Dragon Misc]]</includeonly>
 
{{{otherArt|}}}}}[[Category:Dragon Misc]]</includeonly>

Latest revision as of 17:39, 23 February 2020

50px Documentation

This template is for use on the Misc pages of Dragons, e.g. Midgardsormr/Misc.
It uses the {{BASEPAGENAME}} so no name is need to be provided. For this Usage example, Midgardsormr and its results are used.

It currently support a trivia variable which should be formatted as a bulleted list as shown below.

Usage

{{DragonMisc|trivia=
*Some trivia about this dragon.
*Even more trivia.}}

Promotional Art

Other Art

Trivia

  • Some trivia about this dragon.
  • Even more trivia.

Featured In

Wyrmprints

Error: Table Wyrmprints not found.

Castle Stories

Error: Table CastleStories not found.

Dragalia Life

Lua error: Error: Table Comics not found..

Dragalia Minis

Lua error: Error: Table Comics not found..

Adventurer's Guide

Lua error: Error: Table Comics not found..

Summon Showcases

Error: Table SummonShowcase not found.
Error: Table SummonShowcase not found.