User:Rmkane/Template:Exp items: Difference between revisions
(Fixing if-conditions.) |
(Escaping pipes.) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#if empty|{{{1|}}}||{{User:Rmkane/Template:Exp item | <includeonly><onlyinclude>{{#if empty|{{{1|}}}||{{User:Rmkane/Template:Exp item{{!}}{{{1}}}{{!}}{{{2}}}}}}} | ||
{{#if empty|{{{3|}}}||{{User:Rmkane/Template:Exp item | {{#if empty|{{{3|}}}||{{User:Rmkane/Template:Exp item{{!}}{{{3}}}{{!}}{{{4}}}}}}} | ||
{{#if empty|{{{5|}}}||{{User:Rmkane/Template:Exp item | {{#if empty|{{{5|}}}||{{User:Rmkane/Template:Exp item{{!}}{{{5}}}{{!}}{{{6}}}}}}} | ||
{{#if empty|{{{7|}}}||{{User:Rmkane/Template:Exp item | {{#if empty|{{{7|}}}||{{User:Rmkane/Template:Exp item{{!}}{{{7}}}{{!}}{{{8}}}}}}} | ||
{{#if empty|{{{9|}}}||{{User:Rmkane/Template:Exp item | {{#if empty|{{{9|}}}||{{User:Rmkane/Template:Exp item{{!}}{{{9}}}{{!}}{{{10}}}}}}} | ||
{{#if empty|{{{11|}}}||{{User:Rmkane/Template:Exp item | {{#if empty|{{{11|}}}||{{User:Rmkane/Template:Exp item{{!}}{{{11}}}{{!}}{{{12}}}}}}} | ||
{{#if empty|{{{13|}}}||{{User:Rmkane/Template:Exp item | {{#if empty|{{{13|}}}||{{User:Rmkane/Template:Exp item{{!}}{{{13}}}{{!}}{{{14}}}}}}} | ||
{{#if empty|{{{15|}}}||{{User:Rmkane/Template:Exp item | {{#if empty|{{{15|}}}||{{User:Rmkane/Template:Exp item{{!}}{{{15}}}{{!}}{{{16}}}}}}} | ||
{{#if empty|{{{17|}}}||{{User:Rmkane/Template:Exp item | {{#if empty|{{{17|}}}||{{User:Rmkane/Template:Exp item{{!}}{{{17}}}{{!}}{{{18}}}}}}} | ||
{{#if empty|{{{19|}}}||{{User:Rmkane/Template:Exp item | {{#if empty|{{{19|}}}||{{User:Rmkane/Template:Exp item{{!}}{{{19}}}{{!}}{{{20}}}}}}}</onlyinclude></includeonly> | ||
<noinclude>{{User:Rmkane/Template:Exp_items/doc}}</noinclude> | <noinclude>{{User:Rmkane/Template:Exp_items/doc}}</noinclude> |
Revision as of 00:41, 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}} |
Poké Ball | Poké Ball|1}}}}
{{#if empty|Great Ball||{{User:Rmkane/Template:Exp item|Great Ball|5}}}} {{#if empty|Ultra Ball||{{User:Rmkane/Template:Exp item|Ultra Ball|10}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{7}}}|{{{8}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{9}}}|{{{10}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{11}}}|{{{12}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{13}}}|{{{14}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{15}}}|{{{16}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{17}}}|{{{18}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{19}}}|{{{20}}}}}}} |
{{Exp items|Potion|15|Super Potion|20|Hyper Potion|25|Max Potion|50}} |
Potion | Potion|15}}}}
{{#if empty|Super Potion||{{User:Rmkane/Template:Exp item|Super Potion|20}}}} {{#if empty|Hyper Potion||{{User:Rmkane/Template:Exp item|Hyper Potion|25}}}} {{#if empty|Max Potion||{{User:Rmkane/Template:Exp item|Max Potion|50}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{9}}}|{{{10}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{11}}}|{{{12}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{13}}}|{{{14}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{15}}}|{{{16}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{17}}}|{{{18}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{19}}}|{{{20}}}}}}} |
{{Exp items|Revive|100|Max Revive|250}} |
Revive | Revive|100}}}}
{{#if empty|Max Revive||{{User:Rmkane/Template:Exp item|Max Revive|250}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{5}}}|{{{6}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{7}}}|{{{8}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{9}}}|{{{10}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{11}}}|{{{12}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{13}}}|{{{14}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{15}}}|{{{16}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{17}}}|{{{18}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{19}}}|{{{20}}}}}}} |
{{Exp items|Razz Berry|500|Incense|1,000|Lucky Egg|1,500|Egg Incubator|5,000|Lure Module|10,000}} |
Razz Berry | Razz Berry|500}}}}
{{#if empty|Incense||{{User:Rmkane/Template:Exp item|Incense|1,000}}}} {{#if empty|Lucky Egg||{{User:Rmkane/Template:Exp item|Lucky Egg|1,500}}}} {{#if empty|Egg Incubator||{{User:Rmkane/Template:Exp item|Egg Incubator|5,000}}}} {{#if empty|Lure Module||{{User:Rmkane/Template:Exp item|Lure Module|10,000}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{11}}}|{{{12}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{13}}}|{{{14}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{15}}}|{{{16}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{17}}}|{{{18}}}}}}} {{#if empty|||{{User:Rmkane/Template:Exp item|{{{19}}}|{{{20}}}}}}} |