[ Disclaimer, Create new user --- Wiki markup help, Install P99 ]
Difference between revisions of "Template:Thumbnail"
From Project 1999 Wiki
| Line 1: | Line 1: | ||
| − | <includeonly><div><span class="thumbnail-link" data-file="{{{1|{{{file}}}}}}" style="text-align:center">[[File:{{{1|{{{file}}}}}}|{{{2|{{{caption|}}}}}}|{{{3|{{{thumbnail width|150px}}}}}}]]</span><br/> | + | <includeonly><div style="width:{{#expr: {{{3|{{{thumbnail width|150}}}}}} + 10}}px; text-align: center;"><span class="thumbnail-link" data-file="{{{1|{{{file}}}}}}" style="text-align:center">[[File:{{{1|{{{file}}}}}}|{{{2|{{{caption|}}}}}}|{{{3|{{{thumbnail width|150px}}}}}}]]</span><br/> |
{{{2|{{{caption|{{{1|{{{file}}}}}}}}}}}}</div> | {{{2|{{{caption|{{{1|{{{file}}}}}}}}}}}}</div> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Revision as of 18:38, 21 November 2019
This template is for showing thumbnail-sized versions of images, when readers can click to see at full-size.
Contents |
Simple Example
{{Thumbnail|Map_temple_of_veeshan_3d.png}}
Simple Example With Caption
{{Thumbnail|Map_temple_of_veeshan_3d.png|"3D" Map of Temple of Veeshan}}
Named Parameter Example With Caption
{{Thumbnail
| file=Map_temple_of_veeshan_3d.png
| caption="3D" Map of Temple of Veeshan
}}
Named Parameter Example With Caption and Specific Sizes
{{Thumbnail
| file=Map_temple_of_veeshan_3d.png
| caption="3D" Map of Temple of Veeshan
| thumbnail width=300px
}}