Difference between revisions of "Template:Trainerimage"

From PokeGen Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><img src= "http://{{GameURL}}/images/{{{2|gyms}}}/{{{1|{{PAGENAME}}}}}.png" alt="No image for {{PAGENAME}} available" style="top:40px;right:20px;position:fixed;">...")
 
(improved usage preview)
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;">
 
<includeonly><img src= "http://{{GameURL}}/images/{{{2|gyms}}}/{{{1|{{PAGENAME}}}}}.png" alt="No image for {{PAGENAME}} available" style="top:40px;right:20px;position:fixed;">
 
</includeonly>
 
</includeonly>
<noinclude><pre>{{SingleSprite|number|trait}}
+
<noinclude>Includes Trainer Image in the top right corner
</pre>Example:{{Trainerimage|Brock}}
+
<pre>{{Trainerimage|trainername(Default: Name of the wikipage)|folder(Default: gyms)}}
 +
</pre>Example: Brock {{Trainerimage|Brock}}
 
</noinclude>
 
</noinclude>

Revision as of 07:03, 2 February 2022

Includes Trainer Image in the top right corner

{{Trainerimage|trainername(Default: Name of the wikipage)|folder(Default: gyms)}}

Example: Brock No image for Trainerimage available