Template:Thtitle

From Touhou Wiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage[edit]

Particular formatting for the titles of Touhou works, to be used primarily on their main pages.

Potentially useful to make sweeping style modifications by editing only the template.

Syntax
Code {{thtitle|Touhou |Fuujinroku|ruby=Wind God Chronicles| ~ Mountain of Faith|jp=東方風神録 ~ Mountain of Faith}}
(alt) {{thtitle|Touhou |Fuujinroku|ruby=Wind God Chronicles| ~ Mountain of Faith|東方風神録 ~ Mountain of Faith}}
(alt) {{thtitle|Touhou |Fuujinroku|Wind God Chronicles| ~ Mountain of Faith|jp=東方風神録 ~ Mountain of Faith}}
(alt) {{thtitle|Touhou |Fuujinroku|Wind God Chronicles| ~ Mountain of Faith|東方風神録 ~ Mountain of Faith}}
Result Touhou Fuujinroku (Wind God Chronicles) ~ Mountain of Faith (東方風神録 ~ Mountain of Faith)

Note that there are exactly five parameters, whether or not the ruby= and jp= parameters are explicitly used (it's suggested to use them both anyways):

  • Left-of-ruby text
  • Base text
  • Ruby text (ruby=)
  • Right-of-ruby text
  • Original japanese text (jp=)

Left-of and right-of were seen as necessary for wiggle room. If any of these are unneeded in a title, they can just be empty strings. For example:

Code {{thtitle|Double Spoiler ~ Touhou |Bunkachou|ruby=Writing Flower Album||jp=ダブルスポイラー ~ 東方文花帖}}
Result Double Spoiler ~ Touhou Bunkachou (Writing Flower Album) (ダブルスポイラー ~ 東方文花帖)
Code {{thtitle|Danmaku Amanojaku ~ Impossible Spell Card||||jp=弾幕アマノジャク ~ Impossible Spell Card}}
Result Danmaku Amanojaku ~ Impossible Spell Card () (弾幕アマノジャク ~ Impossible Spell Card)