More actions
m (linked groups to Character Groups (BBDW) page) |
m (added input verification to strip out single apostrophes that were destroying cargo table queries) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{1|}}} | <includeonly>{{#if:{{{2|}}}|{{#vardefine:2|{{#replace:{{{2|}}}|'|\'}}}}}}{{#switch:{{{1|}}} | ||
<!--Element Icons--> | <!--Element Icons--> | ||
|Fire|fire=[[File:BBDW Element Fire.png|25x25px]] | |Fire|fire=[[File:BBDW Element Fire.png|25x25px]] | ||
Line 31: | Line 31: | ||
|Item|item={{#cargo_query: | |Item|item={{#cargo_query: | ||
table=BBDW_Items|fields=nameen,icon,itemdesc,notes | table=BBDW_Items|fields=nameen,icon,itemdesc,notes | ||
|where=nameen='{{ | |where=nameen='{{#var:2}}' | ||
|format=template|template=bbdw/item|named args=yes | |format=template|template=bbdw/item|named args=yes | ||
|default=[[Gameplay:Items (BBDW)#{{{2|}}}|{{{2|}}}]] | |default=[[Gameplay:Items (BBDW)#{{{2|}}}|{{{2|}}}]] | ||
Line 38: | Line 38: | ||
|Orb|orb={{#cargo_query: | |Orb|orb={{#cargo_query: | ||
table=BBDW_Items=i|fields=i.nameen,i.namejp,i.icon,i.itemdesc | table=BBDW_Items=i|fields=i.nameen,i.namejp,i.icon,i.itemdesc | ||
|where=i.namejp='{{ | |where=i.namejp='{{#var:2}}' or i.nameen='{{#var:2}}' | ||
|format=template|template=bbdw/orb|named args=yes | |format=template|template=bbdw/orb|named args=yes | ||
|default={{{2|}}} | |default={{{2|}}} | ||
Line 44: | Line 44: | ||
<!--Statuses--> | <!--Statuses--> | ||
|Status|status={{#cargo_query:table=BBDW_Statuses|fields=nameen,effect,icon | |Status|status={{#cargo_query:table=BBDW_Statuses|fields=nameen,effect,icon | ||
|where=nameen='{{ | |where=nameen='{{#var:2}}' | ||
|format=template | |format=template | ||
|template=bbdw/status | |template=bbdw/status | ||
Line 55: | Line 55: | ||
,CONCAT('(', c.baserarity, ') ', '[[', c.pgname, '#', c.nameen, '|', c.nameen, ']]')=caption | ,CONCAT('(', c.baserarity, ') ', '[[', c.pgname, '#', c.nameen, '|', c.nameen, ']]')=caption | ||
,CONCAT('50px')=width | ,CONCAT('50px')=width | ||
|where=c.nameen='{{ | |where=c.nameen='{{#var:2}}' | ||
|format=template|template=Icon|named args=yes | |format=template|template=Icon|named args=yes | ||
|default={{{2|}}} | |default={{{2|}}} | ||
Line 64: | Line 64: | ||
table=BBDW_Grimoires=g | table=BBDW_Grimoires=g | ||
|fields=g.pgname=imglink,g.nameen=name | |fields=g.pgname=imglink,g.nameen=name | ||
,IF ( g.icon IS NULL, g.image, g.icon )=img,CONCAT('(★', g.rarity, ') ', '[[', g.pgname, '|', | ,IF ( g.icon IS NULL, g.image, g.icon )=img,CONCAT('(★', g.rarity, ') ', '[[', g.pgname, '|', '{{#var:2}}', ']]')=caption,CONCAT('80px')=width | ||
|where=g.namejp='{{ | |where=g.namejp='{{#var:2}}' or g.nameen='{{#var:2}}' | ||
|format=template|template=Icon|named args=yes | |format=template|template=Icon|named args=yes | ||
|default={{{2|}}} | |default={{{2|}}} |
Revision as of 02:04, 26 February 2021
Produces an icon.
Usage
{{bbdw|itemname}}
Subpages
Template:bbdwPlaceholder Icon
Element Icons
{{bbdw|Fire}} |
|
{{bbdw|Water}} |
|
{{bbdw|Earth}} |
|
{{bbdw|Wind}} |
|
{{bbdw|Light}} |
|
{{bbdw|Dark}} |
Rarity Icons
{{bbdw|Rarity R}}
, {{bbdw|Rarity SS+++}}
, etc.
Position & Role Icons
{{bbdw|Front Attacker}}
, {{bbdw|Flex Tank}}
, etc.
Front | Flex | Rear | |
---|---|---|---|
Attacker | |||
Tank | |||
Supporter | |||
Healer |
Command Type Icons
{{bbdw|Command R}} |
|
{{bbdw|Command D}} |
|
{{bbdw|Command S}} |
|
{{bbdw|Command EX}} |
|
{{bbdw|Command DD}} |
|
{{bbdw|Command AH}} |
Items
- Main article: Gameplay:Items (BBDW)
- To edit the way the icon is displayed, see Template:bbdw/item
Reference item names from Gameplay:Items (BBDW) by their English name.
{{bbdw|item|Crystallized Azure}}
{{bbdw|item|Crystallized Azure|display=icononly}}
Orbs
References items from Gameplay:Items (BBDW) by their Japanese name.
{{bbdw|orb|紅炎のオーブR2}}
紅炎のオーブR2
An orb with the Ars Magus of rising flames sealed within it. Equip it onto a character for its effect to activate.{{{notes}}}
Groups
Used mainly by other templates (Template:BBDW Character, Template:BBDW Character Table)
{{bbdw|Group|Grimoire/魔道書, Neutral/中立, Prime Field/素体}}
Grimoire/魔道書, Neutral/中立, Prime Field/素体
Statuses
- Main article: Status (BBDW)
Display a list of statuses: {{bbdw|status|ATK UP, ATK DOWN}}
Display a single status: {{bbdw|status|ATK Up}} {{bbdw|status|Healing Up}}
Characters
{{bbdw|char|Ciel Sulfur}}
{{bbdw|character|Ciel Sulfur}}
{{bbdw|character|Noel Vermillion|display=icononly}}
{{bbdw|character|Noel Vermillion|display=textonly}}
Grimoires
{{bbdw|grim|ティーパーティ}}
{{bbdw|grimoire|Invisible}}
Grimoires can be searched by their Japanese name or by their English name.
The above documentation is transcluded from Template:Bbdw/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |