Difference between revisions of "Template:Trainerimage"
Jump to navigation
Jump to search
m (Protected "Template:Trainerimage": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]) |
(improved handling) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><img src= "http://{{GameURL}}/images/{{{2|gyms}}}/{{{1|{{PAGENAME}}}}}.png" alt="No image for {{PAGENAME}} available" style="top:40px;right:20px;position:fixed;max-width:15%;;max-height:15%"> | + | <includeonly><img src= "http://{{GameURL}}/images/{{{folder|{{{2|gyms}}}}}}/{{urlencode:{{{trainername|{{{1|{{PAGENAME}}}}}}}}|PATH}}.png" alt="No image for {{PAGENAME}} available" style="top:40px;right:20px;position:fixed;max-width:15%;;max-height:15%"> |
</includeonly> | </includeonly> | ||
<noinclude>Includes Trainer Image in the top right corner | <noinclude>Includes Trainer Image in the top right corner |
Latest revision as of 09:16, 8 February 2025
Includes Trainer Image in the top right corner
{{Trainerimage|trainername(Default: Name of the wikipage)|folder(Default: gyms)}}
Example: Brock