Difference between revisions of "Template:Infobox"

m (Added category)
(Put Category:Template into <noinclude>)
 
Line 5: Line 5:
 
| content = infobox content
 
| content = infobox content
 
}}</nowiki></pre></noinclude><includeonly><div class="infobox"><div class="title">Key Information</div>{{#if:{{{image|}}}|<div class="image">[[Image:{{{image|}}}|150px]]</div>}}<div class="content">{{{content|}}}</div></div></includeonly>
 
}}</nowiki></pre></noinclude><includeonly><div class="infobox"><div class="title">Key Information</div>{{#if:{{{image|}}}|<div class="image">[[Image:{{{image|}}}|150px]]</div>}}<div class="content">{{{content|}}}</div></div></includeonly>
 
+
<noinclude>[[Category:Template]]</noinclude>
[[Category:Template]]
 

Latest revision as of 13:10, 4 February 2021

This template is used to embed an infobox in the page. It can be used directly, but is usually used by another infobox template which creates the content to assign to the content property.

{{Infobox
| image = Image_name.jpg
| content = infobox content
}}