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 (Use template)
m (Use pronoun template in example)
 
(11 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 8: Line 12:
<group row-items="2">
<group row-items="2">
<data source="tasvideos"><label>TASVideos</label><format>{{TASVideosU|{{{tasvideos}}}}}</format></data>
<data source="tasvideos"><label>TASVideos</label><format>{{TASVideosU|{{{tasvideos}}}}}</format></data>
<data source="tasbot-wiki"><label>This wiki</label><format>[[User:{{{tasbot-wiki}}}]]</format></data>
<data source="tasbot-wiki"><label>This wiki</label><format>[[User:{{{tasbot-wiki}}}]] ([[Special:Contributions/{{{tasbot-wiki}}}|contribs]])</format></data>
</group>
</group>
<group row-items="2">
<group row-items="2">
Line 20: Line 24:
<data source="discord"><label>Discord</label></data>
<data source="discord"><label>Discord</label></data>
<group row-items="2">
<group row-items="2">
<data source="instagram"><label>Instagram</label><format>[https://instagram.com/{{{instagram}}} @{{{instagram}}}]</format></data>
<data source="twitter"><label>Twitter</label><format>[https://twitter.com/{{{twitter}}} @{{{twitter}}}]</format></data>
<data source="twitter"><label>Twitter</label><format>[https://twitter.com/{{{twitter}}} @{{{twitter}}}]</format></data>
<data source="website"><format>[{{{website}}} Personal site]</format></data>
<data source="website"><format>[{{{website}}} Personal site]</format></data>
</group>
</group>
</infobox></includeonly></onlyinclude>
</infobox></includeonly></onlyinclude>
{{infobox individual
{{infobox individual
|name=Username
|name=Cool_DooD
|contribs=* Console verifier
|subline=he/him {{national flag|I|E}}
|real-name=Trusty McCoolGuy
|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 37: Line 46:
<pre><nowiki>
<pre><nowiki>
{{infobox individual
{{infobox individual
|name=Username
|name=Cool_DooD
|contribs=* Console verifier
|subline={{p|Cool_DooD|they}}/{{p|Cool_DooD|them}} {{national flag|I|E}}
|real-name=Trusty McCoolGuy
|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 51: Line 63:
* <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 61: Line 73:
** <code>twitch</code> (optional): Twitch username.
** <code>twitch</code> (optional): Twitch username.
** <code>discord</code> (optional): Discord username.
** <code>discord</code> (optional): Discord username.
** <code>instagram</code> (optional): Instagram handle, omitting '@'.
** <code>twitter</code> (optional): Twitter handle, omitting '@'.
** <code>twitter</code> (optional): Twitter handle, omitting '@'.
** <code>website</code> (optional): Address of personal site (just the link, not wikitext).
** <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