Template:BBDW Grimoire: Difference between revisions

Template page
m (added limited parameter for marking limited grimoires, added imbox)
(Adjusted BBDW Grimoire art appearance and position.)
Line 2: Line 2:
-->{{#vardefine:FIRST_STATUS|{{#replace:{{#explode:{{{statuses|}}}|,}}|'|\'}} }}<!--
-->{{#vardefine:FIRST_STATUS|{{#replace:{{#explode:{{{statuses|}}}|,}}|'|\'}} }}<!--
-->{{#if:{{{limited|}}}|{{BBDW Limited Notice|Grimoire|{{{limited|}}}}}}}
-->{{#if:{{{limited|}}}|{{BBDW Limited Notice|Grimoire|{{{limited|}}}}}}}
<table class="wikitable" style="width:100%;margin-bottom:0;">
<table class="wikitable" style="width:100%;margin-bottom:0; border-bottom: 0; display:table;">
<tr><th style="vertical-align:middle;position:relative;"><!--
<tr><th style="vertical-align:middle;position:relative; border-bottom: 0;"><!--
-->{{#if:{{{rarity|}}}|<div style="float:left;">{{{rarity|}}}★</div>}}<!--
-->{{#if:{{{rarity|}}}|<div style="float:left;">{{{rarity|}}}★</div>}}<!--
--><div style="float:right;">{{edit|Special:FormEdit/BBDW Grimoire/Gameplay:{{{namejp|}}} BBDW Grimoire}}</div><!--
--><div style="float:right;">{{edit|Special:FormEdit/BBDW Grimoire/Gameplay:{{{namejp|}}} BBDW Grimoire}}</div><!--
Line 11: Line 11:
</table>
</table>
<div style="display: flex; flex-wrap: wrap; flex-direction: row; text-align:center; align-items:stretch;">
<div style="display: flex; flex-wrap: wrap; flex-direction: row; text-align:center; align-items:stretch;">
<div style="flex:1 300px; align-self: stretch;">{{#if:{{{image|}}}|[[File:{{{image}}}|class=bbdw-grimoire]]}}</div>
<div style="flex:3; margin-bottom:0;min-height:300px;">
<div style="flex:3; margin-bottom:0;min-height:300px;">
<table class="wikitable" style="margin:0;padding:0;width:100%;height:100%;overflow-y:auto;"><!--
<table class="wikitable" style="margin:0;padding:0;width:100%;height:100%;overflow-y:auto;"><!--
Line 49: Line 50:
}}
}}
</table></div>
</table></div>
<div style="flex:1 300px;">
{{#if:{{{image|}}}|[[File:{{{image}}}|500x500px]]}}
</div>
</div><!--
</div><!--
-->{{#ifeq:{{NAMESPACE}}|Gameplay|[[Category:BBDW Grimoire]]<!--
-->{{#ifeq:{{NAMESPACE}}|Gameplay|[[Category:BBDW Grimoire]]<!--

Revision as of 10:20, 22 March 2021

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

Documentation icon Template documentation[create]