Template:Infobox/Thumbnail: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
m (Protected "Template:Infobox/Thumbnail" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
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}}}|200px|frameless|center|{{{text|}}}]]{{#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}}}|200px|frameless|center|{{{caption|}}}]]{{#if:{{{image|}}}|<!--TRUE-->|<!--FALSE-->[[Category:Missing_images]]}}</p></includeonly><noinclude>
==Example==
todo
 
==Usage==
==Usage==
todo
todo
<pre>todo</pre>
<pre>{{Infobox/Thumbnail
|image=<file?>
|caption=<text>
}}</pre>
*The code above can be pasted into your page.
*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.
==Example Source==
*Templates adds [[:Category:Missing_images]] conditionally.
<pre>todo</pre>
[[Category:Templates/Formatting]]
[[Category:Templates/Formatting]]
</noinclude>
</noinclude>

Revision as of 22:17, 19 December 2017

Usage

todo

{{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.