Template:BBDW Grimoire: Difference between revisions

Template page
(removed unused image2 field (grimoires only have 1 image), grab skill icon based on first Status set, swapped hp to top of the hp/atk/def list)
m (removed nested cargo query into a variable instead)
Line 1: Line 1:
<includeonly>__NOTOC__<!--
<includeonly>__NOTOC__<!--
-->{{#vardefine:FIRST_STATUS|{{#replace:{{#explode:{{{statuses|}}}|,}}|'|\'}} }}<!--
-->{{#vardefine:FIRST_STATUS|{{#replace:{{#explode:{{{statuses|}}}|,}}|'|\'}} }}<!--
-->{{#vardefine:FXICON|{{#cargo_query:tables=BBDW_Statuses|fields=icon |where=nameen='{{#var:FIRST_STATUS}}'}}}}<!--
--><table class="wikitable" style="width:100%;margin-bottom:0;">
--><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;"><!--
Line 60: Line 61:
|illust = {{{illust|}}}
|illust = {{{illust|}}}
|illustalt = {{{illustalt|}}}
|illustalt = {{{illustalt|}}}
|icon = {{#cargo_query:tables=BBDW_Statuses|fields=icon|where=nameen='{{#var:FIRST_STATUS}}'}}
|icon = {{#var:FXICON}}
|image = {{{image|}}}
|image = {{{image|}}}
|flavortext = {{{flavortexten|}}}
|flavortext = {{{flavortexten|}}}

Revision as of 05:00, 27 February 2021

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

Create a grimoire here.

Documentation icon Template documentation[create]