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 appearance: Difference between revisions

Template page
m (Obviously this is optional, and when it is implemented it will still be optional)
m (Add by-region cat to example)
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
<title source="name"><default>{{PAGENAME}}</default></title>
<title source="name"><default>{{PAGENAME}}</default></title>
<image source="image" />
<image source="image" />
<data source="date"><label>Appeared</label><format>{{pretty date|{{{date}}}}}</format></data><!-- TODO add `end-date` parameter for ranges -->
<data source="date"><label>Appeared</label><format>{{pretty date|{{{date}}}}}{{#if:{{{end-date|}}}|<br>&ndash;{{pretty date|{{{end-date}}}}}|}}</format></data>
<data source="location"><label>Location</label></data>
<data source="location"><label>Location</label></data>
<data source="charities"><label>Benefiting</label></data>
<data source="charities"><label>Benefiting</label></data>
Line 10: Line 10:
{{#if:{{{event-series|}}}|[[Category:{{{event-series}}}]]|}}
{{#if:{{{event-series|}}}|[[Category:{{{event-series}}}]]|}}
[[Category:{{#time:Y|{{{date}}}}} convention appearances]]|}}</includeonly></onlyinclude>
[[Category:{{#time:Y|{{{date}}}}} convention appearances]]|}}</includeonly></onlyinclude>
{{infobox appearance
{{infobox appearance
|name=Games Done Quick Express 2023
|name=Games Done Quick Express 2023
Line 25: Line 26:
|event-series=Games Done Quick Express
|event-series=Games Done Quick Express
|date=2023-10-22
|date=2023-10-22
|location=Las Vegas, USA
|location=Las Vegas, USA [[Category:North_American_convention_appearances]]
|charities=[[The AbleGamers Foundation]]
|charities=[[The AbleGamers Foundation]]
|replay-devices=[[TAStm32]]
|replay-devices=[[TAStm32]]
Line 43: Line 44:
Using this template on a page will add that page to the relevant [[:Category:Appearances_by_year|appearances by year]] category.
Using this template on a page will add that page to the relevant [[:Category:Appearances_by_year|appearances by year]] category.
If <code>event-series</code> is set, will also add it to that category.
If <code>event-series</code> is set, will also add it to that category.
{{TemplateData preamble}}<templatedata>
{
"params": {
"date": {
"label": "(Start) Date",
"description": "...of TAS content; please use YYYY-MM-DD",
"type": "date",
"required": true
},
"name": {
"label": "Event Name",
"description": "top header text, also used as key for prev/next lookups",
"type": "string",
"default": "{{PAGENAME}} (title of containing page)"
},
"skip-cat": {
"label": "Skip categorising",
"deprecated": "meant for use on own documentation page"
},
"event-series": {
"label": "Event Series",
"description": "name of category page for event, omitting \"Category:\" and using spaces, not underscores",
"type": "string",
"suggested": true
},
"image": {
"label": "Image",
"description": "omit \"File:\"",
"type": "wiki-file-name"
},
"end-date": {
"label": "End Date",
"description": "...of TAS content; omit if same as start day; please use YYYY-MM-DD",
"type": "date"
},
"location": {
"label": "Venue/Location",
"type": "line",
"suggested": true
},
"charities": {
"label": "Benefiting Charities",
"type": "line"
},
"replay-devices": {
"label": "Devices",
"type": "line"
}
},
"description": "An infobox for pages dedicated to event appearances/presentations, such as a speedrunning marathon in some year X.",
"paramOrder": [
"name",
"image",
"event-series",
"date",
"end-date",
"location",
"charities",
"replay-devices",
"skip-cat"
],
"format": "{{_\n|_=_\n}}\n"
}
</templatedata>
[[Category:General-use_block_templates]]

Latest revision as of 04:09, 6 March 2024


Infobox usage: The example infobox shown on this page is the result of the following template call (modulo page name and categories):

{{infobox appearance
|event-series=Games Done Quick Express
|date=2023-10-22
|location=Las Vegas, USA [[Category:North_American_convention_appearances]]
|charities=[[The AbleGamers Foundation]]
|replay-devices=[[TAStm32]]
}}

Parameters:

  • name (optional): Top header text. Also used as key for prev/next lookups. Defaults to page title if omitted, though unfortunately it doesn't respect DISPLAYTITLE.
  • image (optional): Filename for image.
  • event-series (optional): Name of category page for event, omitting Category: and using spaces, not underscores.
  • date: The (start) date of the event, or the first day TASBot / TAS content was shown if it wasn't for the whole thing. Accepts many formats but please use YYYY-MM-DD.
  • end-date (optional): The end date of the event if it spanned multiple days (as with date, this should be the last day TASBot / TAS content was shown). Same big-endian format please.
  • location (optional): Event venue.
  • charities (optional): Beneficiaries of the event (can pass wikitext).
  • replay-devices (optional): HW/SW that was used for live TAS playback (can pass wikitext).

Using this template on a page will add that page to the relevant appearances by year category. If event-series is set, will also add it to that category.


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 event appearances/presentations, such as a speedrunning marathon in some year X.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Event Namename

top header text, also used as key for prev/next lookups

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

omit "File:"

Fileoptional
Event Seriesevent-series

name of category page for event, omitting "Category:" and using spaces, not underscores

Stringsuggested
(Start) Datedate

...of TAS content; please use YYYY-MM-DD

Daterequired
End Dateend-date

...of TAS content; omit if same as start day; please use YYYY-MM-DD

Dateoptional
Venue/Locationlocation

no description

Linesuggested
Benefiting Charitiescharities

no description

Lineoptional
Devicesreplay-devices

no description

Lineoptional
Skip categorisingskip-cat

no description

Unknowndeprecated