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

Template:BBDW Item: Difference between revisions

Template page
m (changed recipe field to split by semicolon instead of commas)
m (moves icon to the right for "box" style displays)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{nameen|}}}{{{namejp|}}}|{{#switch:{{{display|}}}
<includeonly>{{#if:{{{nameen|}}}{{{namejp|}}}|{{#switch:{{{display|}}}
|box=<div style=display:inline-block;vertical-align:top;"><table id="{{{nameen|}}}" class="wikitable mw-collapsible mw-collapsed" style="display:table;width:250px;margin:0;">
|box=<div style="display:inline-block;vertical-align:top;"><table id="{{{nameen|}}}" class="wikitable mw-collapsible mw-collapsed" style="display:table;width:250px;margin:0;">
<tr><td style="display:flex;justify-content:space-evenly;">{{Icon|img={{{icon|}}}|caption=|width=45px}}
<tr><td style="display:flex;justify-content:space-evenly;"><div>[[#{{{nameen|}}}|{{{nameen|}}}]]<br/><small>{{{namejp|}}}</small></div><div>{{Icon|img={{{icon|}}}|caption=|width=45px}}</div>
<div>[[#{{{nameen|}}}|{{{nameen|}}}]]<br/><small>{{{namejp|}}}</small></div>
</td></tr>
</td></tr>
<tr><td>{{#if:{{{notes|}}}|{{{notes|}}}}}<!--
<tr><td>{{#if:{{{notes|}}}|{{{notes|}}}}}<!--

Latest revision as of 15:03, 24 June 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
|recipe=Sea King Fragment*10;Sea King Fragment*10;Sea King Fragment*10
|display=box - For orbs, to display as boxes instead of table rows. If omitted, this template will display as a table row.
}}