VideoName

From Sega Retro


Clock.svg
This task is unfinished
This is a wiki task that requires more thought or peer review. An important issue that needs to be solved, which will appear at the top of Sega Retro:Todo until this message is removed.


This template generates a full name for a video, given a name and an episode number (either a number or a date).

Use

{{VideoName|<name>|<episodeno>|novideoname=|noepisodename=|nopubdate=}}

By default this returns a long string - parts can be omitted using the |no(x) fields.

Examples

Code Result
{{VideoName|gamesmastertv}}
GamesMaster (UK)
{{VideoName|gamesmastertv|1x01}}
GamesMaster (UK) "Series 1, episode 1" (1992-01-07, 24:00)
{{VideoName|gamesmastertv|1x01|novideoname=yes}}
"Series 1, episode 1" (1992-01-07, 24:00)
{{VideoName|gamesmastertv|1x01|noepisodename=yes}}
GamesMaster (UK) 1992-01-07
{{VideoName|gamesmastertv|1x01|nopubdate=yes}}
GamesMaster (UK) "Series 1, episode 1"
{{VideoName|gamesmastertv|1x01|novideoname=yes|nopubdate=yes}}
"Series 1, episode 1"
{{VideoName|gamesmastertv|1x01|novideoname=yes|noepisodename=yes}}
1992-01-07
{{VideoName|gamesmastertv|1x01|noepisodename=yes|nopubdate=yes}}
GamesMaster (UK)
{{VideoName|bums|12}}
{{VideoName|digitiser|1995-01-01}}
Digitiser (UK) (1995-01-01)