Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:BBDW Grimoire: Difference between revisions

Template page
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 26: Line 26:
</tr><!--
</tr><!--
-->{{#if:{{{namejp|}}}{{{namejpalt|}}}|<tr><th>Name</th><td>{{{namejp|}}} {{#if:{{{namejpalt|}}}|({{{namejpalt|}}})}}</td><tr>}}<!--
-->{{#if:{{{namejp|}}}{{{namejpalt|}}}|<tr><th>Name</th><td>{{{namejp|}}} {{#if:{{{namejpalt|}}}|({{{namejpalt|}}})}}</td><tr>}}<!--
-->{{#if:{{{flavortexten|}}}|<tr><th>Profile Description (English)</th><td style="font-style:italic"><div style="white-space:break-space;margin:0;padding:0;">
-->{{#if:{{{flavortexten|}}}|<tr><th>Profile Description (English)</th><td style="font-style:italic"><div style="white-space:pre-wrap;margin:0;padding:0;">
{{{flavortexten|}}}
{{{flavortexten|}}}
</div></td></tr>}}<!--
</div></td></tr>}}<!--
-->{{#if:{{{flavortext|}}}|<tr><th>Profile Description (Japanese)</th><td><div style="white-space:break-space;margin:0;padding:0;">
-->{{#if:{{{flavortext|}}}|<tr><th>Profile Description (Japanese)</th><td><div style="white-space:pre-wrap;margin:0;padding:0;">
{{{flavortext|}}}
{{{flavortext|}}}
</div></td></tr>}}<!--
</div></td></tr>}}<!--
Line 42: Line 42:
-->{{#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 '{{#replace:{{{nameen|}}}|'|\'}}'  
|where=(new_grimoires HOLDS '{{#replace:{{{namejp|}}}|'|\'}}'  
OR new_grimoires HOLDS '{{#replace:{{{namejp|}}}|'|\'}}'  
OR featured_grimoires HOLDS '{{#replace:{{{namejp|}}}|'|\'}}'  
OR featured_grimoires HOLDS '{{#replace:{{{nameen|}}}|'|\'}}'  
{{#if:{{{nameen|}}}|OR new_grimoires HOLDS '{{#replace:{{{nameen|}}}|'|\'}}'
OR featured_grimoires HOLDS '{{#replace:{{{namejp|}}}|'|\'}}'
OR featured_grimoires HOLDS '{{#replace:{{{nameen|}}}|'|\'}}' }}
) {{#ifeq:{{{limited|}}}|Event|AND eventtype='Event'|AND eventtype='Gacha'}}
) {{#switch:{{{limited|}}}|Event=AND eventtype='Event'|Gacha=AND eventtype='Gacha'|Welfare=AND eventtype='Welfare'}}
|more results text=|limit=1
|more results text=|limit=1
|default={{{obtain|}}}
|default={{{obtain|}}}

Latest revision as of 15:17, 30 September 2021

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

Refer to pages in Category:BBDW Grimoire or Grimoires (BBDW) for examples of this template in use.