Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:BBDW Character Versions: Difference between revisions

Template page
m (included TOC after the imbox)
m ((testing relatedchar field))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{2|}}}|plain|
<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
|{{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.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
}}__TOC__
|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]].  


By default, this template displays the character's versions in a [[Template:Imbox|message box]]. It can also be set to display without the message box.
This template displays the character's versions in a [[Template:Imbox|message box]].
==Usage==
==Usage==
===Plain===
<pre><nowiki>
{{BBDW Character Versions|Ciel Sulfur|plain}}
</nowiki></pre>
{{BBDW Character Versions|Ciel Sulfur|plain}}
===Message Box (Default)===
<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|Kazuma Kval}}
{{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-}}