Template:Wide image
From Wariopedia
Jump to navigationJump to search
This template is to be used when setting images that are too wide to fit on the page while maintaining its clear visualization. It works as a thumbnail that uses a scroll box if the image is too large.
Credit goes to Wikipedia. Click here to check out the original template.
Usage[edit]
{{wide image |1=image name |2=desired image width (use numbers only, don't add "px", i.e 500) |3=caption |4=frame width (99% is the default) |5=frame alignment: left, right or none (center is the default) |dir=Insert "rtl" if you want the right side of the image to appear initially (left to right is the default) }}
Note: only the parameters 1 and 2 are required. Insert the others if needed on that case.
Examples[edit]
Basic[edit]
This:
{{wide image|WL4 Hall of Hieroglyphs map.png|1992}}
Results in:
With caption[edit]
This:
{{wide image|WL4 Hall of Hieroglyphs map.png|1992|'''Hall of Hieroglyphs''' of ''[[Wario Land 4]]''}}
Results in:
Hall of Hieroglyphs of Wario Land 4
Aligned on left or right[edit]
This:
{{wide image|WL4 Hall of Hieroglyphs map.png|1992|'''Hall of Hieroglyphs''' of ''[[Wario Land 4]]''|45%|right}} If ''left'' or ''right'' is used, the text after the template will be aligned with it.
Results in:
Hall of Hieroglyphs of Wario Land 4
If left or right is used, the text after the template will be aligned with it.
Not aligned[edit]
This:
{{wide image|WL4 Hall of Hieroglyphs map.png|1992|'''Hall of Hieroglyphs''' of ''[[Wario Land 4]]''|45%|none}} If ''none'' is used, the text after the template will appear under it.
Results in:
Hall of Hieroglyphs of Wario Land 4
If none is used, the text after the template will appear under it.
Scrolls right to left[edit]
This:
{{wide image|WL4 Hall of Hieroglyphs map.png|1992|'''Hall of Hieroglyphs''' of ''[[Wario Land 4]]''|dir=rtl}}
Results in:
Hall of Hieroglyphs of Wario Land 4