Template:Infobox/Thumbnail: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><p style="margin: 0px; padding: 2.5px; border-top: 1px solid rgb(183,143,81)">[[File:{{{image|No.png}}}|270px|frameless|center|{{{caption|}}}]]{{#if:{{{image|}}}|<!--TRUE-->|<!--FALSE-->[[Category:Missing_images]]}}</p></includeonly><noinclude>
<includeonly><p style="margin: 0px; padding: 2.5px; border-top: 1px solid rgb(183,143,81)">[[File:{{{image|No.png}}}|292px|frameless|center|{{{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>

Revision as of 10:51, 18 January 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.