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
(Add instagram parameter)
m (Fix visual editor codegen)
Tag: 2017 source edit
 
(5 intermediate revisions by the same user not shown)
Line 25: Line 25:
</group>
</group>
</infobox></includeonly></onlyinclude>
</infobox></includeonly></onlyinclude>
{{infobox individual
{{infobox individual
|name=Username
|name=Cool_DooD
|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
|tasvideos=username
|tasvideos=Cool_DooD
|github=username
|github=Cool_DooD
|discord=username
|discord=cool_dood
}}
}}
Infobox usage:
Infobox usage:
Line 38: Line 40:
<pre><nowiki>
<pre><nowiki>
{{infobox individual
{{infobox individual
|name=Username
|name=Cool_DooD
|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
|tasvideos=username
|tasvideos=Cool_DooD
|github=username
|github=Cool_DooD
|discord=username
|discord=cool_dood
}}
}}
</nowiki></pre>
</nowiki></pre>
Line 52: Line 55:
* <code>image</code> (optional): Filename for image.
* <code>image</code> (optional): Filename for image.
* <code>real-name</code> (optional): Self-explanatory.
* <code>real-name</code> (optional): Self-explanatory.
* <code>contribs</code>: List of contributions/specialties. If more than 1, you can use bullet points.
* <code>contribs</code> (optional): List of contributions/specialities. If more than 1, you can use bullet points.
* <code>day-job</code> (optional): Self-explanatory.
* <code>day-job</code> (optional): Self-explanatory.
* Profiles (include at least one because the header doesn't auto-hide!):
* Profiles (include at least one because the header doesn't auto-hide!):
Line 65: Line 68:
** <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 18:12, 20 February 2024


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

{{infobox individual
|name=Cool_DooD
|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