Template:Infobox war faction: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content deleted Content added
white space
rewriting to use Template:Infobox
Line 1: Line 1:
<includeonly>
<includeonly>
{| {{WPMILHIST Infobox style|main_box}}
{{Infobox
| bodystyle = float: right; clear: right; width: 315px; border-spacing: 2px; text-align: left; font-size: 90%;
|-
| titlestyle =
! colspan="2" {{WPMILHIST Infobox style|header_bar}} | {{{name|{{PAGENAME}}}}}
| abovestyle = background-color: #B0C4DE; text-align: center; vertical-align: middle; font-size: 110%;
|-
| subheaderstyle = background-color: #DCDCDC; text-align: center; vertical-align: middle;
{{#if:{{{native_name|}}}|
| title =
{{!}} colspan="2" {{WPMILHIST Infobox style|sub_header_bar}} {{!}} <span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>
| above = {{{name|{{PAGENAME}}}}}
}}
| subheader = {{#if:{{{native_name|}}} | <span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span> {{#if: {{{war|}}} | <br/> }} }}{{#if: {{{war|}}} | Participant in {{{war}}} }}
|-
| colspan="2" {{WPMILHIST Infobox style|sub_header_bar}} | Participant in {{{war}}}
| imagestyle = text-align: center; font-size: 90%; border-bottom: 1px solid #aaa; line-height: 1.5em;
|-
| captionstyle =
{{#if:{{{image|}}} |
| image = {{{image|}}}
{{!}} colspan="2" {{WPMILHIST Infobox style|image_box}} {{!}} {{{image|}}}<br/>{{{caption|}}}
| caption = {{{caption|}}}
}}
| image2 =
|-
| caption2 =
! style="padding-right: 1em;" | Active

| {{{active|}}}
| headerstyle =
|-
| labelstyle =
{{#if:{{{ideology|}}} |
| datastyle =
! style="padding-right: 1em;" {{!}} Ideology
| header1 =
{{!}} {{{ideology|}}}
| label1 = Active
}}
| data1 = {{{active|}}}
|-
| header2 =
{{#if:{{{clans|}}} |
| label2 = Ideology
! style="padding-right: 1em;" {{!}} Groups
{{!}} {{{clans|}}}
| data2 = {{{ideology|}}}
| header3 =
}}
| label3 = Groups
|-
| data3 = {{{clans|}}}
! style="padding-right: 1em;" | Leaders
| header4 =
| {{{leaders|}}}
| label4 = Leaders
|-
| data4 = {{{leaders|}}}
{{#if:{{{headquarters|}}} |
| header5 =
! style="padding-right: 1em;" {{!}} Headquarters
| label5 = Headquarters
{{!}} {{{headquarters|}}}
| data5 = {{{headquarters|}}}
}}
| header6 =
|-
| label6 = Area&nbsp;of<br>operations
{{#if:{{{area|}}} |
| data6 = {{{area|}}}
! style="padding-right: 1em;" {{!}} Area&nbsp;of<br>operations
| header7 =
{{!}} {{{area|}}}
| label7 = Strength
}}
| data7 = {{{strength|}}}
|-
| header8 =
{{#if:{{{strength|}}} |
| label8 = Part&nbsp;of
! style="padding-right: 1em;" {{!}} Strength
{{!}} {{{strength|}}}
| data8 = {{{partof|}}}
| header9 =
}}
| label9 = Originated&nbsp;as
|-
| data9 = {{{previous|}}}
{{#if:{{{partof|}}} |
| header10 =
! style="padding-right: 1em;" {{!}} Part&nbsp;of
| label10 = Became
{{!}} {{{partof|}}}
| data10 = {{{next|}}}
}}
| header11 =
|-
| label11 = Allies
{{#if:{{{previous|}}} |
| data11 = {{{allies|}}}
! style="padding-right: 1em;" {{!}} Originated&nbsp;as
| header12 =
{{!}} {{{previous|}}}
| label12 = Opponents
}}
| data12 = {{{opponents|}}}
|-
| header13 =
{{#if:{{{next|}}} |
| label13 = Battles/wars
! style="padding-right: 1em;" {{!}} Became
{{!}} {{{next|}}}
| data13 = {{{battles|}}}
| header14 =
}}
| label14 = Organizations
|-
| data14 = {{{organizations|}}}
{{#if:{{{allies|}}} |
| header15 =
! style="padding-right: 1em;" {{!}} Allies
| label15 =
{{!}} {{{allies|}}}
| data15 =
}}
| header16 =
|-
| label16 =
{{#if:{{{opponents|}}} |
| data16 =
! style="padding-right: 1em;" {{!}} Opponents
| header17 =
{{!}} {{{opponents|}}}
| label17 =
}}
| data17 =
|-
| header18 =
{{#if:{{{battles|}}} |
| label18 =
! style="padding-right: 1em;" {{!}} Battles/wars
| data18 =
{{!}} {{{battles|}}}
| header19 =
}}
| label19 =
|}</includeonly><noinclude>{{template doc}}</noinclude>
| data19 =
| header20 =
| label20 =
| data20 =

| belowstyle =
| below =
}}<noinclude>

{{documentation}}
</noinclude>

Revision as of 06:12, 4 October 2013