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;">[[Image:{{{1}}}|{{{2}}}|{{#switch:{{{3}}}
<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

Without caption

{{Wide Image|Panorama - Unearthed.jpg|1800px}}

Template:Wide Image

With caption

{{Wide Image|Panorama - Unearthed.jpg|1800px|Panorama of Unearthed}}

Template:Wide Image

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...