Difference between revisions of "Template:Infobox features"
From OtanWiki
Line 1: | Line 1: | ||
<div class="infobox" style="background: #ccf; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 320px;" > | <div class="infobox" style="background: #ccf; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 320px;" > | ||
− | <div class="infobox-title" style="font-size: 1. | + | <div class="infobox-title" style="font-size: 1.4em; text-align: center;">{{{title|Featured {{PAGENAME}} Articles}}}</div>{{#if:{{{image|}}}| |
<div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}} | <div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}} | ||
{{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}} | {{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}} |
Revision as of 16:51, 28 May 2021
Featured Infobox features Articles
Example usage:
{{Infobox war | title = | image = | caption = | location = | start_date = | end_date = | result = | territorial_changes = | belligerents = | leaders = | casualties = }}