Template:DescTransl/Documentation: Difference between revisions
Jump to navigation
Jump to search
m (RustyVanBurace moved page Template:CompTransl/Documentation to Template:DescrTransl/Documentation without leaving a redirect: More inclusive.) |
No edit summary |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
This template is used to add | This template is used to add translations of in-game descriptions in table templates, such as [[Template:Compendium]]. This is achieved by adding the original Japanese in-game description in the first parameter, followed by the English translation in the second parameter. This template should be used for games or individual descriptions that were never officially localized. | ||
==Usage== | ==Usage== | ||
Line 14: | Line 14: | ||
===Code=== | ===Code=== | ||
<pre> | <pre> | ||
{{ | {{DescrTransl|1|2}} | ||
</pre> | </pre> | ||
===Examples=== | ===Examples=== | ||
{{Compendium | {{Compendium | ||
|smt2={{ | |smt2={{DescrTransl|出身地 : 北欧 死者の国ニヴルヘイムに通じる門を 監視する冥府の女王ヘルの猟犬達。 姿は、 漆黒の剛毛の胸元を死者の血 深紅に染め、 その両の目は石炭の ように燃えている。 脱走者には容赦なく襲いかかり、そ の体を貪り喰うといわれる。|Origin: Northern Europe. The hounds of Hel, Queen of the Underworld, guard the gates to Niflheim, the Land of the Dead. Their jet-black fur is stained crimson with the blood of the dead, and their eyes burn like coal. They are said to attack and devour any deserter without mercy.}} | ||
}} | }} | ||
{{Documentation Footer}} | {{Documentation Footer}} |
Revision as of 16:57, 17 August 2023
Purpose
This template is used to add translations of in-game descriptions in table templates, such as Template:Compendium. This is achieved by adding the original Japanese in-game description in the first parameter, followed by the English translation in the second parameter. This template should be used for games or individual descriptions that were never officially localized.
Usage
Parameter | Description |
---|---|
1 | This is where the original Japanese entry goes. |
2 | This is where the translation goes. |
Code
{{DescrTransl|1|2}}
Examples
Compendium Entries | |
---|---|
Shin Megami Tensei II(A-Mode DDS) | Template:DescrTransl |
This is the template documentation page for Template:DescTransl. It should be transcluded onto the template page.