Template:Infobox/Thumbnail: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><p style="margin: 0px; padding: 2.5px; | <includeonly><p class="ib-border-top" style="margin: 0px; padding: 2.5px;">[[File:{{#ifeq:{{{image|}}}||<!--TRUE-->No.png|<!--FALSE-->{{{image}}}}}|292px|frameless|center{{#ifeq:{{{caption|}}}||<!--TRUE-->|<!--FALSE-->{{!}}{{{caption|}}}}}]]{{#if:{{{image|}}}|<!--TRUE-->|<!--FALSE-->[[Category:Missing_images]]}}</p></includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
<pre>{{Infobox/Thumbnail|image=<file?>|caption=<text>}}</pre> | <pre>{{Infobox/Thumbnail|image=<file?>|caption=<text>}}</pre> |
Latest revision as of 14:34, 24 October 2018
Usage
{{Infobox/Thumbnail|image=<file?>|caption=<text>}}
- The code above can be pasted into your page.
- Any of the attributes can be left out entirely and they will use their default value.
- Templates adds Category:Missing_images conditionally.
Base Page
{{Infobox}} should be added to the base page of the article.
Sub-Page
The Infobox/Thumbnail template should be used in a /Infobox sub-page. See Template:Infobox for more information.
Infobox/Thumbnail Is intended to be used to add a 200px sized thumbnail in the information box.
IMPORTANT: {{Infobox/Start}} should always be used in combination with {{Infobox/End}}. Other Infobox templates should be placed between /Start and /End. Changing this order will result in a mess.