More actions
m (changed orbs to use Template:bbdw/orb instead of Template:bbdw/item to display them) |
Hachimitsu (talk | contribs) m (Reverted edits by Hachimitsu (talk) to last revision by Chao) Tag: Rollback |
||
(21 intermediate revisions by 3 users not shown) | |||
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 27: | Line 27: | ||
|AOE=Multi-target | |AOE=Multi-target | ||
<!--Groups--> | <!--Groups--> | ||
|group|Group={{#arraymap:{{{2|}}}|,|x|[[ | |group|Group={{#arraymap:{{{2|}}}|,|x|[[Character Groups (BBDW)#{{#sub:x|0|{{#pos:x|/}}}}|x]]}} | ||
<!--Items--> | <!--Items--> | ||
|Item|item={{#cargo_query: | |Item|item={{#vardefine:item|{{#explode:{{#var:2}}|*}}}}{{#vardefine:amount|{{#explode:{{#var:2}}|*|1}}}}{{#cargo_query: | ||
table=BBDW_Items | table=BBDW_Items|fields=nameen,icon,itemdesc,notes,CONCAT('{{#var:amount}}')=amount,CONCAT('{{{display|}}}')=display,CONCAT('{{{width|}}}')=width | ||
|where= | |where=nameen='{{#var:item}}' | ||
|format=template|template=bbdw/item|named args=yes | |format=template|template=bbdw/item {{{display|}}}|named args=yes | ||
|default=[[Gameplay:Items (BBDW)#{{#var:item}}|{{#var:item}}]] {{#if:{{#var:amount}}|x{{#var:amount}}}} | |||
}} | }} | ||
<!--Orbs--><!--orbs query on namejp instead of nameen--> | <!--Orbs--><!--orbs query on namejp instead of nameen--> | ||
|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,i.notes | ||
|where=i.namejp='{{{2 | |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|}}} | |||
}} | }} | ||
<!--Statuses--> | <!--Statuses--> | ||
|Status|status={{#arraymap:{{{2|}}}|,|x|[[Status (BBDW)#{{#sub:x|0|{{#pos:x|,}}}}|x]]}} | |Status|status={{#cargo_query:table=BBDW_Statuses|fields=nameen,effect,icon,statustype | ||
|where=nameen='{{#var:2}}' | |||
|format=template | |||
|template=bbdw/status | |||
|named args=yes | |||
|default={{#arraymap:{{{2|}}}|,|x|[[Status (BBDW)#{{#sub:x|0|{{#pos:x|,}}}}|x]]}} | |||
}} | |||
<!--Character--> | |||
|Char|char|Character|character={{#cargo_query: | |||
table=BBDW_Characters=c|fields= | |||
{{#ifeq:{{{display|}}}|textonly|CONCAT('')|CONCAT(c.pgname, '#', c.nameen)}}=imglink, | |||
{{#ifeq:{{{display|}}}|textonly|CONCAT('')|c.icon}}=img, | |||
{{#ifeq:{{{display|}}}|icononly|CONCAT('')|CONCAT('(', c.baserarity, ') ', '[[', c.pgname, '#', c.nameen, '|', c.nameen, ']]')}}=caption, | |||
{{#ifeq:{{{display|}}}|textonly|CONCAT('')|CONCAT('50px')}}=width | |||
|where=c.nameen='{{#var:2}}' | |||
|format=template|template=Icon|named args=yes | |||
|default={{{2|}}} | |||
|more results text=|limit=1 | |||
}} | |||
<!--Grimoire--> | |||
|Grim|grim|Grimoire|grimoire={{#cargo_query: | |||
table=BBDW_Grimoires=g | |||
|fields=g.pgname=imglink,g.nameen=name | |||
,IF ( g.icon IS NULL, g.image, g.icon )=img,CONCAT('(★', g.rarity, ') ', '[[', g.pgname, '|', g.nameen, ']]')=caption,CONCAT('80px')=width | |||
|where=g.namejp='{{#var:2}}' or g.nameen='{{#var:2}}' | |||
|format=template|template=Icon|named args=yes | |||
|default={{{2|}}} | |||
|more results text=|limit=1 | |||
}} | |||
<!--Default Placecholder Icon --> | <!--Default Placecholder Icon --> | ||
|#default=[[File:BBDW Double Skill Up Placeholder.png|25x25px]] | |#default=[[File:BBDW Double Skill Up Placeholder.png|25x25px]] | ||
}}</includeonly><noinclude>{{Documentation}} | }}</includeonly><noinclude>{{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 19:13, 2 July 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}}
200 Crystallized Azure is needed for 1 pull of the Crystallized Azure Gacha. It has free and paid versions.
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.
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. |