Template:Tlnote/doc: Difference between revisions

From Touhou Patch Center
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
{{tl|{{PAGENAME}}|note}}
{{tl|{{PAGENAME}}|note}}
* Can be put at any position inside a translation unit.
* Can be put at any position inside a translation unit.
* In-game, only the note text will be shown. Due to how patch stacking works, you'd have to spell out any <tt>(TL note: (…))</tt> formats, every time.
* In-game, only the note text will be shown. Due to how patch stacking works, you'd have to spell out any <tt>(TL note: (…))</tt> formats, every time, since they tend to be different for every language as well.
* Since you can ''technically'' put it more than once into a single translation unit, you are in fact allowed to. The parser then simply concatenates all templates in order, ''without'' removing trailing whitespace.
* Since you can ''technically'' put it more than once into a single translation unit, you are in fact allowed to. The parser then simply concatenates all templates in order, ''without'' removing trailing whitespace.

Revision as of 22:09, 22 March 2019

Adds an in-game TL note to the current text. For a wiki-only note, use the separate |note= template parameter.

Usage

{{Tlnote/doc|note}}

  • Can be put at any position inside a translation unit.
  • In-game, only the note text will be shown. Due to how patch stacking works, you'd have to spell out any (TL note: (…)) formats, every time, since they tend to be different for every language as well.
  • Since you can technically put it more than once into a single translation unit, you are in fact allowed to. The parser then simply concatenates all templates in order, without removing trailing whitespace.