Join our discord
In partnership with NodeCraft Logo NodeCraft


You are not logged in! Create an account or login to contribute! Log in here!

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}}}|200px]]
+
     <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:{{{image}}}|32px]]
+
     <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
Example:
 
  
 
<pre>
 
<pre>
{{BloqueMinecraft
+
{{Block
|name = Block
+
| name = Platinum Ore
|image = Block.png
+
| 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
}}

© 2012 - 2025 Pixelmon Mod