Template:NameFormat/ShortLongUnitalicizedUnlinked

From Ultima Codex
Jump to navigation Jump to search

{{{1}}}
Template that expects input to be a short or long, plain (not linked nor italicized and no special character) name ("Ultima IV" or "Ultima IV: Quest of the Avatar"). The returned value will be the same game name, with the only change being  s embedded where necessary, if the input is recognized. Otherwise, the return value will be the exact same as the input.
This template should probably only be nested in other templates. It maybe useful for template fields which are typically formatted with a certain type of input.

Usage[edit]

{{NameFormat/ShortLongUnitalicizedUnlinked|Ultima IV}} → Ultima IV
{{NameFormat/ShortLongUnitalicizedUnlinked|Ultima III: Exodus}} → Ultima III: Exodus