Template:Infobox military unit: Difference between revisions

From Pantonian Republic Wiki
Jump to navigation Jump to search
(add auto short description (displays only when short description is not provided by the article))
 
m (1 revision imported)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
| bodystyle     = {{WPMILHIST Infobox style|main_box_raw}}
| bodystyle =  
| abovestyle    = {{WPMILHIST Infobox style|header_raw}}
float: right;
| subheaderstyle = {{WPMILHIST Infobox style|sub_header_raw}}
clear: right;
margin: 0 0 1em 1em;
width: 300px;
background-color: #f5f5f5;
border: 1px solid #cecece;
font-size: 88%;
padding: 0;
border-spacing: 0;
border-collapse: collapse; <!-- for hidden border -->
| abovestyle =
font-size: 125%;
line-height: 1.2;
font-weight: bold;
text-align: center;
padding-top: 0.5em;
padding-bottom: {{#if: {{{name|}}}| 0.25em | 0.6em }};
 
| subheaderstyle =  
padding-bottom: 0.5em;
font-weight: normal;
font-size: 125%;
line-height: 1.2;
text-align: center;
 
| imagestyle =
text-align: center;
padding-top: 0.6em;
border-top: 1px solid #a2a9b1;
 
| headerstyle =
text-align: left;
padding: 0.4em 1em 0 1em;
border-top: 1px solid #a2a9b1;
 
| labelstyle =
vertical-align: top;
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.2em 1em;
text-align: left;
width: 80px;
 
| datastyle =
vertical-align: top;
border-top: 1px solid #a2a9b1;
padding: 0.4em 1em 0.2em 0.6em;
text-align: left;
 
| rowstyle3 =
border-top: hidden;
 
| above          = {{{unit_name|{{PAGENAMEBASE}}}}}
| above          = {{{unit_name|{{PAGENAMEBASE}}}}}
| subheader      = {{{native_name|}}}
| subheader      = {{{native_name|}}}

Latest revision as of 20:20, 25 May 2023