Difference between revisions of "Template:WPMILHIST Infobox style"

From Self-sufficiency
Jump to: navigation, search
(caption line-height needs to be bumped up a tad - changing from 1.4em to 1.5em)
m (1 revision imported)
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
<includeonly>{{#switch:{{{1|}}}
 
<includeonly>{{#switch:{{{1|}}}
|main_box= class="infobox {{#if:{{{2|}}}|{{{2}}}}}" style="width: 315px; border-spacing: 2px; text-align: left; font-size: 90%;"
+
|main_box=class="{{#if:{{{2|}}}|infobox {{{2}}}|infobox}}" style="{{#invoke:Data|Module:WPMILHIST Infobox style|main_box_raw}}"
|header_bar= style="background: lightsteelblue; text-align: center; vertical-align: middle;"
+
|{{#invoke:Data|Module:WPMILHIST Infobox style|{{{1|}}}}}
|nav_box= margin: 0; float: right; clear: right; width: 315px; margin-bottom: 0.5em; margin-left: 1em;
+
|nav_box_wide= 
+
|nav_box_header= background: lightsteelblue; font-size: 90%;
+
|nav_box_wide_header= background: lightsteelblue; font-size: 95%;
+
|nav_box_header_text= padding: 0.2em 0; line-height: 1.3em;
+
|nav_box_label= background: gainsboro;
+
|nav_box_text=
+
|image_box= style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa; line-height: 1.5em;"
+
|image_box_plain= style="text-align: center; font-size: 90%; line-height: 1.5em;"
+
|internal_border= 1px dotted #aaa;
+
|section_border= 1px solid #aaa;
+
|#default=
+
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{pp-template|small=yes}}
+
{{documentation}}
{{Wikipedia:WikiProject Military history/Infobox style}}
+
[[Category:WikiProject Military history templates| ]]
+
 
</noinclude>
 
</noinclude>

Latest revision as of 21:56, 17 February 2018