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 (formatting for icononly display type)
m (added to Category:Templates)
 
(3 intermediate revisions by the same user not shown)
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;">[[File:{{{icon|BBDW Double Skill Up Placeholder.png}}}|25px|link=]][[Gameplay:Items (BBDW)#{{{nameen|}}}|{{{nameen|}}}]]{{#if:{{{amount|}}}|&nbsp;x{{{amount|}}}}}</div></includeonly><noinclude>
|{{#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|}}}]]}}<!--
* Do not use this template directly.
-->|{{#ifeq:{{{display|}}}|icononly|{{{nameen|}}}<hr/>}}{{#if:{{{notes|}}}|{{{notes|}}}<hr/>}}<i><small>{{{itemdesc|}}}</small></i><!--
* Use <code><nowiki>{{bbdw|item|item name}}</nowiki></code> instead.
-->}}{{#if:{{{amount|}}}|&nbsp;x{{{amount|}}}}}</div></includeonly><noinclude>
* For an icon-only display, see [[Template:bbdw/item icononly]].
Do not use this template directly.
 
Use <code><nowiki>{{bbdw|item|item name}}</nowiki></code> instead.


{{bbdw|item|P$*100000}}
{{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==
Line 16: Line 10:
|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 21:
|notes=test2
|notes=test2
|amount=10
|amount=10
|display=icononly, noicon (by default shows both icon and item name)
}}
}}
</nowiki></pre>
</nowiki></pre>
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 23:54, 26 March 2021

BBDW Item P$.pngP$ x100000

Usage

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