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}}
gamesmastertv
{{VideoName|gamesmastertv|1x01}}
gamesmastertv 1x01
{{VideoName|gamesmastertv|1x01|novideoname=yes}}
gamesmastertv 1x01
{{VideoName|gamesmastertv|1x01|noepisodename=yes}}
gamesmastertv 1x01
{{VideoName|gamesmastertv|1x01|nopubdate=yes}}
gamesmastertv 1x01
{{VideoName|gamesmastertv|1x01|novideoname=yes|nopubdate=yes}}
gamesmastertv 1x01
{{VideoName|gamesmastertv|1x01|novideoname=yes|noepisodename=yes}}
gamesmastertv 1x01
{{VideoName|gamesmastertv|1x01|noepisodename=yes|nopubdate=yes}}
gamesmastertv 1x01
{{VideoName|bums|12}}
bums 12