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
(Add skip-series param)
Tag: 2017 source edit
m (Add by-region cat to example)
 
(4 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>
<data source="replay-devices"><label>Devices</label></data>
<data source="replay-devices"><label>Devices</label></data>
<navigation>{{#if:{{{skip-series|no}}}|{{prevnext of type|{{{name|{{PAGENAME}}}}}}}||}}{{prevnext appearance|{{{name|{{PAGENAME}}}}}}}</navigation>
<navigation>{{prevnext of type|{{{name|{{PAGENAME}}}}}}}{{prevnext appearance|{{{name|{{PAGENAME}}}}}}}</navigation>
</infobox>{{#if:{{{skip-cat|no}}}|
</infobox>{{#if:{{{skip-cat|no}}}|
{{#if:{{{event-series|}}}|[[Category:{{{event-series}}}]]|}}
{{#if:{{{event-series|}}}|[[Category:{{{event-series}}}]]|}}
Line 26: 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 92: Line 92:
"label": "Devices",
"label": "Devices",
"type": "line"
"type": "line"
},
"skip-series": {
"label": "Skip Prev/Next In Series Nav",
"description": "empty string to skip, unset to include",
"type": "string"
}
}
},
},
Line 109: Line 104:
"charities",
"charities",
"replay-devices",
"replay-devices",
"skip-series",
"skip-cat"
"skip-cat"
],
],
"format": "block"
"format": "{{_\n|_=_\n}}\n"
}
}
</templatedata>
</templatedata>


[[Category:General-use_block_templates]]
[[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