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 (moved TOC out of the imbox)
(remove unused "plain" option and repurpose param 2 to an alternate character name (e.g. for Zwei/Ringo Akagi, Nu-13/ν-No.13-, etc))
Line 1: Line 1:
<includeonly>{{#ifeq:{{{2|}}}|plain|
<includeonly>{{Imbox
{{#cargo_query:
|tables=BBDW_Characters=char
|fields=char.icon,char.nameen=name,char.pgname,char.element,char.baserarity=rarity
|where=char.basechar="{{{1|}}}"
|format=template
|template=BBDW Character Versions/1
|named args=yes
}}
|{{Imbox
| image= none
| image= none
| style = text-align:center;
| style = text-align:center;
Line 14: Line 5:
|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
}}
}}__TOC__
}}__TOC__
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Line 24: Line 14:
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>
<pre><nowiki>
{{BBDW Character Versions|Ciel Sulfur|plain}}
{{BBDW Character Versions|Ciel Sulfur}}
{{BBDW Character Versions|Nu-13|ν-No.13-}}
</nowiki></pre>
</nowiki></pre>
{{BBDW Character Versions|Ciel Sulfur|plain}}
===Message Box (Default)===
<pre><nowiki>
{{BBDW Character Versions|Ciel Sulfur}}
{{BBDW Character Versions|Ciel Sulfur}}
</nowiki></pre>
{{BBDW Character Versions|Nu-13|ν-No.13-}}
{{BBDW Character Versions|Kazuma Kval}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 13:59, 13 August 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-}}
Contents