Template:Cabal infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "margin:0 0 0.5em 1em;" to "margin:0 0 1em 1em;") |
m (Text replacement - "({{{ *|\n *\| *)([A-Z][a-z][^\n\|\[\]{}]+ *)([=\|}])" to "$1$2$3") |
||
(56 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox | {| 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}}}} | |||
! style="background:{{{nameBG|transparent}}}; color:{{{color2| | |- | ||
{{ | |||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
! class=" | {{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#fff}}}; border-bottom:1px solid {{{lineBG|silver}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} | ||
}} | }} | ||
|- | |||
{{#if:{{{hidea|}}}| | {{#if:{{{hidea|}}}|| | ||
! class="infoboxsubheading" colspan="2" style=" | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#e69500}}}" {{!}} {{{section1-title|Statistics}}} | ||
}} | }} | ||
|- | |||
{{#if:{{{ | {{#if:{{{species|}}}| | ||
! class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{ | {{{species-title|Species}}}: | ||
{{#if:{{{ | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{!}} class=" | {{{species}}} | ||
}} | |||
{{!}} class="infoboxcell" style=" | |- | ||
{{{ | {{#if:{{{legion(s)|}}}| | ||
{{!}}-}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{#if:{{{ | {{{legion(s)-title|Legion(s)}}}: | ||
{{!}} class=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{legion(s)}}} | |||
{{!}} class="infoboxcell" style=" | }} | ||
{{{ | |- | ||
{{!}}-}} | {{#if:{{{role(s)|}}}| | ||
| | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{role(s)-title|Role(s)}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | |||
{{{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)|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | |||
{{{mission(s)-title|Mission(s)}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | |||
{{{mission(s)}}} | |||
}} | |||
|- | |||
{{#if:{{{height|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | |||
{{{height-title|Height}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | |||
{{{height}}} | |||
}} | |||
|- | |||
{{#if:{{{weight|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | |||
{{{weight-title|Weight}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | |||
{{{weight|}}} | |||
}} | |||
|- | |||
{{#if:{{{hideb|}}}|| | |||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#e69500}}}" {{!}} {{{section2-title|Combat information}}} | |||
}} | |||
|- | |||
{{#if:{{{weapon(s)|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | |||
{{{weapon-title|Weapon(s)}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | |||
{{{weapon(s)}}} | |||
}} | |||
|- | |||
{{#if:{{{abilities|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | |||
{{{abilities-title|Abilities}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | |||
{{{abilities}}} | |||
}} | |||
|- | |||
| class="infoboxfooter" colspan="2" | | |||
|}<noinclude>{{clear}} | |}<noinclude>{{clear}} | ||
==Usage== | ==Usage== | ||
Line 71: | Line 93: | ||
|image= | |image= | ||
|name= | |name= | ||
| | |species= | ||
| | |legion(s)= | ||
| | |role(s)= | ||
| | |rank= | ||
| | |type= | ||
| | |mission(s)= | ||
| | |height= | ||
| | |weight= | ||
|weapon(s)= | |||
|abilities= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 84: | 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 16:36, May 25, 2024
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=