Template:Thumbnail: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


==Example==
==Example==
{{Thumbnail|StoneCube.png|Stone Cube}}
{{Thumbnail|StoneCube.png|Stone Cube}}{{ClearLine}}<!--
<div style="clear: both;"></div>
-->
==Usage==
==Usage==
The Thumbnail template is meant to be used on all pages for the main image.
The Thumbnail template is meant to be used on all pages for the main image.
<pre>{{Thumbnail|<imagename>|<pageName>}}</pre>
<pre>{{Thumbnail|<imagename>|<pageName>}}</pre>
*The code above can be pasted into your page and edited.
*The code above can be pasted into your page and edited.
*The second variable (pageName) can be omitted. The caption will use the <nowiki>{{PAGENAME}}</nowiki> variable to fill the caption.
{{:Template Ordering}}
{{:Template Ordering}}



Latest revision as of 12:46, 12 September 2018


Example

Stone Cube

Usage

The Thumbnail template is meant to be used on all pages for the main image.

{{Thumbnail|<imagename>|<pageName>}}
  • The code above can be pasted into your page and edited.
  • The second variable (pageName) can be omitted. The caption will use the {{PAGENAME}} variable to fill the caption.

ORDERED TEMPLATE: This template is typically used on pages with other templates. It should be added in the order specified in Template Ordering.


Example Source

{{Thumbnail|StoneCube.png|Stone Cube}}