Difference between revisions of "Template:ItemText"

From Animal Crossing: Pocket Camp Wiki
Jump to: navigation, search
(Optimize?)
m (Undo revision 59733 by MstrPoptart (talk))
Tag: Undo
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
| {{#switch:{{{1|}}}
 
| {{#switch:{{{1|}}}
 
| Bells = Bells
 
| Bells = Bells
| Caps = Caps
 
 
| Leaf Ticket = Leaf_Ticket
 
| Leaf Ticket = Leaf_Ticket
 
| Caps = Caps
 
| = Error-image
 
| = Error-image
 
| #default =
 
| #default =
Line 12: Line 12:
 
}}
 
}}
 
}}
 
}}
}}[[File:{{#var:image}}.png|24px|link={{{1|}}}]] {{#if:{{{link|}}} | [[{{{1|}}}]] | {{{1|}}} }}</includeonly><noinclude>
+
}}[[File:{{#var:image}}.png|{{{size|24px}}}|link={{{1|}}}]] {{#if:{{{link|}}} | [[{{{1|}}}]] | {{{1|}}} }}</includeonly><noinclude>
{{doc}}[[Category:Templates]]
+
{{doc}}[[Category:Templates]]</noinclude>
</noinclude>
 

Latest revision as of 20:39, 24 January 2021

Template-info.png Documentation

Description

Template to be used to display item icon and text.

Usage

{{ItemText|ITEM|size=SIZE|link=}}

Example

{{ItemText|Request Ticket}}

Request Ticket.png Request Ticket

{{ItemText|Shark|size=50px}}

Fish fst0203.png Shark

{{ItemText|Stardust Gift+|size=32px|link=yes}}

Friendgift reg fc002.png Stardust Gift+

{{ItemText|OK Motors Acorn Tree|link=y}}

Int tre15 photospot cmps.png OK Motors Acorn Tree