Template:BerryRow: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
m Truncated the period at the end of the {{{Desc}}} parameter.
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
<noinclude>Use this in tandem with [[Template:BerryTable]] (as an argument to {{{Contents}}} on the aforementioned template) in order to construct data rows for it.  
{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{{Move}}}|data=technique=Name,tm=TM}}
 
<tr style="background-color:#FFFFFF;"><td>[[{{{Town}}}]]</td><td>{{#ifeq:{{uc:{{{Mode}}}}}|TM|TM{{#external_value:tm}}|Tutor}}|</td><td>[[{{{Move}}}]]</td><td>{{Pdollar}}{{{Price}}} {{#ifeq:{{ucfirst:{{{Mode}}}}}|TM|(5 for {{#expr:{{{Price}}}*4}})}}</td></tr>
It accepts two arguments: {{{Berry}}}, for the berry name, and {{{Desc}}}, for the berry's function-descriptors.</noinclude>
</includeonly>
<includeonly><tr style="background-color:#FFFFFF;"><td width="5%">[[File:{{{Berry}}} Berry.png]]</td><td>{{{Berry}}} Berry</td><td>[[File:{{{Berry}}} Berry Tree.png]]</td><td style="text-align: left; padding-left: 5px;">{{{Desc|None}}}</td></tr></includeonly>

Latest revision as of 22:31, 2 February 2023

Use this in tandem with Template:BerryTable (as an argument to {{{Contents}}} on the aforementioned template) in order to construct data rows for it.

It accepts two arguments: {{{Berry}}}, for the berry name, and {{{Desc}}}, for the berry's function-descriptors.