Template:User infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "px;"" to "px"")
No edit summary
 
(36 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox {{{id|opacity70}}}" cellspacing="0" cellpadding="0" border="0" style="width:250px; background:{{{BG|#002244}}}; border:1px solid #999; color:{{{color|#FFF}}};"
{{Infobox|start|bg=#024}}
{{!}}-
{{Infobox|title|name={{{name|}}}}}
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#222}}
{{!}}-
 
{{#if:{{{image|}}}|
{{Infobox|entry|title={{{othername-title|Other username(s)}}}|content={{{othername|}}}|bg=#024|bg2=#222|color=#fff}}
! style="background:{{{imageBG|transparent}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}}
{{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}}
{{!}}-
{{Infobox|entry|title={{{weight-title|Weight}}}|content={{{weight|}}}|bg=#024|bg2=#222|color=#fff}}
{{#if:{{{othername|}}}|
{{Infobox|entry|title={{{dob-title|Date of birth}}}|content={{{dob|}}}{{#if:{{{age|}}}|<nowiki/> (age {{{age}}})}}|bg=#024|bg2=#222|color=#fff}}
{{!}} style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{Infobox|entry|title={{{zodiac-title|[[wikipedia:Zodiac#Table of dates|Zodiac]]}}}|content={{{zodiac|}}}|bg=#024|bg2=#222|color=#fff}}
'''{{{othername-title|Other username(s)}}}''':
{{Infobox|entry|title={{{nationality-title|Nationality}}}|content={{{nationality|}}}|bg=#024|bg2=#222|color=#fff}}
{{!}} style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{Infobox|entry|title={{{birthplace-title|Birthplace}}}|content={{{birthplace|}}}|bg=#024|bg2=#222|color=#fff}}
{{{othername|}}}
{{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}}
{{!}} style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{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}}
{{!}} style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{Infobox|entry|title={{{website-title|Personal website}}}|content={{{website|}}}|bg=#024|bg2=#222|color=#fff}}
{{{gender|}}}
 
{{!}}-}}
{{Infobox|end}}<noinclude>{{clear}}
{{#if:{{{height|}}}|
{{!}} style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{height-title|Height}}}''':
{{!}} style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{height|}}}
{{!}}-}}
{{#if:{{{weight|}}}|
{{!}} style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{weight-title|Weight}}}''':
{{!}} style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{weight|}}}
{{!}}-}}
{{#if:{{{dob|}}}|
{{!}} style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{dob-title|Date of birth}}}''':
{{!}} style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{dob}}}{{#if:{{{age|}}}|<nowiki> </nowiki>(age {{{age}}})}}
{{!}}-}}
{{#if:{{{zodiac|}}}|
{{!}} style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{zodiac-title|[[wikipedia:Zodiac#Table_of_dates|<span style="color:#FFF;">Zodiac<span>]]}}}''':
{{!}} style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{zodiac|}}}
{{!}}-}}
{{#if:{{{nationality|}}}|
{{!}} style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{nationality-title|Nationality}}}''':
{{!}} style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{nationality|}}}
{{!}}-}}
{{#if:{{{birthplace|}}}|
{{!}} style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{birthplace-title|Birthplace}}}''':
{{!}} style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{birthplace|}}}
{{!}}-}}
{{#if:{{{religion|}}}|
{{!}} style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{religion-title|Religion}}}''':
{{!}} style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{religion|}}}
{{!}}-}}
{{#if:{{{occupation|}}}|
{{!}} style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{occupation-title|Occupation}}}''':
{{!}} style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{occupation|}}}
{{!}}-}}
{{#if:{{{speciality|}}}|
{{!}} style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{speciality-title|Speciality}}}''':
{{!}} style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{speciality|}}}
{{!}}-}}
{{#if:{{{favourite|}}}|
{{!}} style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{favourite-title|Favourite}}}''':
{{!}} style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{favourite|}}}
{{!}}-}}
{{#if:{{{gamertag|}}}|
{{!}} style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{gamertag-title|Gamertag}}}''':
{{!}} style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{gamertag|}}}
{{!}}-}}
{{#if:{{{website|}}}|
{{!}} style="background:{{{fieldBG1|#002244}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{website-title|Personal website}}}''':
{{!}} style="background:{{{fieldBG2|#222222}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{website|}}}
{{!}}-}}
| colspan=2 style="border-top:1px solid {{{lineBG|#999999}}}; text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:12px" |&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.


Paste the following code into the top of an article, filling all known fields:
Paste the following code into the top of an article, filling all known fields:
<pre>
<pre>
{{User Infobox
{{User infobox
|image=
|image=
|name=
|name=
Line 117: 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=
}}