Template:Fallen infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "margin:0 0 0.5em 1em;" to "margin:0 0 1em 1em;") |
(This should help for purpose.) Tag: Mobile edit |
||
(56 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox | {| class="infobox" style="width:260px; background:{{{BG|#2952a3}}}; 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|#2952a3}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} | ||
}} | }} | ||
|- | |||
{{#if:{{{hidea|}}}| | {{#if:{{{hidea|}}}|| | ||
! class="infoboxsubheading" colspan="2" style=" | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#2952a3}}}" {{!}} {{{section1-title|Biographical information}}} | ||
}} | |||
|- | |||
{{#if:{{{species|}}}| | {{#if:{{{species|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | ||
{{{species-title|Species}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | ||
{{{species | {{{species}}} | ||
}} | |||
|- | |||
{{#if:{{{type|}}}| | {{#if:{{{type|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | ||
{{{type-title|Type}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | ||
{{{type | {{{type}}} | ||
}} | |||
|- | |||
{{#if:{{{house|}}}| | {{#if:{{{house|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | ||
{{{house-title|House}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | ||
{{{house | {{{house}}} | ||
}} | |||
|- | |||
{{#if:{{{gender|}}}| | {{#if:{{{gender|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{gender-title|Gender}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{gender | {{{gender}}} | ||
}} | |||
|- | |||
{{#if:{{{rank|}}}| | {{#if:{{{rank|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | ||
{{{rank-title|Rank}}}: | |||
{{!}} class=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | ||
{{{ | {{{rank}}} | ||
}} | |||
|- | |||
{{#if:{{{purpose|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | |||
{{{purpose-title|Purpose}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | |||
{{{purpose}}} | |||
}} | |||
|- | |||
{{#if:{{{mission|}}}| | {{#if:{{{mission|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | ||
{{{mission-title|Mission}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | ||
{{{mission | {{{mission}}} | ||
}} | |||
|- | |||
{{#if:{{{height|}}}| | {{#if:{{{height|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | ||
{{{height-title|Height}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | ||
{{{height | {{{height}}} | ||
}} | |||
|- | |||
{{#if:{{{weight|}}}| | {{#if:{{{weight|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | ||
{{{weight-title|Weight}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | ||
{{{weight|}}} | {{{weight|}}} | ||
}} | }} | ||
|- | |||
{{#if:{{{hideb|}}}| | {{#if:{{{hideb|}}}|| | ||
! class="infoboxsubheading" colspan="2" style=" | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#2952a3}}}" {{!}} {{{section2-title|Combat information}}} | ||
}} | |||
|- | |||
{{#if:{{{weapon(s)|}}}| | {{#if:{{{weapon(s)|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | ||
{{{weapon-title|Weapon(s)}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | ||
{{{weapon(s) | {{{weapon(s)}}} | ||
}} | |||
|- | |||
{{#if:{{{abilities|}}}| | {{#if:{{{abilities|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | ||
{{{abilities-title|Abilities}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}} | ||
{{{abilities | {{{abilities}}} | ||
}} | |||
| colspan=2 | |- | ||
| class="infoboxfooter" colspan="2" | | |||
|}<noinclude>{{clear}} | |}<noinclude>{{clear}} | ||
==Usage== | ==Usage== | ||
Line 88: | Line 105: | ||
|gender= | |gender= | ||
|rank= | |rank= | ||
|purpose= | |||
|mission= | |mission= | ||
|height= | |height= | ||
Line 98: | Line 116: | ||
==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 10:45, November 15, 2023
Fallen infobox | |
---|---|
Biographical information | |
Combat information | |
Usage
Copy and paste the following into the article and fill in the fields.
{{Fallen infobox |image= |name= |species= |type= |house= |gender= |rank= |purpose= |mission= |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=