Difference between revisions of "Template:Japanese names/doc"
(Created page with "{{Documentation subpage}} {{t|Japanese names}} is used to output different ways of writing the Japanese name of a card and store their values in properties. It is typically us...") |
Dinoguy1000 (talk | contribs) (link to Template:Ruby; see also to Template:Korean names) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 4: | Line 4: | ||
=== Usage === | === Usage === | ||
{{tlx|Japanese names|''Japanese name''|''Rōmaji name''|''Translated name''}} | {{tlx|Japanese names|''Japanese name''|''Rōmaji name''|''Translated name''}} | ||
− | * ''Japanese name'' is to be replaced with the Japanese name, including ruby markup, if any. | + | * ''Japanese name'' is to be replaced with the Japanese name, including [[Template:Ruby|ruby]] markup, if any. |
* ''Rōmaji name'' is to be replaced with the Japanese name, written in ''rōmaji''. | * ''Rōmaji name'' is to be replaced with the Japanese name, written in ''rōmaji''. | ||
* ''Translated name'' is to be replaced with the Japanese name, translated into English. | * ''Translated name'' is to be replaced with the Japanese name, translated into English. | ||
Line 10: | Line 10: | ||
{{tlx|Japanese names|2=main=''A page name''}} | {{tlx|Japanese names|2=main=''A page name''}} | ||
* ''A page name'' is to be replaced with the name of a page, from which to extract Japanese names from. The target page needs to use the relevant Semantic MediaWiki properties, for this to work. | * ''A page name'' is to be replaced with the name of a page, from which to extract Japanese names from. The target page needs to use the relevant Semantic MediaWiki properties, for this to work. | ||
+ | |||
+ | === Examples === | ||
+ | <pre>{{Japanese names|{{Ruby|青眼の白龍|ブルーアイズ・ホワイト・ドラゴン}}|Burūaizu Howaito Doragon}}</pre> | ||
+ | |||
+ | {{Japanese names|{{Ruby|青眼の白龍|ブルーアイズ・ホワイト・ドラゴン}}|Burūaizu Howaito Doragon}} | ||
+ | |||
+ | <pre>{{Japanese names|main=Dark Magician}}</pre> | ||
+ | |||
+ | {{Japanese names|main=Dark Magician}} | ||
+ | |||
+ | == See also == | ||
+ | * {{t|Korean names}} | ||
<includeonly> | <includeonly> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</includeonly> | </includeonly> |
Latest revision as of 10:35, 16 June 2019
This is a documentation subpage for Template:Japanese names. It contains usage information, categories and other content that is not part of the original template page. |
{{Japanese names}} is used to output different ways of writing the Japanese name of a card and store their values in properties. It is typically used in the above
section on card tables.
Usage[edit]
{{Japanese names|Japanese name|Rōmaji name|Translated name}}
- Japanese name is to be replaced with the Japanese name, including ruby markup, if any.
- Rōmaji name is to be replaced with the Japanese name, written in rōmaji.
- Translated name is to be replaced with the Japanese name, translated into English.
{{Japanese names|main=A page name}}
- A page name is to be replaced with the name of a page, from which to extract Japanese names from. The target page needs to use the relevant Semantic MediaWiki properties, for this to work.
Examples[edit]
{{Japanese names|{{Ruby|青眼の白龍|ブルーアイズ・ホワイト・ドラゴン}}|Burūaizu Howaito Doragon}}
- Japanese
青眼の白龍 - Base
- 青眼の白龍
- Kana
- ブルーアイズ・ホワイト・ドラゴン
- Rōmaji
- Burūaizu Howaito Doragon
{{Japanese names|main=Dark Magician}}
- Japanese
- ブラック・マジシャン
- Rōmaji
- Burakku Majishan
- Translated
- Black Magician
See also[edit]
- {{Korean names}}