Template:Fallen infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - ":0px" to ":0")
No edit summary
Tag: Mobile edit
 
(69 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; background:{{{BG|#2952a3}}}; color:{{{color1|#000}}};"
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|#2952a3}}}}}
{{!}}-
{{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|#2952a3}}}}}
{{!}}-
 
{{#if:{{{image|}}}|
{{Infobox|section|title={{{section1-title|Biographical information}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#2952a3}}}|entries=
! class="infoboxcell" style="background:{{{imageBG|#FFF}}}; text-align:center; border-bottom:1px solid {{{lineBG|#2952a3}}};" colspan="2" {{!}} {{{image|}}}
{{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#2952a3}}}}}
{{Infobox|entry|title={{{race-title|Race}}}|content={{{race|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#2952a3}}}}}
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#2952a3}}}}}
{{Infobox|entry|title={{{house-title|House}}}|content={{{house|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#2952a3}}}}}
{{Infobox|entry|title={{{gender-title|Gender}}}|content={{{gender|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{Infobox|entry|title={{{rank-title|Rank}}}|content={{{rank|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#2952a3}}}}}
{{Infobox|entry|title={{{purpose-title|Purpose}}}|content={{{purpose|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#2952a3}}}}}
{{Infobox|entry|title={{{mission-title|Mission}}}|content={{{mission|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#2952a3}}}}}
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#2952a3}}}}}
{{Infobox|entry|title={{{weight-title|Weight}}}|content={{{weight|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#2952a3}}}}}
}}
}}
{{!}}-
 
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{Infobox|section|title={{{section2-title|Combat information}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#2952a3}}}|entries=
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|white}}}; text-align:center; background:{{{sectionBG|#2952a3}}}" {{!}} {{{section1-title|Biographical Information}}}}}
{{Infobox|entry|title={{{weapon(s)-title|Weapon(s)}}}|content={{{weapon(s)|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#2952a3}}}}}
{{!}}-
{{Infobox|entry|title={{{abilities-title|Abilities}}}|content={{{abilities|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#2952a3}}}}}
{{#if:{{{species|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#2952a3}}}; border-top:1px solid {{{lineBG|#2952a3}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{species-title|Species}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#2952a3}}}; border-top:1px solid {{{lineBG|#2952a3}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{species|}}}
{{!}}-}}
{{#if:{{{type|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#2952a3}}}; border-top:1px solid {{{lineBG|#2952a3}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{type-title|Type}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#2952a3}}}; border-top:1px solid {{{lineBG|#2952a3}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{type|}}}
{{!}}-}}
{{#if:{{{house|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#2952a3}}}; border-top:1px solid {{{lineBG|#2952a3}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{house-title|House}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#2952a3}}}; border-top:1px solid {{{lineBG|#2952a3}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{house|}}}
{{!}}-}}
{{#if:{{{gender|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#666600}}}; border-top:1px solid {{{lineBG|#666600}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{gender-title|Gender}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#666600}}}; border-top:1px solid {{{lineBG|#666600}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{gender|}}}
{{!}}-}}
{{#if:{{{rank|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#2952a3}}}; border-top:1px solid {{{lineBG|#2952a3}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{rank-title|Rank}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#2952a3}}}; border-top:1px solid {{{lineBG|#2952a3}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{rank|}}}
{{!}}-}}
{{#if:{{{mission|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#2952a3}}}; border-top:1px solid {{{lineBG|#2952a3}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{mission-title|Mission}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#2952a3}}}; border-top:1px solid {{{lineBG|#2952a3}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{mission|}}}
{{!}}-}}
{{#if:{{{height|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#2952a3}}}; border-top:1px solid {{{lineBG|#2952a3}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{height-title|Height}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#2952a3}}}; border-top:1px solid {{{lineBG|#2952a3}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{height|}}}
{{!}}-}}
{{#if:{{{weight|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#2952a3}}}; border-top:1px solid {{{lineBG|#2952a3}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{weight-title|Weight}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#2952a3}}}; border-top:1px solid {{{lineBG|#2952a3}}}; 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|#2952a3}}}" {{!}} {{{section2-title|Combat information}}}}}
==Usage instructions==
{{!}}-
{{#if:{{{weapon(s)|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#2952a3}}}; border-top:1px solid {{{lineBG|#2952a3}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{weapon-title|Weapon(s)}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#2952a3}}}; border-top:1px solid {{{lineBG|#2952a3}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{weapon(s)|}}}
{{!}}-}}
{{#if:{{{abilities|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#2952a3}}}; border-top:1px solid {{{lineBG|#2952a3}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{abilities-title|Abilities}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#2952a3}}}; border-top:1px solid {{{lineBG|#2952a3}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{abilities|}}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; 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>
{{Fallen infobox
{{Fallen infobox
|name=
|image=
|image=
|name=
|species=
|species=
|race=
|type=
|type=
|house=
|house=
|gender=
|gender=
|rank=
|rank=
|purpose=
|mission=
|mission=
|height=
|height=
Line 97: Line 45:


==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 109: Line 58:
|section1-title=
|section1-title=
|section2-title=
|section2-title=
</pre>
==Display parameters==
The following allows you to hide the section header
*hidea (hides Bio section header)
*hideb (hides Politic/Military section header)
<pre>
|hidea=
|hideb=
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 17:02, September 7, 2024

Fallen infobox
 

Usage instructions

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

{{Fallen infobox
|name=
|image=
|species=
|race=
|type=
|house=
|gender=
|rank=
|purpose=
|mission=
|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=