Template:LiteraryForm

From Wikisum
Revision as of 16:57, 24 May 2023 by Alexey Skripnik (talk | contribs) (Created page with "<includeonly>{{#switch: {{{1|}}} | short story = {{#switch: {{{2|}}} | title = a short story | Title = a Short Story | plural = short stories | #default = a short story }} | essay = {{#switch: {{{2|}}} | title = an essay | Title = an Essay | plural = essays | #default = an essay }} | #default = {{#ifeq: {{{2|}}}|plural|books|a book}} }}</includeonly><noinclude> This template takes a user input literary form and the format expected (for...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template takes a user input literary form and the format expected (for title or for categories) and returns the corresponding value or nothing if the genre is not in the table.

Usage: a book

Example: a Short Story will return "a Short Story" essays will return "essays"