Difference between revisions of "Template:AdventurerMisc"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Sekuiya
(Sub sections)
>Sekuiya
m (Replaced content with "<noinclude>{{doc}}Category:Templates</noinclude><includeonly>{{CharacterMisc|Adventurer|{{{1|}}}}|trivia={{{trivia}}}}}")
Line 1: Line 1:
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly><!--
+
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>{{CharacterMisc|Adventurer|{{{1|}}}}|trivia={{{trivia}}}}}
-->{{AdventurerPageHeader}}
 
 
 
<div class="panel" style="max-width:850px;margin:auto">
 
<div class="panel-body" style="display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;overflow:hidden">
 
</div>
 
<div style="flex-grow:1; padding:1em;">{{#if: {{{trivia|}}}|
 
<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>
 
{{{trivia}}}<!--
 
 
 
-->}}<!--
 
 
 
-->{{#vardefine:Wyrmprints|{{#cargo_query:tables=Wyrmprints|fields=CONCAT('[[File:',BaseId,' 01.png|24px|link=',_pageName,']] [[',_pageName,']]')|where=FeaturedCharacters HOLDS LIKE "%{{{1|{{BASEPAGENAME}}}}}%"|format=ul|group by=_pageName|default=}}}}<!--
 
-->{{#vardefine:CastleStories|{{#cargo_query:tables=CastleStories|fields=_pageName|where=FeaturedCharacters HOLDS LIKE "%{{{1|{{BASEPAGENAME}}}}}%"|format=ul|group by=_pageName|default=}}}}<!--
 
 
 
-->
 
<p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Featured In</p>
 
{{#if:{{#var:Wyrmprints}}{{#var:CastleStories}}||:This Adventurer isn't feature in anything.}}<!--
 
-->{{#if:{{#var:Wyrmprints}}|<p style="margin:15px auto;margin-bottom:8px;font-size:1em;font-variant-caps: small-caps;font-weight:bold">Wyrmprints</p>
 
{{#var:Wyrmprints}}
 
 
 
}}<!--
 
-->{{#if:{{#var:CastleStories}}|<p style="margin:15px auto;margin-bottom:8px;font-size:1em;font-variant-caps: small-caps;font-weight:bold">Castle Stories</p>
 
{{#var:CastleStories}}
 
 
 
}}
 
</div>
 

Revision as of 19:49, 31 October 2018

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

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.