Template:User infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
No edit summary
 
Line 1: Line 1:
{| class="infobox {{{id|opacity70}}}" style="width:250px; background:{{{BG|#002244}}}; border:1px solid #999; color:{{{color|#fff}}}" cellspacing="0"
{{Infobox|start|bg=#024}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|}}}}}
|-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#222}}
{{#if:{{{image|}}}|
 
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|transparent}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|entry|title={{{othername-title|Other username(s)}}}|content={{{othername|}}}|bg=#024|bg2=#222|color=#fff}}
}}
{{Infobox|entry|title={{{gender-title|Gender}}}|content={{{gender|}}}|bg=#024|bg2=#222|color=#fff}}
|-
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}|bg=#024|bg2=#222|color=#fff}}
{{#if:{{{othername|}}}|
{{Infobox|entry|title={{{weight-title|Weight}}}|content={{{weight|}}}|bg=#024|bg2=#222|color=#fff}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{dob-title|Date of birth}}}|content={{{dob|}}}{{#if:{{{age|}}}|<nowiki/> (age {{{age}}})}}|bg=#024|bg2=#222|color=#fff}}
{{{othername-title|Other username(s)}}}:
{{Infobox|entry|title={{{zodiac-title|[[wikipedia:Zodiac#Table of dates|Zodiac]]}}}|content={{{zodiac|}}}|bg=#024|bg2=#222|color=#fff}}
{{!}} class="infoboxcell" style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{nationality-title|Nationality}}}|content={{{nationality|}}}|bg=#024|bg2=#222|color=#fff}}
{{{othername}}}
{{Infobox|entry|title={{{birthplace-title|Birthplace}}}|content={{{birthplace|}}}|bg=#024|bg2=#222|color=#fff}}
}}
{{Infobox|entry|title={{{religion-title|Religion}}}|content={{{religion|}}}|bg=#024|bg2=#222|color=#fff}}
|-
{{Infobox|entry|title={{{occupation-title|Occupation}}}|content={{{occupation|}}}|bg=#024|bg2=#222|color=#fff}}
{{#if:{{{gender|}}}|
{{Infobox|entry|title={{{speciality-title|Speciality}}}|content={{{speciality|}}}|bg=#024|bg2=#222|color=#fff}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{favourite-title|Favourite}}}|content={{{favourite|}}}|bg=#024|bg2=#222|color=#fff}}
{{{gender-title|Gender}}}:
{{Infobox|entry|title={{{gamertag-title|Gamertag}}}|content={{{gamertag|}}}|bg=#024|bg2=#222|color=#fff}}
{{!}} class="infoboxcell" style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{website-title|Personal website}}}|content={{{website|}}}|bg=#024|bg2=#222|color=#fff}}
{{{gender}}}
 
}}
{{Infobox|end}}<noinclude>{{clear}}
|-
{{#if:{{{height|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{height-title|Height}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{height}}}
}}
|-
{{#if:{{{weight|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{weight-title|Weight}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{weight}}}
}}
|-
{{#if:{{{dob|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{dob-title|Date of birth}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{dob}}}{{#if:{{{age|}}}|<nowiki> </nowiki>(age {{{age}}})}}
}}
|-
{{#if:{{{zodiac|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{zodiac-title|[[wikipedia:Zodiac#Table_of_dates|<span style="color:#fff">Zodiac</span>]]}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{zodiac}}}
}}
|-
{{#if:{{{nationality|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{nationality-title|Nationality}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{nationality}}}
}}
|-
{{#if:{{{birthplace|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{birthplace-title|Birthplace}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{birthplace}}}
}}
|-
{{#if:{{{religion|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{religion-title|Religion}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{religion}}}
}}
|-
{{#if:{{{occupation|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{occupation-title|Occupation}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{occupation}}}
}}
|-
{{#if:{{{speciality|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{speciality-title|Speciality}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{speciality}}}
}}
|-
{{#if:{{{favourite|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{favourite-title|Favourite}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{favourite}}}
}}
|-
{{#if:{{{gamertag|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{gamertag-title|Gamertag}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{gamertag}}}
}}
|-
{{#if:{{{website|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{website-title|Personal website}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{website}}}
}}
|-
| class="infoboxfooter" colspan="2" | &nbsp;
|}<noinclude>
__NOTOC__{{clear}}
==Usage==
==Usage==
This template is for the user's usage only. It should not be placed in an article as most of the information will/may be irrelevant.
This template is for the user's usage only. It should not be placed in an article as most of the information will/may be irrelevant.
Line 131: Line 43:
|gamertag=
|gamertag=
|othername=
|othername=
}}</pre>
}}
</pre>


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

Latest revision as of 14:14, August 29, 2023

User infobox
 

Usage

This template is for the user's usage only. It should not be placed in an article as most of the information will/may be irrelevant.

Paste the following code into the top of an article, filling all known fields:

{{User infobox
|image=
|name=
|age=
|gender=
|height=
|weight=
|blood=
|zodiac=
|nationality=
|birthplace=
|religion=
|favourite=
|speciality=
|occupation=
|website=
|gamertag=
|othername=
}}