Template:GameDesc/Documentation: Difference between revisions
Jump to navigation
Jump to search
m (RustyVanBurace moved page Template:Game Descr/Documentation to Template:Game Desc/Documentation without leaving a redirect) |
m (Text replacement - "{{Documentation Footer}}" to "<noinclude>Category:Template Documentation</noinclude>") |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Used to create tables for listing in-game descriptions by game, such as item and skill descriptions, using both a header template and multiple row templates. [[Template: | Used to create tables for listing in-game descriptions by game, such as item and skill descriptions, using both a header template and multiple row templates. [[Template:GameDesc/Header]] is placed at the top of the table, and the table must be closed by appending <code>|}</code> on the following line. | ||
This template should use the English localized descriptions where available. For games that were never localized, the original Japanese description should instead be used. Use [[Template: | This template should use the English localized descriptions where available. For games that were never localized, the original Japanese description should instead be used. Use [[Template:DescTransl]] for displaying both the Japanese description and a translation. | ||
==Usage== | ==Usage== | ||
Line 17: | Line 17: | ||
===Code=== | ===Code=== | ||
<pre> | <pre> | ||
{{ | {{GameDesc/Header}} | ||
{{ | {{GameDesc|1|2}} | ||
|} | |} | ||
</pre> | </pre> | ||
Line 25: | Line 25: | ||
'''Life Stone descriptions''' | '''Life Stone descriptions''' | ||
<pre> | <pre> | ||
{{ | {{GameDesc/Header}} | ||
{{ | {{GameDesc|{{Link|Game|SMT1}}|Restores 25% of one ally's HP.}} | ||
|} | |} | ||
</pre> | </pre> | ||
{{ | {{GameDesc/Header}} | ||
{{ | {{GameDesc|{{Link|Game|SMT1}}|Restores 25% of one ally's HP.}} | ||
|} | |} | ||
<noinclude>[[Category:Template Documentation]]</noinclude> |
Latest revision as of 03:40, 10 October 2023
Purpose
Used to create tables for listing in-game descriptions by game, such as item and skill descriptions, using both a header template and multiple row templates. Template:GameDesc/Header is placed at the top of the table, and the table must be closed by appending |}
on the following line.
This template should use the English localized descriptions where available. For games that were never localized, the original Japanese description should instead be used. Use Template:DescTransl for displaying both the Japanese description and a translation.
Usage
Parameter | Description |
---|---|
1 | The linked game that the description is from. |
2 | The in-game description. |
Code
{{GameDesc/Header}} {{GameDesc|1|2}} |}
Examples
Life Stone descriptions
{{GameDesc/Header}} {{GameDesc|{{Link|Game|SMT1}}|Restores 25% of one ally's HP.}} |}
Game | Description |
---|---|
Restores 25% of one ally's HP. |