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
m (added limited parameter for marking limited grimoires, added imbox)
Line 1: Line 1:
<includeonly>__NOTOC__<!--
<includeonly>__NOTOC__<!--
-->{{#vardefine:FIRST_STATUS|{{#replace:{{#explode:{{{statuses|}}}|,}}|'|\'}} }}<!--
-->{{#vardefine:FIRST_STATUS|{{#replace:{{#explode:{{{statuses|}}}|,}}|'|\'}} }}<!--
--><table class="wikitable" style="width:100%;margin-bottom:0;">
-->{{#if:{{{limited|}}}|{{BBDW Limited Notice|Grimoire|{{{limited|}}}}}}}
<table class="wikitable" style="width:100%;margin-bottom:0;">
<tr><th style="vertical-align:middle;position:relative;"><!--
<tr><th style="vertical-align:middle;position:relative;"><!--
-->{{#if:{{{rarity|}}}|<div style="float:left;">{{{rarity|}}}★</div>}}<!--
-->{{#if:{{{rarity|}}}|<div style="float:left;">{{{rarity|}}}★</div>}}<!--
Line 36: Line 37:
-->{{#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:{{{nameen|}}}|'|\'}}'  
OR new_grimoires HOLDS '{{#replace:{{{namejp|}}}|'|\'}}'  
OR new_grimoires HOLDS '{{#replace:{{{namejp|}}}|'|\'}}'  
OR featured_grimoires HOLDS '{{#replace:{{{nameen|}}}|'|\'}}'  
OR featured_grimoires HOLDS '{{#replace:{{{nameen|}}}|'|\'}}'  
OR featured_grimoires HOLDS '{{#replace:{{{namejp|}}}|'|\'}}'
OR featured_grimoires HOLDS '{{#replace:{{{namejp|}}}|'|\'}}'
) {{#ifeq:{{{limited|}}}|Event|AND eventtype='Event'|AND eventtype='Gacha'}}
|more results text=|limit=1
|more results text=|limit=1
|default={{{obtain|}}}
|default={{{obtain|}}}
Line 99: Line 101:
|characters=List (,) of String
|characters=List (,) of String
}}
}}
Create a grimoire [[Special:FormEdit/BBDW_Grimoire|here]].
{{Documentation}}
{{Documentation}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 23:02, 7 March 2021

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

Documentation icon Template documentation[create]