Template:BBDW Grimoire: Difference between revisions

Template page
m (flipped info to the left side and the image to the right; adjusted flex so there'd be less whitespace around the image)
m (moved english description to its own row and centered the grimoire image when the description is really long)
Line 10: Line 10:
</tr>
</tr>
</table>
</table>
<div style="display: flex; flex-wrap: wrap; flex-direction: row; text-align:center; vertical-align:top;">
<div style="display: flex; flex-wrap: wrap; flex-direction: row; text-align:center; align-items:center;">
<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 22: Line 22:
<td style="text-align:left; vertical-align:top;"|><!--
<td style="text-align:left; vertical-align:top;"|><!--
-->{{{fxdesc|}}}<!--
-->{{{fxdesc|}}}<!--
-->{{#if:{{{flavortexten|}}}|<br/><i>{{{flavortexten|}}}</i>}}<!--
--></td>
--></td>
</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 (Emglish)</th><td><i>{{{flavortexten|}}}</i>}}<!--
-->{{#if:{{{flavortext|}}}|<tr><th>Profile Description (Japanese)</th><td>{{{flavortext|}}}</td></tr>}}<!--
-->{{#if:{{{flavortext|}}}|<tr><th>Profile Description (Japanese)</th><td>{{{flavortext|}}}</td></tr>}}<!--
-->{{#if:{{{rarity|}}}|<tr><th>Rarity</th><td>{{#switch:{{{rarity|}}}|1=★|2=★★|3=★★★|4=★★★★|5=★★★★★}}</td><tr>}}<!--
-->{{#if:{{{rarity|}}}|<tr><th>Rarity</th><td>{{#switch:{{{rarity|}}}|1=★|2=★★|3=★★★|4=★★★★|5=★★★★★}}</td><tr>}}<!--

Revision as of 05:17, 27 February 2021

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

Create a grimoire here.

Documentation icon Template documentation[create]