More actions
m (remove imbox message text) |
m ((testing relatedchar field)) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{{Imbox | ||
{{#cargo_query: | | image= none | ||
| style = text-align:center; | |||
| text = {{#cargo_query: | |||
|tables=BBDW_Characters=char | |tables=BBDW_Characters=char | ||
|fields=char.icon,char.nameen=name,char.pgname,char.element,char.baserarity=rarity | |fields=char.icon,char.nameen=name,char.pgname,char.element,char.baserarity=rarity | ||
|where=char.basechar="{{{1|}}}" | |where=char.basechar="{{{1|}}}" {{#if:{{{2|}}}|or char.basechar="{{{2|}}}"}} | ||
|format=template | |format=template | ||
|template=BBDW Character Versions/1 | |template=BBDW Character Versions/1 | ||
|named args=yes | |named args=yes | ||
|order by=releasejp | |||
}}{{#cargo_query: | |||
| | |||
|tables=BBDW_Characters=char | |tables=BBDW_Characters=char | ||
|fields=char.icon,char.nameen=name,char.pgname,char.element,char.baserarity=rarity | |fields=char.icon,char.nameen=name,char.pgname,char.element,char.baserarity=rarity | ||
|where=char. | |where=char.relatedchar HOLDS "{{{1|}}}" {{#if:{{{2|}}}|or char.relatedchar HOLDS "{{{2|}}}"}} | ||
|format=template | |format=template | ||
|template=BBDW Character Versions/1 | |template=BBDW Character Versions/1 | ||
|named args=yes | |named args=yes | ||
|order by=releasejp | |||
|default= | |||
}} | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Line 24: | Line 24: | ||
Characters are grouped by the <code>basechar</code> parameter on their [[:Category:BBDW Character|BBDW gameplay pages]]. | Characters are grouped by the <code>basechar</code> parameter on their [[:Category:BBDW Character|BBDW gameplay pages]]. | ||
This template displays the character's versions in a [[Template:Imbox|message box]]. | |||
==Usage== | ==Usage== | ||
<pre><nowiki> | <pre><nowiki> | ||
{{BBDW Character Versions|Ciel Sulfur}} | {{BBDW Character Versions|Ciel Sulfur}} | ||
{{BBDW Character Versions|Nu-13|ν-No.13-}} | |||
</nowiki></pre> | </nowiki></pre> | ||
{{BBDW Character Versions| | {{BBDW Character Versions|Platinum the Trinity}} | ||
{{BBDW Character Versions|Nu-13|ν-No.13-}} | |||
{{BBDW Character Versions|Another Dark Kagura|}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 20:26, 27 November 2021
Template for displaying different BBDW versions of a character.
Characters are grouped by the basechar
parameter on their BBDW gameplay pages.
This template displays the character's versions in a message box.
Usage
{{BBDW Character Versions|Ciel Sulfur}} {{BBDW Character Versions|Nu-13|ν-No.13-}}