Template:Needs translation: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(added support for multiple languages so categories are added properly)
m (Text replacement - "{{{nocat|}}}" to "{{{nocat|{{NAMESPACE}}}}}")
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{box|''The following article or section needs help from someone who can '''translate''' {{#if:{{{1|}}}|{{#replace:{{#fornumargs:number|value|{{#var:value}}/}}$|/$}}|Japanese}} text.''{{#if:{{{notes|}}}|<br>''Some notes:'' {{{notes}}}}}|||text-align: center;}}<includeonly>{{#if:{{{nocat|}}}||{{#if:{{{1|}}}|{{#fornumargs:number|value|[[Category:Articles in need of {{#var:value}} translations]]}}|[[Category:Articles in need of Japanese translations]]}}}}</includeonly><noinclude>
{{box|''The following article or section needs help from someone who can '''translate''' {{#if:{{{1|}}}|{{#replace:{{#fornumargs:number|value|{{#var:value}}/}}$|/$}}|Japanese}} text.''{{#if:{{{notes|}}}|<br>''Some notes:'' {{{notes}}}}}|||text-align: center;}}<includeonly>{{#if:{{{nocat|{{NAMESPACE}}}}}||{{#if:{{{1|}}}|{{#fornumargs:number|value|[[Category:Articles in need of {{#var:value}} translations]]}}|[[Category:Articles in need of Japanese translations]]}}}}</includeonly><noinclude>


==Info==
==Info==
Line 32: Line 32:
| <pre>{{needs translation}}</pre>
| <pre>{{needs translation}}</pre>
| {{needs translation|nocat=y}}
| {{needs translation|nocat=y}}
|-
| <pre>{{needs translation|Italian|German}}</pre>
| {{needs translation|Italian|German|nocat=y}}
|-
|-
| <pre>{{needs translation|Italian|notes=Delfino means Dolphin.}}</pre>
| <pre>{{needs translation|Italian|notes=Delfino means Dolphin.}}</pre>

Latest revision as of 13:56, August 8, 2024

The following article or section needs help from someone who can translate Japanese text.

Info

It has been suggested that this page should be moved to Template:Translate. Reason:
Simpler, fits with Template:Delete.
Discuss your opinion on the talk page.

This template is to be used whenever an article or section has text in a language other than English, and the editor who added the text cannot translate it into English. This template will create a box warning that the text needs to be translated, and will also categorize it accordingly. By default, it is assumed that the needed translation is Japanese.

Pages with this also get categorized on the corresponding category.

Parameters

Parameter Mandatory Default Purpose Detailed description
1, 2, 3... No Japanese Language The language(s) the text is in. One language per numbered parameter.
notes No Notes Helpful notes that you wish to leave to the translator.
nocat No No categorization Give this a value like "y" to stop the template from categorizing the page it's in.

Skeleton

{{needs translation|<language>}}

Examples

Code Result
{{needs translation}}

The following article or section needs help from someone who can translate Japanese text.

{{needs translation|Italian|German}}

The following article or section needs help from someone who can translate Italian/German text.

{{needs translation|Italian|notes=Delfino means Dolphin.}}

The following article or section needs help from someone who can translate Italian text.
Some notes: Delfino means Dolphin.