Template:FormatLink

From Ultima Codex
Jump to navigation Jump to search

[[{{{1}}}{{{2}}}|{{{1}}}{{{2}}}]]
This used to format the name of a game inside a link to an article.

Usage[edit]

{{FormatLink|text before game name|game name|text after game name|[invert]}}


Parameters[edit]

First: the text appearing before the game name. If a space does not appear at the end of it, there will be no space between this and the game name. This parameter is obligatory but if there is no text before the game name, simply leave it blank.
Second: the name of the game. It does not have to be a game, but whatever text is here, will be italicized under normal conditions.
Third: (optional) the text appearing after the game name. If it is not preceded by a space, there will be no space between this and the game name.
Forth: (optional) indicates how to italicize the text.
normal: (default) italicizes only second. The other text will be unformatted.
invert: inverts the behaviour of normal, wrt italics.

Example[edit]

{{FormatLink|C64-port of |Ultima VI|}} → C64-port of Ultima VI
{{FormatLink||Ultima VII Part Two| monster data}} → Ultima VII Part Two monster data
''For a good time see ''{{FormatLink||Ultima VII Part Two| monster data|invert}} → For a good time see Ultima VII Part Two monster data