Template:BBDW Item: Difference between revisions

Template page
m (added recipe field)
m (changed recipe field to split by semicolon instead of commas)
Line 5: Line 5:
</td></tr>
</td></tr>
<tr><td>{{#if:{{{notes|}}}|{{{notes|}}}}}<!--
<tr><td>{{#if:{{{notes|}}}|{{{notes|}}}}}<!--
-->{{#if:{{{recipe|}}}|Recipe:<br>{{#arraymap:{{{recipe|}}}|,|x|{{bbdw|item|x|display=icononly}}|}}</br>}}<!--
-->{{#if:{{{recipe|}}}|Recipe:<br>{{#arraymap:{{{recipe|}}}|;|x|{{bbdw|item|x|display=icononly}}|}}</br>}}<!--
-->{{#if:{{{notes|}}}|{{#if:{{{itemdesc|}}}|<br/>}}}}<!--
-->{{#if:{{{notes|}}}|{{#if:{{{itemdesc|}}}|<br/>}}}}<!--
--><small><i>{{{itemdesc|}}}</i></small></td></tr>
--><small><i>{{{itemdesc|}}}</i></small></td></tr>
Line 25: Line 25:
|icon={{{icon|}}}
|icon={{{icon|}}}
|itemdesc={{{itemdesc|}}}
|itemdesc={{{itemdesc|}}}
|notes={{{notes|}}}
|notes={{{notes|}}}{{#if:{{{recipe|}}}|Recipe:<br>{{#arraymap:{{{recipe|}}}|;|x|{{bbdw|item|x|display=icononly}}|}}}}
}}<!--
}}<!--


Line 48: Line 48:
|itemdescjp= Original item description in Japanese
|itemdescjp= Original item description in Japanese
|notes=Wikitext. Miscellaneous notes
|notes=Wikitext. Miscellaneous notes
|recipe=Sea King Fragment*10,Sea King Fragment*10,Sea King Fragment*10
|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.
|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 15:34, 17 March 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.
}}