Template:Cabal infobox: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
mNo edit summary
 
(86 intermediate revisions by 5 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|#e69500}}}; 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|#e69500}}}}}
{{!}}-
{{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|silver}}}}}
{{!}}-
 
{{#if:{{{image|}}}|
{{Infobox|section|title={{{section1-title|Statistics}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#e69500}}}|entries=
! style="background:{{{imageBG|#FFF}}}; text-align:center; border-bottom:1px solid {{{lineBG|#e69500}}};" colspan="2" {{!}} {{{image|}}}
{{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{Infobox|entry|title={{{legion(s)-title|Legion(s)}}}|content={{{legion(s)|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{Infobox|entry|title={{{role(s)-title|Role(s)}}}|content={{{role(s)|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{Infobox|entry|title={{{rank-title|Rank}}}|content={{{rank|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{Infobox|entry|title={{{mission(s)-title|Mission(s)}}}|content={{{mission(s)|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{Infobox|entry|title={{{weight-title|Weight}}}|content={{{weight|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
}}
}}
{{!}}-
 
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{Infobox|section|title={{{section2-title|Combat information}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#e69500}}}|entries=
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|white}}}; text-align:center; background:{{{sectionBG|#e69500}}}" {{!}} {{{section1-title|Statistics}}}}}
{{Infobox|entry|title={{{weapon(s)-title|Weapon(s)}}}|content={{{weapon(s)|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{!}}-
{{Infobox|entry|title={{{abilities-title|Abilities}}}|content={{{abilities|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{#if:{{{Species|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|silver}}}; border-top:1px solid {{{lineBG|silver}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{Species-title|Species}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|silver}}}; border-top:1px solid {{{lineBG|silver}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{Species|}}}
{{!}}-}}
{{#if:{{{Legions|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|silver}}}; border-top:1px solid {{{lineBG|silver}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{Legions-title|Legions}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|silver}}}; border-top:1px solid {{{lineBG|silver}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{Legions|}}}
{{!}}-}}
{{#if:{{{Goals|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|silver}}}; border-top:1px solid {{{lineBG|silver}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{Goals-title|Goals}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|silver}}}; border-top:1px solid {{{lineBG|silver}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{Goals|}}}
{{!}}-}}
{{#if:{{{Mission|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|silver}}}; border-top:1px solid {{{lineBG|silver}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{Mission-title|Mission}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|silver}}}; border-top:1px solid {{{lineBG|silver}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{Mission|}}}
{{!}}-}}
{{#if:{{{Height|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|silver}}}; border-top:1px solid {{{lineBG|silver}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{Height-title|Height}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|silver}}}; border-top:1px solid {{{lineBG|silver}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{Height|}}}
{{!}}-}}
{{#if:{{{Weight|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|silver}}}; border-top:1px solid {{{lineBG|silver}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{Weight-title|Weight}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|silver}}}; border-top:1px solid {{{lineBG|silver}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{Weight|}}}
}}
}}
{{!}}-
 
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{Infobox|end}}<noinclude>{{clear}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|white}}}; text-align:center; background:{{{sectionBG|#e69500}}}" {{!}} {{{section2-title|Combat information}}}}}
==Usage instructions==
{{!}}-
{{#if:{{{Weapon(s)|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|silver}}}; border-top:1px solid {{{lineBG|silver}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{Weapon-title|Weapon(s)}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|silver}}}; border-top:1px solid {{{lineBG|silver}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{Weapon(s)|}}}
{{!}}-}}
{{#if:{{{Abilities|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|silver}}}; border-top:1px solid {{{lineBG|silver}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{Abilities-title|Abilities}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|silver}}}; border-top:1px solid {{{lineBG|silver}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{Abilities|}}}
{{!}}-}}
| 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>
{{Cabal infobox
{{Cabal infobox
|name=
|image=
|image=
|name=
|species=
|species=
|legions=
|legion(s)=
|goals=
|role(s)=
|mission=
|rank=
|type=
|mission(s)=
|height=
|height=
|weight=
|weight=
Line 83: Line 41:


==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 97: Line 56:
</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:28, August 30, 2024

Cabal infobox
 

Usage instructions

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

{{Cabal infobox
|name=
|image=
|species=
|legion(s)=
|role(s)=
|rank=
|type=
|mission(s)=
|height=
|weight=
|weapon(s)=
|abilities=
}}

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=