Template:BBDW Grimoire: Difference between revisions

Template page
m (added obtain info)
m (fixed display issue with illust field, fixed errors when querying cargo tables to get obtain information)
Line 34: Line 34:
-->{{#if:{{{mindef|}}}|<tr><th>Def (Min)</th><td>{{{mindef|}}}</td><tr>}}<!--
-->{{#if:{{{mindef|}}}|<tr><th>Def (Min)</th><td>{{{mindef|}}}</td><tr>}}<!--
-->{{#if:{{{illust|}}}|<tr><th> Illustrator </th><td><!--
-->{{#if:{{{illust|}}}|<tr><th> Illustrator </th><td><!--
-->{{{illust|}}}{{#if:{{{illustalt|}}}|&nbsp;({{{illustalt|}}})}} </td></tr><!--
-->{{{illust|}}}{{#if:{{{illustalt|}}}|&nbsp;({{{illustalt|}}})}} </td></tr>}}<!--
-->{{#if:{{{releasejp|}}}|<tr><th>Release Date</th><td>{{{releasejp|}}}<br/><!--
-->{{#if:{{{releasejp|}}}|<tr><th>Release Date</th><td>{{{releasejp|}}}<br/><!--
-->{{#cargo_query:table=BBDW_Events
-->{{#cargo_query:table=BBDW_Events
|fields=CONCAT('([[Gameplay: ', nameen, ' BBDW Event|', nameen, ']])' )=name
|fields=CONCAT('([[Gameplay: ', nameen, ' BBDW Event|', nameen, ']])' )=name
|where=new_grimoires HOLDS '{{{nameen|}}}' OR featured_grimoires HOLDS '{{{nameen|}}}' OR new_grimoires HOLDS '{{{namejp|}}}' OR featured_grimoires HOLDS '{{{namejp|}}}'
|where=new_grimoires HOLDS '{{#replace:{{{nameen|}}}|'|\'}}'  
OR new_grimoires HOLDS '{{#replace:{{{namejp|}}}|'|\'}}'  
OR featured_grimoires HOLDS '{{#replace:{{{nameen|}}}|'|\'}}'  
OR featured_grimoires HOLDS '{{#replace:{{{namejp|}}}|'|\'}}'
|more results text=|limit=1
|more results text=|limit=1
|default={{{obtain|}}}
|default={{{obtain|}}}

Revision as of 02:11, 26 February 2021

This template defines the table "BBDW_Grimoires". View table.

Create a grimoire here.

Documentation icon Template documentation[create]