More actions
mNo edit summary |
m (added alternate display for orbs (display=box)) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{nameen|}}}{{{namejp|}}} | <includeonly>{{#if:{{{nameen|}}}{{{namejp|}}}|{{#switch:{{{display|}}} | ||
|<tr> | |box=<table class="wikitable" style="display:inline-block;width:200px;margin:0;vertical-align:top;"> | ||
<tr><td style='width:50px;height:50px;">{{Icon|img={{{icon|}}}|caption=|width=45px}}</td> | |||
<td id="{{{nameen|}}}" style="width:150px">[[#{{{nameen|}}}|{{{nameen|}}}]]<br/><small>{{{namejp|}}}</small></td> | |||
</tr> | |||
<tr><td colspan="2"><table class="mw-collapsible mw-collapsed" style="wdith:200px;"> | |||
<tr><td style="width:100%;"></td></tr> | |||
<tr><td>{{#if:{{{notes|}}}|{{{notes|}}}}}<!-- | |||
-->{{#if:{{{notes|}}}|{{#if:{{{itemdesc|}}}|<br/>}}}}<!-- | |||
--><small><i>{{{itemdesc|}}}</i></small></td></tr> | |||
<tr><td>{{{itemdescjp|}}}</td></tr> | |||
</table> | |||
</td></tr></table> | |||
|#default=<tr> | |||
<td>{{Icon|img={{{icon|}}}|caption=|width=45px}}</td> | <td>{{Icon|img={{{icon|}}}|caption=|width=45px}}</td> | ||
<td id="{{{nameen|}}}">[[#{{{nameen|}}}|{{{nameen|}}}]]<br/><small>{{{namejp|}}}</small></td> | <td id="{{{nameen|}}}">[[#{{{nameen|}}}|{{{nameen|}}}]]<br/><small>{{{namejp|}}}</small></td> | ||
Line 7: | Line 19: | ||
--><small><i>{{{itemdesc|}}}</i></small></td> | --><small><i>{{{itemdesc|}}}</i></small></td> | ||
<td>{{{itemdescjp|}}}</td> | <td>{{{itemdescjp|}}}</td> | ||
</tr><!-- | </tr> | ||
}}<!-- | |||
-->{{#cargo_store:_table=BBDW_Items | -->{{#cargo_store:_table=BBDW_Items | ||
Line 37: | Line 50: | ||
|itemdescjp= Original item description in Japanese | |itemdescjp= Original item description in Japanese | ||
|notes=Wikitext. Miscellaneous notes | |notes=Wikitext. Miscellaneous notes | ||
|display=box - For orbs, to display as boxes instead of table rows. If omitted, this template will display as a table row. | |||
}}</nowiki></pre> | }}</nowiki></pre> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 19:33, 27 February 2021
This template defines the table "BBDW_Items". View table.
Adds information about a BBDW item.
Usage
{{BBDW Item |nameen=String |namejp=String |icon=File. Filename without File: prefix |itemdesc=Wikitext. Item description |itemdescjp= Original item description in Japanese |notes=Wikitext. Miscellaneous notes |display=box - For orbs, to display as boxes instead of table rows. If omitted, this template will display as a table row. }}