More actions
(added display and amount parameters) |
m (formatting for icononly display type) |
||
Line 1: | Line 1: | ||
<includeonly><div style="display:inline;">{{ | <includeonly><div style="display:inline;{{#ifeq:{{{display|}}}|icononly|display:inline-block;vertical-align:top;text-align:center;width:60px;}}">{{#vardefine:SIZE|{{#ifeq:{{{display|}}}|icononly|45x45px|25x25px}}}}{{tt | ||
|{{#ifeq:{{{display|}}}| | |{{#ifeq:{{{display|}}}|noicon||{{#if:{{{icon|}}}|[[File:{{{icon|}}}|{{#var:SIZE}}|link=]]|[[File:BBDW Double Skill Up Placeholder.png|{{#var:SIZE}}|link=]]}}}}{{#ifeq:{{{display|}}}|icononly||[[Gameplay:Items (BBDW)#{{{nameen|}}}|{{{nameen|}}}]]}}<!-- | ||
-->|{{#if:{{{notes|}}}|{{{notes|}}}<hr/>}}<i><small>{{{itemdesc|}}}</small></i><!-- | -->|{{#ifeq:{{{display|}}}|icononly|{{{nameen|}}}<hr/>}}{{#if:{{{notes|}}}|{{{notes|}}}<hr/>}}<i><small>{{{itemdesc|}}}</small></i><!-- | ||
-->}}{{#if:{{{amount|}}}| x{{{amount|}}}}}</div></includeonly><noinclude> | -->}}{{#if:{{{amount|}}}| x{{{amount|}}}}}</div></includeonly><noinclude> | ||
Do not use this template directly. | Do not use this template directly. | ||
Use <code><nowiki>{{bbdw|item|item name}}</nowiki></code> instead. | Use <code><nowiki>{{bbdw|item|item name}}</nowiki></code> instead. | ||
{{bbdw|item|P$*100000}} | |||
{{bbdw|item|P$*100000|display=noicon}} | |||
{{bbdw|item|P$*100000|display=icononly}} | |||
{{bbdw|item|Skip Ticket*20|display=icononly}} | |||
==Usage== | ==Usage== | ||
{{bbdw/item | {{bbdw/item | ||
|nameen=AL Recovery Item (S) | |nameen=AL Recovery Item (S) | ||
|namejp= | |||
|icon= | |icon= | ||
|itemdesc=test | |itemdesc=test |
Revision as of 03:50, 5 March 2021
Do not use this template directly.
Use {{bbdw|item|item name}}
instead.
P$The currency that flows through this world: Platinum Dollars. It can be used to purchase items, strengthen skills, and much more.
x100000 x100000
x20
Usage
AL Recovery Item (S)test2
test
x10test
{{bbdw/item |nameen=item name |icon=icon name |itemdesc=test |notes=test2 |amount=10 |display=icononly, noicon (by default shows both icon and item name) }}