Template:Wide image: Difference between revisions
From Halopedia, the Halo wiki
mNo edit summary |
mNo edit summary |
||
(6 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 10: | Line 10: | ||
|border={{{1}}} | |border={{{1}}} | ||
|#default={{{3|}}}}}]]</div>{{ #if: {{{3|}}}|<div class="thumbcaption" style="font-size:smaller;">{{{3|}}}</div>|}} | |#default={{{3|}}}}}]]</div>{{ #if: {{{3|}}}|<div class="thumbcaption" style="font-size:smaller;">{{{3|}}}</div>|}} | ||
</div></div></includeonly> | </div></div></includeonly><noinclude> | ||
<noinclude> | |||
==Usage== | ==Usage== | ||
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 | |||
</noinclude> | [[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...