|
|
Line 1: |
Line 1: |
| <includeonly><i>{{#switch: {{SUBPAGENAME}}<!-- switch statement for needless futureproofing -->
| | |
| |jp = {{#if:{{{jp|}}}|{{{jp}}}|日本語の説明文は不明。{{#if:{{{nocat|}}}|[[Category:Japanese description missing]]}}}}
| |
| |#default = {{#if:{{{en|}}}|{{{en}}}|add me.{{#if:{{{nocat|}}}[[Category:English description missing]]}}}}
| |
| }}</i>
| |
| </includeonly><noinclude>
| |
| ==Purpose==
| |
| Utility template for item or mission descriptions, with optional localization support.
| |
| ==Technical Information==
| |
| The template will look at the subpage name to infer what language the page is in. If it is a known language (e.g. jp), it is a Japanese page. If it isn't, it is treated as an English page.
| |
| ==Parameter List==
| |
| <pre>
| |
| {{Description New
| |
| |en <!-- Type the English description of the item or mission here. If unknown, leave this field blank. -->
| |
| |jp <!-- Type the Japanese description of the item or mission here. If unknown, leave this field blank. -->
| |
| |nocat <!-- Does not add the page to any maintenance categories. -->
| |
| }}
| |
| </pre>
| |
| ==Examples==
| |
| Due to the implementation, only the result relevant to the page will be seen. It is recommended to test the template on a user subpage.
| |
| ===Empty Template===
| |
| <pre>{{Description New
| |
| |nocat=1
| |
| }}</pre>
| |
| {{Description New
| |
| |nocat=1
| |
| }}
| |
| ===Parsed Ken'ei+===
| |
| <pre>{{Description New
| |
| |en=This weapon has photons
| |
| applied to the sheath as
| |
| well. Its wielder will be
| |
| granted the speed, power,
| |
| and overflowing bloodlust
| |
| of a demon.
| |
| |nocat=1
| |
| }}</pre>
| |
| {{Description New
| |
| |en=This weapon has photons
| |
| applied to the sheath as
| |
| well. Its wielder will be
| |
| granted the speed, power,
| |
| and overflowing bloodlust
| |
| of a demon.
| |
| |nocat=1
| |
| }}
| |
| </noinclude>
| |