Template:Wide image: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "]] </noinclude>" to "]]</noinclude>") |
mNo edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
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 | ||
Line 15: | Line 15: | ||
This template is for panoramic images such as the one shown in the example. Special thanks to Wikipedia. | This template is for panoramic images such as the one shown in the example. Special thanks to Wikipedia. | ||
<pre>{{ | <pre>{{wide image|''name''|''image width''|''caption''|''box width''|''alignment''}}</pre> | ||
==Example== | ==Example== | ||
===Without caption=== | ===Without caption=== | ||
<pre> | <pre> | ||
{{ | {{wide image|Panorama - Unearthed.jpg|1800px}} | ||
</pre> | </pre> | ||
{{ | {{wide image|Panorama - Unearthed.jpg|1800px}} | ||
===With caption=== | ===With caption=== | ||
<pre> | <pre> | ||
{{ | {{wide image|Panorama - Unearthed.jpg|1800px|Panorama of Unearthed}} | ||
</pre> | </pre> | ||
{{ | {{wide image|Panorama - Unearthed.jpg|1800px|Panorama of Unearthed}} | ||
===Right aligned=== | ===Right aligned=== | ||
<pre> | <pre> | ||
{{ | {{wide image|Panorama - Unearthed.jpg|1800px|Panorama of Unearthed|45%|right}} | ||
This text goes after the ''wide image'' template. Lorem ipsum dolor sit amet... | This text goes after the ''wide image'' template. Lorem ipsum dolor sit amet... | ||
</pre> | </pre> | ||
{{ | {{wide image|Panorama - Unearthed.jpg|1800px|Panorama of Unearthed|45%|right}} | ||
This text goes after the ''wide image'' template. Lorem ipsum dolor sit amet... | This text goes after the ''wide image'' template. Lorem ipsum dolor sit amet... | ||
[[Category:Templates | |||
[[Category:Templates]]</noinclude> |
Latest revision as of 17:03, June 3, 2024
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...
This text goes after the wide image template. Lorem ipsum dolor sit amet...