Template:Wide image: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "\[\[Category:([^|]+)\|{{PAGENAME}}\]\]" to "Category:$1") |
m (Text replacement - "\[\[(:)?Image:" to "[[$1File:") |
||
Line 4: | Line 4: | ||
|#default= | |#default= | ||
}}"> | }}"> | ||
<div class="thumbinner"><div style="overflow:auto; overflow-y:hidden; overflow-x:scroll;">[[ | <div class="thumbinner"><div style="overflow:auto; overflow-y:hidden; overflow-x:scroll;">[[File:{{{1}}}|{{{2}}}|{{#switch:{{{3}}} | ||
|thumb | |thumb | ||
|thumbnail | |thumbnail |
Revision as of 11:14, February 10, 2021
Usage
This template is for panoramic images such as the one shown in the example. Special thanks to Wikipedia.
{{Wide Image|''name''|''image width''|''caption''|''box width''|''alignment''}}
Example
{{Wide Image|Panorama - Unearthed.jpg|1800px}}
{{Wide Image|Panorama - Unearthed.jpg|1800px|Panorama of Unearthed}}
Right aligned
{{Wide Image|Panorama - Unearthed.jpg|1800px|Panorama of Unearthed|45%|right}} This text goes after the ''wide image'' template. Lorem ipsum dolor sit amet...
Template:Wide Image This text goes after the wide image template. Lorem ipsum dolor sit amet...