Template:Vex Collective infobox: Difference between revisions

m (Text replacement - "The following allows you to alter the title of the sub-sections:" to "The following parameters allow you to customize the infobox colors and section titles:")
 
(93 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:6px; padding:2px; background:{{{BG|#cc0000}}}; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em;  color:{{{color1|inherit}}};"
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|#80533C}}}}}
{{!}}-
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|white}}}; text-align:center; font-size:120%;" colspan="2" | '''{{{name}}}'''
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{!}}-
 
{{#if:{{{image|}}}|
{{Infobox|section|title={{{section1-title|Overview}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#80533C}}}|entries=
! style="background:{{{imageBG|#FFF}}}; text-align:center; border-bottom:1px solid {{{lineBG|#cc0000}}};" colspan="2" {{!}} {{{image|}}}
{{Infobox|entry|title={{{objectives-title|Objectives}}}|content={{{objectives|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{Infobox|entry|title={{{minds-title|Minds}}}|content={{{minds|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{Infobox|entry|title={{{war-title|At war with}}}|content={{{war|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{Infobox|entry|title={{{ally-title|Allied with}}}|content={{{ally|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{Infobox|entry|title={{{encountered-title|Encountered}}}|content={{{encountered|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
}}
}}
{{!}}-
 
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{Infobox|end}}<noinclude>{{clear}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|white}}}; text-align:center; background:{{{sectionBG|#cc0000}}}" {{!}} {{{section1-title|Overview}}}}}
==Usage instructions==
{{!}}-
{{#if:{{{Subtype|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{Subtype-title|Subtype}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{Objectives|}}}
{{!}}-}}
{{#if:{{{Objectives|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{Objectives-title|Objectives}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{Axis Minds|}}}
{{!}}-}}
{{#if:{{{Axis Minds|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{Axis Minds-title|Axis Minds}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{Encountered|}}}
{{!}}-}}
{{#if:{{{Encountered|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{Encountered-title|Encountered}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{Encountered|}}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" |&nbsp;
|}<noinclude>{{clear}}
==Usage==
Copy and paste the following into the article and fill in the fields.
Copy and paste the following into the article and fill in the fields.


<pre>
<pre>
{{Vex Collective infobox
{{Vex Collective infobox
|name=
|image=
|image=
|name=
|objectives=
|objectives=
|Axis Minds=
|minds=
|Encountered=
|affiliation=
|war=
|ally=
|encountered=
}}
}}
</pre>
</pre>


==Custom parameters==
==Custom parameters==
The following allows you to alter the title of the sub-sections:
The following parameters allow you to customize the infobox colors and section titles:
 
<pre>
<pre>
|BG=
|BG=
|nameBG=
|imageBG=
|imageBG=
|nameBG=
|sectionBG=
|sectionBG=
|fieldBG=
|fieldBG=
Line 64: Line 45:
</pre>
</pre>


==Display parameters==
[[Category:Infobox templates]]</noinclude>
The following allows you to hide the section header
*hidea (hides Bio section header)
*hideb (hides Politic/Military section header)
 
<pre>
|hidea=
|hideb=
</pre>
 
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>

Latest revision as of 14:50, June 18, 2024

Vex Collective infobox
 

Usage instructions

Copy and paste the following into the article and fill in the fields.

{{Vex Collective infobox
|name=
|image=
|objectives=
|minds=
|affiliation=
|war=
|ally=
|encountered=
}}

Custom parameters

The following parameters allow you to customize the infobox colors and section titles:

|BG=
|nameBG=
|imageBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section2-title=