Template:Item: Difference between revisions

From Wikifang, a definitive guide to Telefang, Dino Device and Bugsite
Jump to navigation Jump to search
m (tyop)
m (Reverted edits by Save my shit!!!!!!! (talk) to last revision by RacieB)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{ItemIconSmall|{{{1|Fire Gun}}}}}&nbsp;{{#switch:{{{2|}}}|favorite='''|Favorite='''|favourite='''|Favourite='''}}[[{{{1|Fire Gun}}} (item)|{{{1|Fire Gun}}}]]{{#switch:{{{2|}}}|favorite='''|Favorite='''|favourite='''|Favourite='''}}</includeonly><noinclude>To use this template, simply put:
<includeonly><span style="white-space:nowrap;">{{ItemIconSmall|{{{1|Flamethrower}}}}}&nbsp;{{#switch:{{{2|}}}|favorite='''|Favorite='''|favourite='''|Favourite='''}}[[{{{1|Flamethrower}}} (item)|{{{1|Flamethrower}}}]]{{#switch:{{{2|}}}|favorite='''|Favorite='''|favourite='''|Favourite='''}}</span></includeonly><noinclude>To use this template, simply put:


  <nowiki>{{Item|</nowiki>''item''|''favorite''<nowiki>}}</nowiki>
  <nowiki>{{Item|</nowiki>''item''|''favorite''<nowiki>}}</nowiki>
Line 8: Line 8:
*Favorite: Put "Favorite", "favorite", "Favourite", or "favourite" if this is the Denjuu's favorite item. Otherwise, leave this completely blank.
*Favorite: Put "Favorite", "favorite", "Favourite", or "favourite" if this is the Denjuu's favorite item. Otherwise, leave this completely blank.


For example, if a Denjuu uses a {{Item|Fire Gun}} as an experience item, but it isn't its favorite, put in <span style="font-family: 'Courier New'"><nowiki>{{</nowiki>Item|'''Fire Gun'''<nowiki>}}</nowiki></span>. It will show up like this:
For example, if a Denjuu uses a {{Item|Flamethrower}} as an experience item, but it isn't its favorite, put in <span style="font-family: 'Courier New'"><nowiki>{{</nowiki>Item|'''Flamethrower'''<nowiki>}}</nowiki></span>. It will show up like this:


{{Item|Fire Gun}}
{{Item|Flamethrower}}


For another example, if a Denjuu uses a {{Item|Bomb}}, and the bomb is its favorite item, put in <span style="font-family: 'Courier New'"><nowiki>{{</nowiki>Item|'''Bomb'''|'''Favorite'''<nowiki>}}</nowiki></span>. It will show up like this:
For another example, if a Denjuu uses a {{Item|Bomb}}, and the bomb is its favorite item, put in <span style="font-family: 'Courier New'"><nowiki>{{</nowiki>Item|'''Bomb'''|'''Favorite'''<nowiki>}}</nowiki></span>. It will show up like this:

Latest revision as of 11:13, 9 September 2018

To use this template, simply put:

{{Item|item|favorite}}

Parameters:

  • Item: The name of the item. Make sure that this is spelled correctly, including capitalization, or else it won't link to the right article, and the icon won't show up properly.
  • Favorite: Put "Favorite", "favorite", "Favourite", or "favourite" if this is the Denjuu's favorite item. Otherwise, leave this completely blank.

For example, if a Denjuu uses a  Flamethrower as an experience item, but it isn't its favorite, put in {{Item|Flamethrower}}. It will show up like this:

 Flamethrower

For another example, if a Denjuu uses a  Bomb, and the bomb is its favorite item, put in {{Item|Bomb|Favorite}}. It will show up like this:

 Bomb

See that putting in "Favorite" makes it bold?