Difference between revisions of "Template:CharacterMisc"
Jump to navigation
Jump to search
>Mornsta-gpuser |
>Mornsta-gpuser |
||
| Line 9: | Line 9: | ||
{{{otherArt|}}} | {{{otherArt|}}} | ||
}}{{#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> | }}{{#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|<div>{{#cargo_query:tables=Wyrmprints|fields=CONCAT('[[File:',BaseId,' 01.png|24px|link=',_pageName,']] [[',_pageName,']]')|where=FeaturedCharacters HOLDS LIKE "%{{EscQ|{{{ov|{{BASEPAGENAME}}}}}}}%"|format=ul|group by=_pageName|order by=BaseId|default=}}</div>}} | + | {{{trivia}}}}}{{#vardefine:Wyrmprints|<div>{{#cargo_query:tables=Wyrmprints|fields=CONCAT('[[File:',BaseId,' 01.png|24px|link=',_pageName,']] [[',_pageName,']]')|where=FeaturedCharacters HOLDS LIKE "%{{EscQ|{{{ov|{{BASEPAGENAME}}}}}}}%"|format=ul|group by=_pageName|order by=BaseId|default=}}</div>}}{{#vardefine:CastleStories|<div>{{#cargo_query:tables=CastleStories|fields=_pageName|where=FeaturedCharacters HOLDS LIKE "%{{EscQ|{{{ov|{{BASEPAGENAME}}}}}}}%"|format=ul|group by=_pageName|order by=ReleaseDate ASC|default=}}</div>}}{{#vardefine:DragaliaLife|<div>{{#cargo_query:tables=Comics|fields=Id,DirectLink,Title|where=FeaturedCharacter HOLDS LIKE "%{{EscQ|{{{ov|{{BASEPAGENAME}}}}}}}%" AND _pageName="Dragalia Life"|format=template|template=ComicTitle|named args=yes|group by=Title|order by=Id ASC|default=}}</div>}}{{#vardefine:AdventurersGuide|<div>{{#cargo_query:tables=Comics|fields=Id,DirectLink,Title|where=FeaturedCharacter HOLDS LIKE "%{{EscQ|{{{ov|{{BASEPAGENAME}}}}}}}%" AND _pageName="Adventurer's Guide"|format=template|template=ComicTitle|named args=yes|group by=Title|order by=Id ASC|default=}}</div>}}{{#vardefine:Summon|<div>{{#cargo_query:tables=SummonShowcase|fields=_pageName|where=Adventurer HOLDS LIKE "%{{EscQ|{{{ov|{{BASEPAGENAME}}}}}}}%"|format=ul|group by=_pageName|order by=StartDate ASC|default=}}{{#cargo_query:tables=SummonShowcase|fields=_pageName|order by=StartDate ASC|where=Dragons HOLDS LIKE "%{{EscQ|{{{ov|{{BASEPAGENAME}}}}}}}%"|format=ul|group by=_pageName|default=}}</div>}}<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}}||:This {{{1}}} isn't featured 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}}}}{{#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>{{#var:DragaliaLife}}}}{{#if:{{#var:AdventurersGuide}}|<p style="margin:15px auto;margin-bottom:8px;font-size:1em;font-variant-caps: small-caps;font-weight:bold">Adventurer's Guide</p>{{#var:AdventurersGuide}}}}{{#if:{{#var:Summon}}|<p style="margin:15px auto;margin-bottom:8px;font-size:1em;font-variant-caps: small-caps;font-weight:bold">Summon Showcases</p>{{#var:Summon}}}}</div> |
| − | {{#vardefine:CastleStories|<div>{{#cargo_query:tables=CastleStories|fields=_pageName|where=FeaturedCharacters HOLDS LIKE "%{{EscQ|{{{ov|{{BASEPAGENAME}}}}}}}%"|format=ul|group by=_pageName|order by=ReleaseDate ASC|default=}}</div>}}{{#vardefine:DragaliaLife|<div>{{#cargo_query:tables=Comics|fields=Id,DirectLink,Title|where=FeaturedCharacter HOLDS LIKE "%{{EscQ|{{{ov|{{BASEPAGENAME}}}}}}}%" AND _pageName="Dragalia Life"|format=template|template=ComicTitle|named args=yes|group by=Title|order by=Id ASC|default=}}</div>}} | ||
| − | {{#vardefine:AdventurersGuide|<div>{{#cargo_query:tables=Comics|fields=Id,DirectLink,Title|where=FeaturedCharacter HOLDS LIKE "%{{EscQ|{{{ov|{{BASEPAGENAME}}}}}}}%" AND _pageName="Adventurer's Guide"|format=template|template=ComicTitle|named args=yes|group by=Title|order by=Id ASC|default=}}</div>}} | ||
| − | {{#vardefine:Summon|<div>{{#cargo_query:tables=SummonShowcase|fields=_pageName|where=Adventurer HOLDS LIKE "%{{EscQ|{{{ov|{{BASEPAGENAME}}}}}}}%"|format=ul|group by=_pageName|order by=StartDate ASC|default=}}{{#cargo_query:tables=SummonShowcase|fields=_pageName|order by=StartDate ASC|where=Dragons HOLDS LIKE "%{{EscQ|{{{ov|{{BASEPAGENAME}}}}}}}%"|format=ul|group by=_pageName|default=}}</div>}}<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}}||:This {{{1}}} isn't featured 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}}}}{{#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>{{#var:DragaliaLife}}}}{{#if:{{#var:AdventurersGuide}}|<p style="margin:15px auto;margin-bottom:8px;font-size:1em;font-variant-caps: small-caps;font-weight:bold">Adventurer's Guide</p>{{#var:AdventurersGuide}} | ||
| − | }}{{#if:{{#var:Summon}}|<p style="margin:15px auto;margin-bottom:8px;font-size:1em;font-variant-caps: small-caps;font-weight:bold">Summon Showcases</p>{{#var:Summon}} | ||
| − | }}</div> | ||