The first video in the TASBot Re: (TASBot Revisited) series is out! TASBot Re: Gradius covers our first run from AGDQ 2014.

Historians wanted: Inquire here.

Template:Infobox individual: Difference between revisions

Template page
m (Better example)
m (Use pronoun template in example)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly><infobox>
<onlyinclude><includeonly><infobox>
<title source="name"><default>{{PAGENAME}}</default></title>
<title source="name"><default>{{PAGENAME}}</default></title>
<group>
<header>{{#if:{{{subline|}}}|{{float right|{{{subline}}}}}<div style="clear: both;"></div>|}}</header>
<data source="subline"><format> </format></data> <!-- dummy value to get the header to show -->
</group>
<image source="image" />
<image source="image" />
<data source="real-name"><label>Real name</label></data>
<data source="real-name"><label>Real name</label></data>
Line 25: Line 29:
</group>
</group>
</infobox></includeonly></onlyinclude>
</infobox></includeonly></onlyinclude>
{{infobox individual
{{infobox individual
|name=Cool_DooD
|name=Cool_DooD
|subline=he/him {{national flag|I|E}}
|real-name=Trusty McCoolGuy
|real-name=Trusty McCoolGuy
|contribs=* Console verifier
|contribs=
* Console verifier
* Published TASer
* Published TASer
|day-job=Software Engineer at Company
|day-job=Software Engineer at Company
Line 40: Line 47:
{{infobox individual
{{infobox individual
|name=Cool_DooD
|name=Cool_DooD
|subline={{p|Cool_DooD|they}}/{{p|Cool_DooD|them}} {{national flag|I|E}}
|real-name=Trusty McCoolGuy
|real-name=Trusty McCoolGuy
|contribs=* Console verifier
|contribs=
* Console verifier
* Published TASer
* Published TASer
|day-job=Software Engineer at Company
|day-job=Software Engineer at Company
Line 67: Line 76:
** <code>twitter</code> (optional): Twitter handle, omitting '@'.
** <code>twitter</code> (optional): Twitter handle, omitting '@'.
** <code>website</code> (optional): Address of personal site (just the address, not the wikitext for a link, and make sure you include <code>https://</code>).
** <code>website</code> (optional): Address of personal site (just the address, not the wikitext for a link, and make sure you include <code>https://</code>).
{{TemplateData preamble}}<templatedata>
{
"params": {
"tasvideos": {
"label": "TASVideos.org Username",
"type": "string",
"suggested": true
},
"tasbot-wiki": {
"label": "TASBot Wiki Username",
"description": "omit \"User:\"",
"type": "wiki-user-name"
},
"gitlab": {
"label": "GitLab Username",
"description": "omit '@'",
"type": "string"
},
"github": {
"label": "GitHub Username",
"description": "omit '@'",
"type": "string",
"suggested": true
},
"youtube": {
"label": "YouTube Handle",
"description": "omit '@'",
"type": "string"
},
"twitch": {
"label": "Twitch Username",
"type": "string"
},
"instagram": {
"label": "Instagram Handle",
"description": "omit '@'",
"type": "string"
},
"twitter": {
"label": "X (Twitter) Handle",
"description": "omit '@'",
"type": "string"
},
"website": {
"label": "Personal Site",
"description": "not wikitext, just address, including protocol+domain",
"type": "url"
},
"name": {
"label": "Name/Pseudonym",
"description": "top header text",
"type": "string",
"default": "{{PAGENAME}} (title of containing page)"
},
"image": {
"label": "Image",
"description": "omit \"File:\"",
"type": "wiki-file-name"
},
"real-name": {
"label": "Real Name",
"type": "string"
},
"contribs": {
"label": "Contributions/specialities",
"description": "if more than 1, you can use bullet points",
"type": "content",
"suggested": true
},
"day-job": {
"label": "Day Job",
"type": "string"
},
"discord": {
"label": "Discord Username",
"type": "string",
"suggested": true
}
},
"description": "An infobox for pages dedicated to individual people associated with the TASBot community.",
"paramOrder": [
"name",
"image",
"real-name",
"contribs",
"day-job",
"tasvideos",
"tasbot-wiki",
"gitlab",
"github",
"youtube",
"twitch",
"discord",
"instagram",
"twitter",
"website"
],
"format": "{{_\n|_=_\n}}\n"
}
</templatedata>
[[Category:General-use_block_templates]]

Latest revision as of 08:25, 10 August 2024


Infobox usage: The example infobox shown on this page is the result of the following template call:

{{infobox individual
|name=Cool_DooD
|subline={{p|Cool_DooD|they}}/{{p|Cool_DooD|them}} {{national flag|I|E}}
|real-name=Trusty McCoolGuy
|contribs=
* Console verifier
* Published TASer
|day-job=Software Engineer at Company
|tasvideos=Cool_DooD
|github=Cool_DooD
|discord=cool_dood
}}

Parameters:

  • name (optional): Top header text. Defaults to page title if omitted, though unfortunately it doesn't respect DISPLAYTITLE.
  • image (optional): Filename for image.
  • real-name (optional): Self-explanatory.
  • contribs (optional): List of contributions/specialities. If more than 1, you can use bullet points.
  • day-job (optional): Self-explanatory.
  • Profiles (include at least one because the header doesn't auto-hide!):
    • tasvideos (optional): Username for TASVideos.org.
    • tasbot-wiki (optional): Username for this wiki, omitting "User:".
    • gitlab (optional): Username for GitLab.com, omitting '@'.
    • github (optional): Username for GitHub.com, omitting '@'.
    • youtube (optional): YouTube user handle, omitting '@'.
    • twitch (optional): Twitch username.
    • discord (optional): Discord username.
    • instagram (optional): Instagram handle, omitting '@'.
    • twitter (optional): Twitter handle, omitting '@'.
    • website (optional): Address of personal site (just the address, not the wikitext for a link, and make sure you include https://).

The below documentation is automatically generated from JSON.

It can be changed by editing this page, but note that it's only the documentation (for the visual editor)—the actual template part must also be edited, manually.

An infobox for pages dedicated to individual people associated with the TASBot community.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Name/Pseudonymname

top header text

Default
{{PAGENAME}} (title of containing page)
Stringoptional
Imageimage

omit "File:"

Fileoptional
Real Namereal-name

no description

Stringoptional
Contributions/specialitiescontribs

if more than 1, you can use bullet points

Contentsuggested
Day Jobday-job

no description

Stringoptional
TASVideos.org Usernametasvideos

no description

Stringsuggested
TASBot Wiki Usernametasbot-wiki

omit "User:"

Useroptional
GitLab Usernamegitlab

omit '@'

Stringoptional
GitHub Usernamegithub

omit '@'

Stringsuggested
YouTube Handleyoutube

omit '@'

Stringoptional
Twitch Usernametwitch

no description

Stringoptional
Discord Usernamediscord

no description

Stringsuggested
Instagram Handleinstagram

omit '@'

Stringoptional
X (Twitter) Handletwitter

omit '@'

Stringoptional
Personal Sitewebsite

not wikitext, just address, including protocol+domain

URLoptional