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

From Bulbapedia, the community-driven Pokémon encyclopedia.
⧼bulbapediamonobook-jumptonavigation⧽⧼bulbapediamonobook-jumptosearch⧽
Rmkane (talk | contribs)
Adding examples.
Pale Prism (talk | contribs)
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

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}} ×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