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

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(Adding examples.)
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
__NOTOC__<onlyinclude>
{{mainspace|template|status=complete}}__NOTOC__<onlyinclude>
== Usage ==
== Usage ==
<code><nowiki>{{Exp item| <name1> | <count1> | <name2>? | <count2>? | ... | <nameN> | <countN> }}</nowiki></code>
<code><nowiki>{{Exp item| <name1> | <count1> | <name2>? | <count2>? | ... | <nameN> | <countN> }}</nowiki></code>
Line 10: Line 10:


== Examples ==
== Examples ==
{|
{| class="wikitable"
! Markup !! Result
! Markup !! Result
|-
|-
Line 20: Line 20:
|-
|-
| <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}}
| <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}}
|}
|}</onlyinclude>

Latest revision as of 23:01, 29 August 2021

Bulbapedia bulb.png This template is intended to be moved into one of Bulbapedia's main content spaces.
Be mindful that it is still part of a personal userspace. Any content changes should be brought up on the talk page for this template.

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}} GO Poké Ball.png×1 GO Great Ball.png×5 GO Ultra Ball.png×10
{{Exp items|Potion|15|Super Potion|20|Hyper Potion|25|Max Potion|50}} GO Potion.png×15 GO Super Potion.png×20 GO Hyper Potion.png×25 GO Max Potion.png×50
{{Exp items|Revive|100|Max Revive|250}} GO Revive.png×100 GO Max Revive.png×250
{{Exp items|Razz Berry|500|Incense|1,000|Lucky Egg|1,500|Egg Incubator|5,000|Lure Module|10,000}} GO Razz Berry.png×500 GO Incense.png×1,000 GO Lucky Egg.png×1,500 GO Egg Incubator.png×5,000 GO Lure Module.png×10,000