Difference between revisions of "Template:Test"
From Pixelmon Wiki
m |
m |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="width: 250px; border: 1px solid #ccc; background-color: #ffffff; font-family: sans-serif; text-align: center;"> | <div style="width: 250px; border: 1px solid #ccc; background-color: #ffffff; font-family: sans-serif; text-align: center;"> | ||
+ | |||
+ | <!-- Title --> | ||
<div style="background-color: #7ca84c; color: white; padding: 8px; font-weight: bold; font-size: 120%;"> | <div style="background-color: #7ca84c; color: white; padding: 8px; font-weight: bold; font-size: 120%;"> | ||
{{{name}}} | {{{name}}} | ||
</div> | </div> | ||
+ | |||
+ | <!-- Image --> | ||
<div style="padding: 10px;"> | <div style="padding: 10px;"> | ||
− | [[File:{{{image}}}| | + | <img src="[[File:{{{image}}}|link=]]" alt="{{{name}}}" style="width: 150px; height: auto; border: none;" /> |
</div> | </div> | ||
+ | |||
+ | <!-- Secondary image --> | ||
<div style="padding-bottom: 10px;"> | <div style="padding-bottom: 10px;"> | ||
− | [[File:{{{ | + | <img src="[[File:{{{grid_image}}}|link=]]" alt="{{{name}}}" style="width: 32px; height: auto; border: none;" /> |
</div> | </div> | ||
+ | |||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
− | Template for blocks | + | Template for blocks |
− | |||
<pre> | <pre> | ||
− | {{ | + | {{Block |
− | |name = | + | | name = Platinum Ore |
− | |image = | + | | image = Platinum_Ore.png |
+ | |grid_image=Grid_Platinum_Ore.png | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Revision as of 08:02, 2 July 2025
Template for blocks
{{Block | name = Platinum Ore | image = Platinum_Ore.png |grid_image=Grid_Platinum_Ore.png }}