User:Rmkane/Template:Exp items: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(Creating a multiple experience item template.) |
(Fixing if-conditions.) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{if empty|{{{1|}}}||{{User:Rmkane/Template:Exp item|{{{1}}}|{{{2}}}}}}} | <includeonly><onlyinclude>{{#if empty|{{{1|}}}||{{User:Rmkane/Template:Exp item|{{{1}}}|{{{2}}}}}}} | ||
{{if empty|{{{3|}}}||{{User:Rmkane/Template:Exp item|{{{3}}}|{{{4}}}}}}} | {{#if empty|{{{3|}}}||{{User:Rmkane/Template:Exp item|{{{3}}}|{{{4}}}}}}} | ||
{{if empty|{{{5|}}}||{{User:Rmkane/Template:Exp item|{{{5}}}|{{{6}}}}}}} | {{#if empty|{{{5|}}}||{{User:Rmkane/Template:Exp item|{{{5}}}|{{{6}}}}}}} | ||
{{if empty|{{{7|}}}||{{User:Rmkane/Template:Exp item|{{{7}}}|{{{8}}}}}}} | {{#if empty|{{{7|}}}||{{User:Rmkane/Template:Exp item|{{{7}}}|{{{8}}}}}}} | ||
{{if empty|{{{9|}}}||{{User:Rmkane/Template:Exp item|{{{9}}}|{{{10}}}}}}} | {{#if empty|{{{9|}}}||{{User:Rmkane/Template:Exp item|{{{9}}}|{{{10}}}}}}} | ||
{{if empty|{{{11|}}}||{{User:Rmkane/Template:Exp item|{{{11}}}|{{{12}}}}}}} | {{#if empty|{{{11|}}}||{{User:Rmkane/Template:Exp item|{{{11}}}|{{{12}}}}}}} | ||
{{if empty|{{{13|}}}||{{User:Rmkane/Template:Exp item|{{{13}}}|{{{14}}}}}}} | {{#if empty|{{{13|}}}||{{User:Rmkane/Template:Exp item|{{{13}}}|{{{14}}}}}}} | ||
{{if empty|{{{15|}}}||{{User:Rmkane/Template:Exp item|{{{15}}}|{{{16}}}}}}} | {{#if empty|{{{15|}}}||{{User:Rmkane/Template:Exp item|{{{15}}}|{{{16}}}}}}} | ||
{{if empty|{{{17|}}}||{{User:Rmkane/Template:Exp item|{{{17}}}|{{{18}}}}}}} | {{#if empty|{{{17|}}}||{{User:Rmkane/Template:Exp item|{{{17}}}|{{{18}}}}}}} | ||
{{if empty|{{{19|}}}||{{User:Rmkane/Template:Exp item|{{{19}}}|{{{20}}}}}}}</onlyinclude></includeonly> | {{#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:39, 29 July 2016
Usage
{{Exp item| <name1> | <count1> | <name2>? | <count2>? | ... | <nameN> | <countN> }}
Parameters
- name[]
- Names of the items.
- count[]
- Number of that items.