Template:Infobox Person: Difference between revisions
m (add dark mode support, change h2 colors) |
mNo edit summary |
||
(22 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" style="background- | <includeonly>{| class="infobox" style="background: hsla(219, 25%, 80%, 0.1);border-radius: 4px; width: auto;min-width:20em;max-width:30em; font-size: 90%; text-align: left; float: right; overflow: auto; border: 1px solid hsla(219, 25%, 80%, 0.2); float: right; margin: 14px; padding: 2px 5px 2px 5px; box-shadow: 0em 0em 0em hsla(0, 0%, 0%, .2);" | ||
|- | |- | ||
| colspan="2" style="font-size: larger; text-align: center;" | '''{{{person_name}}}''' | | colspan="2" style="font-size: larger; text-align: center;" | '''{{{person_name}}}''' | ||
Line 6: | Line 6: | ||
{{!}} colspan="2" style="font-size: smaller; text-align: center;" {{!}} [[image:{{{image}}}|250px]]<br>{{{caption|}}}}} | {{!}} colspan="2" style="font-size: smaller; text-align: center;" {{!}} [[image:{{{image}}}|250px]]<br>{{{caption|}}}}} | ||
|- | |- | ||
! colspan="2" style="background-color: hsla(240, 65%, 55%, 1); text-align: center; color: | ! colspan="2" style="background-color: hsla(240, 65%, 55%, 1); width: 50%; text-align: center; color: hsla(219, 25%, 80%, 1); margin:0px -4px 0px -4px" | Person | ||
|- | |- | ||
{{#if: {{{person_status|}}}| | |||
! Status | ! Status | ||
{{!}} {{{person_status|}}}}} | |||
|- | |- | ||
{{#if: {{{political_alignment|}}}| | {{#if: {{{political_alignment|}}}| | ||
Line 35: | Line 36: | ||
{{!}} {{{country|}}}}} | {{!}} {{{country|}}}}} | ||
|- | |- | ||
! colspan="2" style="background-color: hsla(240, 65%, 55%, 1); text-align: center; color: | ! colspan="2" style="background-color: hsla(240, 65%, 55%, 1); text-align: center; color: hsla(219, 25%, 80%, 1)" | Media | ||
|- | |- | ||
{{#if: {{{website|}}}| | {{#if: {{{website|}}}| | ||
! Website | ! Website{{#if: {{{website2|}}}|s}} | ||
{{!}} {{{website|}}}}} | {{!}} {{{website|}}}}} | ||
|- | |||
{{#if: {{{website2|}}}| | |||
! | |||
{{!}} {{{website2|}}}}} | |||
|- | |||
{{#if: {{{website3|}}}| | |||
! | |||
{{!}} {{{website3|}}}}} | |||
|- | |- | ||
{{#if: {{{twitter|}}}| | {{#if: {{{twitter|}}}| | ||
! Twitter | ! Twitter{{#if: {{{twitter2|}}}|s}} | ||
{{!}} https://twitter.com/{{{twitter|}}}}} | {{!}} [https://twitter.com/{{{twitter|}}} {{{twitter|}}}]}} | ||
|- | |||
{{#if: {{{twitter2|}}}| | |||
! | |||
{{!}} [https://twitter.com/{{{twitter2|}}} {{{twitter2|}}}]}} | |||
|- | |- | ||
{{#if: {{{instagram|}}}| | {{#if: {{{instagram|}}}| | ||
! Instagram | ! Instagram | ||
{{!}} {{{instagram|}}}}} | {{!}} [https://instagram.com/{{{instagram|}}} {{{instagram|}}}]}} | ||
|- | |- | ||
{{#if: {{{youtube|}}}| | {{#if: {{{youtube|}}}| | ||
! Youtube | ! Youtube | ||
{{!}} {{{youtube|}}}}} | {{!}} [https://youtube.com/{{{youtube|}}} {{{youtube|}}}]}} | ||
|- | |||
{{#if: {{{kick|}}}| | |||
! Kick | |||
{{!}} [https://kick.com/{{{kick|}}} {{{kick|}}}]}} | |||
|- | |||
{{#if: {{{twitch|}}}| | |||
! Twitch | |||
{{!}} [https://twitch.tv/{{{twitch|}}} {{{twitch|}}}]}} | |||
|- | |||
{{#if: {{{rumble|}}}| | |||
! Rumble | |||
{{!}} [https://rumble.com/c/{{{rumble|}}} {{{rumble|}}}]}} | |||
|- | |- | ||
{{#if: {{{stock|}}}| | {{#if: {{{stock|}}}| | ||
Line 57: | Line 82: | ||
{{!}} {{{stock|}}}}} | {{!}} {{{stock|}}}}} | ||
|- | |- | ||
! colspan="2" style="background-color: hsla(240, 65%, 55%, 1); text-align: center; color: | ! colspan="2" style="background-color: hsla(240, 65%, 55%, 1); text-align: center; color: hsla(219, 25%, 80%, 1)" | Other | ||
|- | |- | ||
{{#if: {{{awards|}}}| | {{#if: {{{awards|}}}| | ||
Line 63: | Line 88: | ||
{{!}} {{{awards|}}}}} | {{!}} {{{awards|}}}}} | ||
|- | |- | ||
|} | {{#if: {{{dggusername|}}}| | ||
! DGG Chat Username | |||
{{!}} [https://rustlesearch.dev/?username={{{dggusername|}}}&channel=Destinygg {{{dggusername|}}}]}} | |||
|- | |||
< | |}</includeonly><noinclude>{{Documentation}} | ||
< | |||
{{Documentation}} | |||
[[Category:Template Infobox]] | [[Category:Template Infobox]] | ||
</noinclude> | </noinclude> |
Latest revision as of 20:20, 24 July 2024
Usage
To be used on pages for individuals. Condenses and relays key information about them (links to socials, political affiliation, what they look like, etc.)
{{Infobox Person | person_name = | image = | caption = | person_status = | political_alignment = | person_age = | qualifications = | occupation = | country = | website = | website2 = | website3 = | twitter = | instagram = | kick = | youtube = | twitch = | rumble = | stock = | awards = | dggusername = }}
Parameters
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
person_name | person_name | The individuals name (can be legal name or online handle depending on which is more appropriate)
| Unknown | required |
image | image | An image of the individual the article is about. Leave out the File: prefix, as it is already included in the template (in addition to other things like the size/position.)
| File | suggested |
caption | caption | Optional quip/caption that encapsulates the individual or further clarifies the picture of them) | Unknown | optional |
person_status | person_status | Is the person active/inactive/other?
| Content | suggested |
person_age | person_age | Individual's age. | Number | suggested |
political_alignment | political_alignment | How are they aligned politically?
| Content | suggested |
qualifications | qualifications | Any qualifications that the individual possesses, e.g. Degrees, certifications, experience, etc.
| Content | suggested |
occupation | occupation | What the person does for work.
| Unknown | suggested |
country | country | Country of origin.
| Content | suggested |
website | website | The website of the individual.
| URL | suggested |
website2 | website2 | Second website (if applicable) | URL | suggested |
website3 | website3 | Third website (if applicable) | Content | suggested |
twitter | Twitter handle | Unknown | optional | |
instagram | The individuals Instagram username.
| Content | suggested | |
youtube | youtube | YouTube channel
| Content | suggested |
kick | kick | Kick channel | URL | suggested |
stock | stock | The individuals manifold market's URL. | URL | optional |
awards | awards | Any relevant awards the individual has won (usually [[DGG Awards]] | Content | suggested |
dggusername | dggusername | the username of the person in DGG chat, will also automatically link to the individuals rustlesearch.dev page.
| Content | suggested |
twitch | twitch | Twitch.tv channel for the person, only put the username (not the full URL)
| URL | suggested |
rumble | rumble | Rumble username for the person. Only put the name of the channel (not the URL)
| Unknown | suggested |
Examples
A list of articles with full/filled info boxes (with non-meme info) for reference.