Module:Franchise/TemplateData

return { ["Franchise/Store Game"] = { purpose = "Each instance of this template describes an entry in The Legend of Zelda franchise (or a game related to the franchise).", storesData = "Data:Franchise", format = "block", indent = 1, boilerplate = { before = "", separateRequiredParams = false, },		paramOrder = {"code", "article", "shortName", "logo", "releaseDate", "canonicity", "type", "link", "display", "graphics", "family", "remakeOf", "supersededBy"}, params = { code = { required = true, type = "string", desc = "A string that uniquely identifies the game. Usually an initialism of its subtitle.", trim = true, nilIfEmpty = true, },			article = { required = true, type = "wiki-page-name", desc = "The wiki page for the game.", trim = true, nilIfEmpty = true, },			shortName = { required = true, type = "string", desc = "The name for the game used in categories such as Category:Items in Link's Awakening (Nintendo Switch). Usually the game's subtitle, possibly with a parenthetical disambiguator.", trim = true, nilIfEmpty = true, },			logo = { required = true, type = "wiki-file-name", desc = "Filename for the game's logo. If no such logo is available, use the logo of the associated franchise, or the game's box art.", trim = true, nilIfEmpty = true, },			releaseDate = { type = "date", desc = "The date of the game's initial release in North America, in YYYY-MM-DD format. Leave blank for future games. If not released in North America, use the earliest release date of any region (most likely Japan).", trim = true, nilIfEmpty = true, },			canonicity = { required = true, type = "string", enum = {"canon", "ambiguous", "non-canon"}, desc = "The title's canon status.", trim = true, nilIfEmpty = true, },			type = { type = "string", enum = {"main", "remake", "spin-off"}, desc = "Leave blank for cross-overs and cameos. Used to group games on the Main Page.", trim = true, nilIfEmpty = true, },			link = { type = "content", desc = "Wikitext used when linking the game in articles. By default, this is derived from  and  . Should be left blank unless the game's link is a special case (see examples).", trim = true, nilIfEmpty = true, },			display = { type = "content", desc = "Wikitext used when mentioning the game in articles, sans link. By default, this is derived from . Should be left blank unless the game's display text is a special case (see examples).", trim = true, nilIfEmpty = true, },			graphics = { type = "string", enum = {"2D", "3D", "4D"}, desc = 'Indicates whether the game is 2D or 3D. Used by Module:File for image handling, among other things. For live-action games, put down "4D".', -- TODO: more specific trim = true, nilIfEmpty = true, },			family = { type = "string", desc = "Identifies the game as being part of a sub-group in the franchise. Leave blank for canon games. This is used to group certain games on the Main Page.", trim = true, nilIfEmpty = true, },			remakeOf = { --enum = p.enum, type = "string", desc = "The code of the game that this game is a remake of, if any. If this is a remake of multiple games, specify them as a comma-separated list from oldest to newest. For example, the value for  would be  .", trim = true, nilIfEmpty = true, },			supersededBy = { --enum = p.enum, type = "string", desc = "The name of the game that supersedes this one in terms of canon.", trim = true, nilIfEmpty = true, },		},		examples = { {				code = "LA", article = "The Legend of Zelda: Link's Awakening", shortName = "Link's Awakening", logo = "File:LA English Logo 2.png", releaseDate = "1993-06-06", canonicity = "canon", type = "main", link = "", display = "", graphics = "2D", family = "", remakeOf = "", supersededBy = "LANS", },			{				code = "LANS", article = "The Legend of Zelda: Link's Awakening (Nintendo Switch)", shortName = "Link's Awakening (Nintendo Switch)", logo = "File:LANS English Logo.png", releaseDate = "2019-09-20", canonicity = "canon", type = "remake", link = "Link's Awakening for Nintendo Switch.", display = "Link's Awakening for Nintendo Switch", graphics = "3D", family = "", remakeOf = "LA", supersededBy = "", },			{				code = "FPTRR", article = "Freshly-Picked Tingle's Rosy Rupeeland", shortName = "Freshly-Picked Tingle's Rosy Rupeeland", logo = "File:TRRLogo.png", releaseDate = "2006-09-02", canonicity = "ambiguous", type = "spin-off", link = "", display = "", graphics = "2D", family = "Tingle", remakeOf = "", supersededBy = "", },			{				code = "Skyrim", article = "The Elder Scrolls V: Skyrim", shortName = "Skyrim", logo = "File:Skyrim Logo.png", releaseDate = "2017-11-17", canonicity = "non-canon", type = "", link = "", display = "", graphics = "3D", family = "", remakeOf = "", supersededBy = "", },		},	},	["Franchise/Store Book"] = { purpose = "This template is used to add printed fiction such as manga, comics, and gamebooks to Data:Franchise. For nonfiction, use Template:Franchise/Store Nonfiction.", storesData = "Data:Franchise", format = "block", indent = 1, boilerplate = { before = "", separateRequiredParams = false, },		paramOrder = {"code", "article", "shortName", "logo", "releaseDate", "canonicity", "type", "link", "display", "phraseLink", "publisher", "authors", "illustrators", "basedOn"}, params = { code = { required = true, type = "string", desc = "A string that uniquely identifies the book. Usually an initialism of its subtitle.", trim = true, nilIfEmpty = true, },			article = { required = true, type = "wiki-page-name", desc = "The wiki page for the book, comic, or manga.", trim = true, nilIfEmpty = true, },			shortName = { required = true, type = "string", desc = "The name for the book used in categories such as Category:Characters in Majora's Mask (Himekawa). Usually the book's subtitle, possibly with a parenthetical disambiguator of the primary author's last name.", trim = true, nilIfEmpty = true, },			logo = { required = true, type = "wiki-file-name", desc = "Filename for the logo of the book's publisher. If no such logo is available, use the book's cover or an illustration in the front matter.", trim = true, nilIfEmpty = true, },			releaseDate = { type = "date", desc = "The date of the book's initial release in North America, in YYYY-MM-DD format. Leave blank for unreleased books. If not released in North America, use the earliest release date of any region (most likely Japan).", trim = true, nilIfEmpty = true, },			canonicity = { required = true, type = "string", enum = {"canon", "ambiguous", "non-canon"}, desc = "The title's canon status.", trim = true, nilIfEmpty = true, },			type = { type = "string", enum = {"book", "comic", "manga"}, desc = "Identifies the type of book.", trim = true, nilIfEmpty = true, },			link = { type = "content", desc = "Wikitext used when linking the book in article infoboxes (use  for article content). By default, this is derived from   and  . Should be left blank unless the link is a special case.", trim = true, nilIfEmpty = true, },			display = { type = "content", desc = "Wikitext used when mentioning the book in articles, sans link. By default, this is derived from . Should be left blank unless the display text is a special case.", trim = true, nilIfEmpty = true, },			phraseLink = { type = "content", desc = "Wikitext to be used when linking to a book. By default, this is derived from,   and  . Should be left blank unless the link is a special case.", trim = true, nilIfEmpty = true, },			publisher = { type = "string", desc = "The publisher of the book in North America. If not published in North America, use the book's Japanese publisher or the publisher of whichever region corresponding to .", trim = true, nilIfEmpty = true, },			authors = { type = "string", desc = "Comma-separated list of the book's authors.", trim = true, nilIfEmpty = true, },			illustrators = { type = "string", desc = "Comma-separted list of the book's illustrators.", trim = true, nilIfEmpty = true, },			basedOn = { type = "string", --enum = p.enum, desc = "The game that this book is based on.", trim = true, nilIfEmpty = true, },		},		examples = { {				code = "OoT (Himekawa)", article = "The Legend of Zelda: Ocarina of Time (Himekawa)", shortName = "Ocarina of Time (Himekawa)", logo = "File:Viz Media Logo.png", releaseDate = "2008-10-08", canonicity = "non-canon", type = "manga", link = "", display = "", phraseLink = "", publisher = "VIZ Media", authors = "Akira Himekawa", illustrators = "Akira Himekawa", basedOn = "OoT", },			{				code = "LatPoD", article = "Link and the Portal of Doom", shortName = "Link and the Portal of Doom", logo = "File:Scholastic Logo.png", releaseDate = "2006", canonicity = "non-canon", type = "book", link = "", display = "", phraseLink = "", publisher = "Scholastic", authors = "Tracey West", illustrators = "", basedOn = "", }		}	},	["Franchise/Store TV"] = { purpose = "This template is used to add TV shows and movies to Data:Franchise.", storesData = "Data:Franchise", format = "block", indent = 1, boilerplate = { before = "", separateRequiredParams = false, },		paramOrder = {"code", "article", "shortName", "logo", "releaseDate", "canonicity", "type", "link", "display"}, params = { code = { required = true, type = "string", desc = "A string that uniquely identifies the TV show or movie. Usually an initialism of its title.", trim = true, nilIfEmpty = true, },			article = { required = true, type = "wiki-page-name", desc = "The wiki page for the TV show or movie.", trim = true, nilIfEmpty = true, },			shortName = { required = true, type = "string", desc = "The name for the TV show or movie used in categories such as Category:The Legend of Zelda (TV Series) Screenshots.", trim = true, nilIfEmpty = true, },			logo = { required = true, type = "wiki-file-name", desc = "Filename for the show's logo. If no such logo is available, use the show's title card.", trim = true, nilIfEmpty = true, },			releaseDate = { type = "date", desc = "The date of the TV series' first air date in North America, in YYYY-MM-DD format. If not released in North America, use the earliest release date of any region (most likely Japan).", trim = true, nilIfEmpty = true, },			canonicity = { required = true, type = "string", enum = {"canon", "ambiguous", "non-canon"}, desc = "The title's canon status.", trim = true, nilIfEmpty = true, },			type = { type = "string", enum = {"animated", "live-action"}, desc = "Identifies the show as animated or live action.", trim = true, nilIfEmpty = true, },			link = { type = "content", desc = "Wikitext used when linking the show in articles. By default, this is derived from  and  . Should be left blank unless the link is a special case.", trim = true, nilIfEmpty = true, },			display = { type = "content", desc = "Wikitext used when mentioning the show in articles, sans link. By default, this is derived from . Should be left blank unless the display text is a special case.", trim = true, nilIfEmpty = true, },		},		examples = { {				code = "TLoZ (TV Series)", article = "The Legend of Zelda (TV Series)", shortName = "The Legend of Zelda TV Series", logo = "File:TLoZ TV Series Logo.png", releaseDate= "1989-09-08", canonicity = "non-canon", type = "animated", link = "The Legend of Zelda TV series", display = "The Legend of Zelda TV series", },			{				code = "TMoL", article = "The Legend of Zelda: The Misadventures of Link", shortName = "The Misadventures of Link", logo = "File:Misadventures Link logo2.png", releaseDate = "2013-11-01", canonicity = "non-canon", type = "animated", link = "", display = "", },		}	},	["Franchise/Store Nonfiction"] = { purpose = "This template is used to add nonfiction books to Data:Franchise. Such books provide information about The Legend of Zelda series without being entries in and of themselves. Though books such as and  add fictional material to the canon (regarding the Zelda Timeline, namely), the books themsleves are generally considered nonfiction.", storesData = "Data:Franchise", format = "block", indent = 1, boilerplate = { before = "", separateRequiredParams = false, },		paramOrder = {"code", "article", "shortName", "logo", "releaseDate", "canonicity", "link", "display", "publisher", "titles"}, params = { code = { required = true, type = "string", desc = "A string that uniquely identifies the book. Usually an initialism of its subtitle.", trim = true, nilIfEmpty = true, },			article = { required = true, type = "wiki-page-name", desc = "The wiki page for the book.", trim = true, nilIfEmpty = true, },			shortName = { required = true, type = "string", desc = "The name for the book used in article text. Generally its subtitle.", trim = true, nilIfEmpty = true, },			logo = { required = true, type = "wiki-file-name", desc = "Filename for the book's logo. If no such logo is available, use its cover.", trim = true, nilIfEmpty = true, },			releaseDate = { type = "date", desc = "The date of the book's first publication in North America, in YYYY-MM-DD format. If not released in North America, use the earliest release date of any region (most likely Japan).", trim = true, nilIfEmpty = true, },			canonicity = { required = true, type = "string", enum = {"canon", "ambiguous", "non-canon"}, desc = "The title's canon status.", trim = true, nilIfEmpty = true, },			link = { type = "content", desc = "Wikitext used when linking the book in articles. By default, this is derived from  and  . Should be left blank unless the link is a special case.", trim = true, nilIfEmpty = true, },			display = { type = "content", desc = "Wikitext used when mentioning the book in articles, sans link. By default, this is derived from . Should be left blank unless the display text is a special case.", trim = true, nilIfEmpty = true, },			publisher = { type = "string", desc = "The publisher of the book in North America. If not published in North America, use the book's Japanese publisher or the publisher of whichever region corresponding to .", trim = true, nilIfEmpty = true, },			titles = { required = true, type = "string", desc = "Comma-separated list of franchise entries covered in the book.", trim = true, nilIfEmpty = true, }		},		examples = { {				code = "E", article = "The Legend of Zelda: Encyclopedia", shortName = "Encyclopedia", logo = "File:The Legend of Zelda Encyclopedia Cover.png", releaseDate= "2018-06-19", canonicity = "canon", link = "", display = "", publisher = "Dark Horse Books", titles = "TLoZ, TAoL, ALttP, LA, LADX, LANS, OoT, OoT3D, MM, MM3D, OoS, OoA, FS, FSAE, TWW, TWWHD, FSA, TMC, TP, TPHD, PH, ST, SS, ALBW, TFH", }		}	},	["Franchise/Store Group"] = { purpose = "Describes a title that represents multiple games. It can be a published collection of games (e.g., ), or a collective term for a pair of games (e.g. ). Not to be confused with Template:Franchise/Store Compilation.", storesData = "Data:Franchise", format = "block", indent = 1, boilerplate = { before = "", separateRequiredParams = false, },		paramOrder = {"code", "article", "shortName", "logo", "releaseDate", "canonicity", "link", "display", "games"}, params = { code = { required = true, type = "string", desc = "A string that uniquely identifies the game group. Usually an initialism of its subtitle.", trim = true, nilIfEmpty = true, },			article = { required = true, type = "wiki-page-name", desc = "The wiki page for the game group.", trim = true, nilIfEmpty = true, },			shortName = { required = true, type = "string", desc = "The name for the game group used in article text. Generally its subtitle.", trim = true, nilIfEmpty = true, },			logo = { required = true, type = "wiki-file-name", desc = "Filename for the group's logo.", trim = true, nilIfEmpty = true, },			releaseDate = { type = "date", desc = "The date of the group's first publication in North America, in YYYY-MM-DD format. If not released in North America, use the earliest release date of any region (most likely Japan).", trim = true, nilIfEmpty = true, },			canonicity = { required = true, type = "string", enum = {"canon", "ambiguous", "non-canon"}, desc = "The title's canon status.", trim = true, nilIfEmpty = true, },			link = { type = "content", desc = "Wikitext used when linking the group in articles. By default, this is derived from  and  . Should be left blank unless the link is a special case.", trim = true, nilIfEmpty = true, },			display = { type = "content", desc = "Wikitext used when mentioning the group in articles, sans link. By default, this is derived from . Should be left blank unless the display text is a special case.", trim = true, nilIfEmpty = true, },			games = { required = true, type = "string", desc = "Comma-separated list of games included in the group.", trim = true, nilIfEmpty = true, }		},		examples = { {				code = "CE", article = "The Legend of Zelda: Collector's Edition", shortName = "Collector's Edition", logo = "File:CE Logo.png", releaseDate= "2003-11-17", canonicity = "canon", link = "", display = "", games = "TLoZ, TAoL, OoT, MM", },		},	}, }