Difference between revisions of "Template:AdventurerMisc"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Sekuiya
(Added link to icon)
>Eave
(add adv thumbnails to other art, when it exists)
 
(31 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly><!--
 
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly><!--
-->{{AdventurerPageHeader}}
+
-->{{#vardefine:ImagePrefix
 
+
        |{{#cargo_query:tables=Adventurers
<div class="panel" style="max-width:850px;margin:auto">
+
                        |fields=CONCAT(Id,' 0',VariationId)
<div class="panel-body" style="display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;overflow:hidden">
+
                        |where=FullName="{{{1|{{BASEPAGENAME}}}}}"
</div>
+
                        |default=
<div style="flex-grow:1; padding:1em;">{{#if: {{{trivia|}}}|
+
                        |no html}}
<p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Trivia</p>
+
}}{{CharacterMisc|Adventurer|ov={{{1|{{BASEPAGENAME}}}}}|trivia={{{trivia|}}}|otherArt={{#tag:gallery|
{{{trivia}}}<!--
+
{{exists | File:{{#var:ImagePrefix}} r03.png | then={{#var:ImagePrefix}} r03.png | else=}}
 
+
{{exists | File:{{#var:ImagePrefix}} r04.png | then={{#var:ImagePrefix}} r04.png | else=}}
-->}}
+
{{exists | File:{{#var:ImagePrefix}} r05.png | then={{#var:ImagePrefix}} r05.png | else=}}
<p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Wyrmprints {{{1|{{BASEPAGENAME}}}}} Is Featured In</p>
+
{{exists | File:{{#var:ImagePrefix}} r03 (Small).png | then={{#var:ImagePrefix}} r03 (Small).png{{!}}Small Ver. | else=}}
{{#cargo_query:tables=Wyrmprints
+
{{exists | File:{{#var:ImagePrefix}} r04 (Small).png | then={{#var:ImagePrefix}} r04 (Small).png{{!}}Small Ver. | else=}}
|fields=CONCAT('[[File:',BaseId,' 01.png|24px|link=',_pageName,']] [[',_pageName,']]')
+
{{exists | File:{{#var:ImagePrefix}} r05 (Small).png | then={{#var:ImagePrefix}} r05 (Small).png{{!}}Small Ver. | else=}}
|where=FeaturedCharacters HOLDS LIKE "%{{{1|{{BASEPAGENAME}}}}}%"
+
|mode="packed-hover"
|format=ul
+
|heights="80px"
|group by=_pageName
+
}}
|default=
+
{{{otherArt|}}}}}[[Category:Adventurer Misc]]</includeonly>
:''There are no wyrmprints with this adventurer.''}}
 
</div>
 

Latest revision as of 04:53, 16 November 2019

50px Documentation

This template is for use on the Misc pages of Adventurers, e.g. The Prince/Misc.
It uses the {{BASEPAGENAME}} so no name is need to be provided. For this Usage example, Euden and it's results are used.

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

Usage

{{AdventurerMisc|trivia=
*Some trivia about this character.
*Even more trivia.}}

Promotional Art

Other Art

Trivia

  • Some trivia about this character.
  • 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.