Difference between revisions of "Template:Itemrow"

From PokeGen Wiki
Jump to navigation Jump to search
(item row also displaying icons for the item page)
 
(no longer duplicate file display, matt will fix the other ones to apply to this format someday, fixed shining chest not being displayed on not working images)
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
|-  
 
|-  
 
|style="background:#add8e6"|{{{1|???}}}
 
|style="background:#add8e6"|{{{1|???}}}
|style="width:30%;background:#add8e6"| <img src = "http://{{GameURL}}/images/items/{{lc:{{urlencode:{{{4|{{{1|shining_chest}}}}}}|WIKI}}}}.png" alt="No Icon">
+
|style="width:30%;background:#add8e6"| <img class="itemicon" src = "http://{{GameURL}}/images/items/{{urlencode:{{{4|{{{1|shining_chest}}}}}}|PATH}}.png" alt="">
 
|style="background:#add8e6"|{{{2|Descrption}}}
 
|style="background:#add8e6"|{{{2|Descrption}}}
 
|style="background:#add8e6"|{{{3|Obtained by}}}
 
|style="background:#add8e6"|{{{3|Obtained by}}}
 
|-</includeonly>
 
|-</includeonly>
 
<noinclude>|}
 
<noinclude>|}
uses the name of the ion a d
+
uses the name of the icon  if in ingame files
  
 
Example:
 
Example:
Line 22: Line 22:
 
{{Itemrow|Antidote||}}
 
{{Itemrow|Antidote||}}
 
{{Itemrow|This is no Item}}
 
{{Itemrow|This is no Item}}
 +
{{Itemrow}}
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Latest revision as of 07:18, 12 October 2024

uses the name of the icon if in ingame files

Example:

Item Name Icon Description Obtained by


Moon Stone Increases the power of Rock Type moves by 20% Can be won after beating Hiker George on any map.
Silver Pinap Berry Description Can be won from Pokegen Trivia
Antidote
This is no Item Descrption Obtained by
??? Descrption Obtained by