Template:Cabal infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "style="([^"\n]+)" colspan="([^"\n]+)" class="([^"\n]+)"" to "class="$3" colspan="$2" style="$1"") |
m (Text replacement - "|{{!}}-|{{!}}-" to "||") |
||
(16 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" style="width:260px; background:{{{BG|#e69500}}}; color:{{{color1|#000}}}" cellspacing="0" | {| class="infobox" style="width:260px; background:{{{BG|#e69500}}}; color:{{{color1|#000}}}" cellspacing="0" | ||
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ||
|- | |||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
! class="infoboxmedia" colspan="2" style="background:{{{imageBG|# | {{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#fff}}}; border-bottom:1px solid {{{lineBG|silver}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} | ||
}} | }} | ||
|- | |||
{{#if:{{{hidea|}}}| | {{#if:{{{hidea|}}}|| | ||
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#e69500}}} | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#e69500}}}" {{!}} {{{section1-title|Statistics}}} | ||
}} | |||
|- | |||
{{#if:{{{Species|}}}| | {{#if:{{{Species|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{Species-title|Species}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{Species | {{{Species}}} | ||
}} | |||
|- | |||
{{#if:{{{Legion(s)|}}}| | {{#if:{{{Legion(s)|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{Legion(s)-title|Legion(s)}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{Legion(s) | {{{Legion(s)}}} | ||
}} | |||
|- | |||
{{#if:{{{Role(s)|}}}| | {{#if:{{{Role(s)|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{Role(s)-title|Role(s)}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{Role(s)|}}} | {{{Role(s)}}} | ||
{{!}}-}} | }} | ||
|- | |||
{{#if:{{{Rank|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | |||
{{{Rank-title|Rank}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | |||
{{{Rank}}} | |||
}} | |||
|- | |||
{{#if:{{{Type|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | |||
{{{Type-title|Type}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | |||
{{{Type}}} | |||
}} | |||
|- | |||
{{#if:{{{Mission(s)|}}}| | {{#if:{{{Mission(s)|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{Mission(s)-title|Mission(s)}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{Mission(s) | {{{Mission(s)}}} | ||
}} | |||
|- | |||
{{#if:{{{Height|}}}| | {{#if:{{{Height|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{Height-title|Height}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{Height | {{{Height}}} | ||
}} | |||
|- | |||
{{#if:{{{Weight|}}}| | {{#if:{{{Weight|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{Weight-title|Weight}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{Weight|}}} | {{{Weight|}}} | ||
}} | }} | ||
|- | |||
{{#if:{{{hideb|}}}| | {{#if:{{{hideb|}}}|| | ||
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#e69500}}} | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#e69500}}}" {{!}} {{{section2-title|Combat information}}} | ||
}} | |||
|- | |||
{{#if:{{{Weapon(s)|}}}| | {{#if:{{{Weapon(s)|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{Weapon-title|Weapon(s)}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{Weapon(s) | {{{Weapon(s)}}} | ||
}} | |||
|- | |||
{{#if:{{{Abilities|}}}| | {{#if:{{{Abilities|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{Abilities-title|Abilities}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{Abilities | {{{Abilities}}} | ||
}} | |||
|- | |||
| class="infoboxfooter" colspan="2" | | | class="infoboxfooter" colspan="2" | | ||
|}<noinclude>{{clear}} | |}<noinclude>{{clear}} | ||
Line 73: | Line 96: | ||
|Legion(s)= | |Legion(s)= | ||
|Role(s)= | |Role(s)= | ||
|Rank= | |||
|Type= | |||
|Mission(s)= | |Mission(s)= | ||
|Height= | |Height= | ||
Line 83: | Line 108: | ||
==Custom parameters== | ==Custom parameters== | ||
The following allows you to alter the title of the sub-sections: | The following allows you to alter the title of the sub-sections: | ||
<pre> | <pre> | ||
|BG= | |BG= |
Latest revision as of 11:18, October 18, 2022
Cabal infobox | |
---|---|
Statistics | |
Combat information | |
Usage
Copy and paste the following into the article and fill in the fields.
{{Cabal infobox |image= |name= |Species= |Legion(s)= |Role(s)= |Rank= |Type= |Mission(s)= |Height= |Weight= |Weapon(s)= |Abilities= }}
Custom parameters
The following allows you to alter the title of the sub-sections:
|BG= |imageBG= |nameBG= |sectionBG= |fieldBG= |titleBG= |color1= |color2= |section1-title= |section2-title=
Display parameters
The following allows you to hide the section header
- hidea (hides Bio section header)
- hideb (hides Politic/Military section header)
|hidea= |hideb=