User:Rmkane/Template:Exp items/doc: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
⧼bulbapediamonobook-jumptonavigation⧽⧼bulbapediamonobook-jumptosearch⧽
Rmkane (talk | contribs)
Removed extra braces.
Rmkane (talk | contribs)
Adding examples.
Line 10: Line 10:


== Examples ==
== Examples ==
 
{|
{{User:Rmkane/Template:Exp items|Poké Ball|1|Great Ball|5|Ultra Ball|10|Potion|15|Super Potion|20|Hyper Potion|25|Max Potion|50|Revive|100|Max Revive|250|Razz Berry|500|Incense|1,000|Lucky Egg|1,500|Egg Incubator|5,000|Lure Module|10,000}}
! Markup !! Result
</onlyinclude>
|-
| <code><nowiki>{{Exp items|Poké Ball|1|Great Ball|5|Ultra Ball|10}}</nowiki></code> || {{User:Rmkane/Template:Exp items|Poké Ball|1|Great Ball|5|Ultra Ball|10}}
|-
| <code><nowiki>{{Exp items|Potion|15|Super Potion|20|Hyper Potion|25|Max Potion|50}}</nowiki></code> || {{User:Rmkane/Template:Exp items|Potion|15|Super Potion|20|Hyper Potion|25|Max Potion|50}}
|-
| <code><nowiki>{{Exp items|Revive|100|Max Revive|250}}</nowiki></code> || {{User:Rmkane/Template:Exp items|Revive|100|Max Revive|250}}
|-
| <code><nowiki>{{Exp items|Razz Berry|500|Incense|1,000|Lucky Egg|1,500|Egg Incubator|5,000|Lure Module|10,000}}</nowiki></code> || {{User:Rmkane/Template:Exp items|Razz Berry|500|Incense|1,000|Lucky Egg|1,500|Egg Incubator|5,000|Lure Module|10,000}}
|}

Revision as of 00:56, 29 July 2016

Usage

{{Exp item| <name1> | <count1> | <name2>? | <count2>? | ... | <nameN> | <countN> }}

Parameters

name[]
Names of the items.
count[]
Number of that items.

Examples

Markup Result
{{Exp items|Poké Ball|1|Great Ball|5|Ultra Ball|10}} ×1 ×5 ×10
{{Exp items|Potion|15|Super Potion|20|Hyper Potion|25|Max Potion|50}} ×15 ×20 ×25 ×50
{{Exp items|Revive|100|Max Revive|250}} ×100 ×250
{{Exp items|Razz Berry|500|Incense|1,000|Lucky Egg|1,500|Egg Incubator|5,000|Lure Module|10,000}} ×500 ×1,000 ×1,500 ×5,000 ×10,000