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 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 respectDISPLAYTITLE
.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 includehttps://
).
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name/Pseudonym | name | top header text
| String | optional |
Image | image | omit "File:" | File | optional |
Real Name | real-name | no description | String | optional |
Contributions/specialities | contribs | if more than 1, you can use bullet points | Content | suggested |
Day Job | day-job | no description | String | optional |
TASVideos.org Username | tasvideos | no description | String | suggested |
TASBot Wiki Username | tasbot-wiki | omit "User:" | User | optional |
GitLab Username | gitlab | omit '@' | String | optional |
GitHub Username | github | omit '@' | String | suggested |
YouTube Handle | youtube | omit '@' | String | optional |
Twitch Username | twitch | no description | String | optional |
Discord Username | discord | no description | String | suggested |
Instagram Handle | instagram | omit '@' | String | optional |
X (Twitter) Handle | twitter | omit '@' | String | optional |
Personal Site | website | not wikitext, just address, including protocol+domain | URL | optional |