Template:Tlnote/doc: Difference between revisions

From Touhou Patch Center
Jump to navigation Jump to search
(Created page with "Adds an ''in-game'' TL note to the current text. For a wiki-only note, use the separate <tt>|note=</tt> template parameter. ==Usage== {{tl|{{PAGENAME}}|note}} In-game, only...")
 
No edit summary
Line 3: Line 3:
==Usage==
==Usage==
{{tl|{{PAGENAME}}|note}}
{{tl|{{PAGENAME}}|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 <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 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 15:33, 15 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 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.