Difference between revisions of "Template:Imagebox"

From PotterworldMC
Jump to: navigation, search
m (Remove blank lines)
m (Update to show page name as caption)
Line 6: Line 6:
 
{{{!}}
 
{{{!}}
 
{{!}}- style="background: #c2b280; text-align: center; color: #000000; height: 20px"  
 
{{!}}- style="background: #c2b280; text-align: center; color: #000000; height: 20px"  
−
{{!}} style="width: 400px; height: 20px; text-align: center;" colspan="2" {{!}} '''{{{caption}}}'''
+
{{!}} style="width: 400px; height: 20px; text-align: center;" colspan="2" {{!}} '''{{PAGENAME}}'''
 
{{!}}}
 
{{!}}}
 
{{!}}}
 
{{!}}}
 
</includeonly><noinclude>=Example Use=
 
</includeonly><noinclude>=Example Use=
−
<pre>{{Template:Imagebox
+
<pre>{{Template:Imagebox|image=Zin.png}}</pre>
−
|image=Zin.png
 
−
|caption=Zin
 
−
}}</pre>
 
 
==Result==
 
==Result==
−
{{Template:Imagebox
+
{{Template:Imagebox|image=Zin.png}}
−
|image=Zin.png
 
−
|caption=Zin
 
−
}}
 
  
 
[[Category: Templates]]
 
[[Category: Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 14:50, 18 January 2025

Example Use

{{Template:Imagebox|image=Zin.png}}

Result

Zin.png

Imagebox