Template:NameFormat/ShortUnlinkedInvertedItalics

From Ultima Codex
Jump to navigation Jump to search

{{{1}}}
Template that expects input to be a short, plain (not linked nor italicized and no special character) name ("Ultima IV" and not "Ultima IV: Quest of the Avatar"). The returned value will have it italics inverted, which, for the most part, will mean completely unitalicized.  s will be embedded where necessary. If the input is not recognized, the input value will be passed to the return unchanged.
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/ShortUnlink|Ultima IV}} → Ultima IV
{{NameFormat/ShortUnlink|Ultima VII (SNES)}} → Ultima VII (SNES)