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 (don't show underline for icononly display)
m (attempting to reduce post‐expand include size)
Line 1: Line 1:
<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
<includeonly><div style="display:inline;">{{tt
|{{#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|}}}]]}}<!--
|[[File:{{{icon|BBDW Double Skill Up Placeholder.png}}}|25px|link=]][[Gameplay:Items (BBDW)#{{{nameen|}}}|{{{nameen|}}}]]<!--
-->|{{#ifeq:{{{display|}}}|icononly|{{{nameen|}}}<hr/>}}{{#if:{{{notes|}}}|{{{notes|}}}<hr/>}}<i><small>{{{itemdesc|}}}</small></i><!--
-->|{{{notes|}}}{{#if:{{{notes|}}}|<hr/>}}<i><small>{{{itemdesc|}}}</small></i>}}{{#if:{{{amount|}}}|&nbsp;x{{{amount|}}}}}</div></includeonly><noinclude>
-->|line={{#ifeq:{{{display|}}}|icononly|false|true}}}}{{#if:{{{amount|}}}|&nbsp;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.
 
* For an icon-only display, see [[Template:bbdw/item icononly]].
Use <code><nowiki>{{bbdw|item|item name}}</nowiki></code> instead.


{{bbdw|item|P$*100000}}
{{bbdw|item|P$*100000}}
{{bbdw|item|Memory Fragment*100|display=icononly}}
{{bbdw|item|P$*100000|display=noicon}}
{{bbdw|item|Skip Ticket*20|display=icononly}}


==Usage==
==Usage==
Line 16: Line 12:
|nameen=AL Recovery Item (S)
|nameen=AL Recovery Item (S)
|namejp=
|namejp=
|icon=
|itemdesc=test
|itemdesc=test
|notes=test2
|notes=test2
|amount=10
|amount=10
|display=noicon
}}
}}
<pre><nowiki>
<pre><nowiki>
Line 29: Line 23:
|notes=test2
|notes=test2
|amount=10
|amount=10
|display=icononly, noicon (by default shows both icon and item name)
}}
}}
</nowiki></pre>
</nowiki></pre>
</noinclude>
</noinclude>

Revision as of 02:30, 9 March 2021

BBDW Item P$.pngP$The currency that flows through this world: Platinum Dollars. It can be used to purchase items, strengthen skills, and much more.
 x100000

Usage

 x10
{{bbdw/item
|nameen=item name
|icon=icon name
|itemdesc=test
|notes=test2
|amount=10
}}