Difference between revisions of "Template:CharacterMisc"
Jump to navigation
Jump to search
>Yvsdrop (use CargoQuery module instead of #cargo parser to avoid the issue where the dragalia life links would become plaintext after edits until the page was purged) |
>Boblers (adding grabber for Dragalia Minis) |
||
| Line 56: | Line 56: | ||
|q?fields=Id,DirectLink,Title | |q?fields=Id,DirectLink,Title | ||
|q?where=FeaturedCharacter HOLDS LIKE "%[[{{EscQ|{{{ov|{{BASEPAGENAME}}}}}}}]]%" AND _pageName="Dragalia Life" | |q?where=FeaturedCharacter HOLDS LIKE "%[[{{EscQ|{{{ov|{{BASEPAGENAME}}}}}}}]]%" AND _pageName="Dragalia Life" | ||
| + | |q?groupBy=Title | ||
| + | |q?orderBy=Id ASC | ||
| + | |template=ComicTitle | ||
| + | |default=}}}}<!-- | ||
| + | -->{{#vardefine:DragaliaMinis | ||
| + | |{{#invoke:CargoQuery|main|q?tables=Comics | ||
| + | |q?fields=Id,DirectLink,Title | ||
| + | |q?where=FeaturedCharacter HOLDS LIKE "%[[{{EscQ|{{{ov|{{BASEPAGENAME}}}}}}}]]%" AND _pageName="Dragalia Minis" | ||
|q?groupBy=Title | |q?groupBy=Title | ||
|q?orderBy=Id ASC | |q?orderBy=Id ASC | ||
| Line 85: | Line 93: | ||
--><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> | --><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}}{{#var:DragaliaLife}}{{#var:AdventurersGuide}}{{#var:Summon}} | + | {{#if:{{#var:Wyrmprints}}{{#var:CastleStories}}{{#var:DragaliaLife}}{{#var:DragaliaMinis}}{{#var:AdventurersGuide}}{{#var:Summon}} |
| |:This {{{1}}} isn't featured in anything. | | |:This {{{1}}} isn't featured in anything. | ||
}}<!-- | }}<!-- | ||
| Line 96: | Line 104: | ||
}}{{#if:{{#var:DragaliaLife}}| | }}{{#if:{{#var:DragaliaLife}}| | ||
<p style="margin:15px auto;margin-bottom:8px;font-size:1em;font-variant-caps: small-caps;font-weight:bold">Dragalia Life</p> | <p style="margin:15px auto;margin-bottom:8px;font-size:1em;font-variant-caps: small-caps;font-weight:bold">Dragalia Life</p> | ||
| + | <div>{{#var:DragaliaLife}}</div> | ||
| + | }}{{#if:{{#var:DragaliaMinis}}| | ||
| + | <p style="margin:15px auto;margin-bottom:8px;font-size:1em;font-variant-caps: small-caps;font-weight:bold">Dragalia Minis</p> | ||
<div>{{#var:DragaliaLife}}</div> | <div>{{#var:DragaliaLife}}</div> | ||
}}{{#if:{{#var:AdventurersGuide}}| | }}{{#if:{{#var:AdventurersGuide}}| | ||
Revision as of 13:44, 5 May 2020
This template is for use on the Misc pages of Adventurers/Dragons/NPCs, however is meant to be transitively transcluded through an intermediate template such as Template:AdventurerMisc.
Usage
{{CharacterMisc|Adventurer|ov=Ieyasu
|trivia=
*Some trivia about this character.
*Even more trivia.
|otherArt=
<gallery mode="packed">
File:110313 01 base portrait.png|Story Art
File:110313 02 base portrait.png|Story Art
</gallery>
}}
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.