Difference between revisions of "Template:Translation in progress/doc"
m |
m (→Syntax) |
||
Line 2: | Line 2: | ||
*<code>{{((}}trip{{))}}</code> | *<code>{{((}}trip{{))}}</code> | ||
==Syntax== | ==Syntax== | ||
+ | Previous usages has shown that this template must be written inline, with no spacing whitespace. Basically, just always copy the example below to prevent unintended results. | ||
*<code>{{((}}Translation in progress|~~~~~|(progress)|source={{))}}</code> | *<code>{{((}}Translation in progress|~~~~~|(progress)|source={{))}}</code> | ||
*<code>{{((}}Translation in progress|~~~~~|progress=(progress)|source={{))}}</code> | *<code>{{((}}Translation in progress|~~~~~|progress=(progress)|source={{))}}</code> | ||
Line 9: | Line 10: | ||
**If possible, provide a link to the orgininal text with <code>source</code>. | **If possible, provide a link to the orgininal text with <code>source</code>. | ||
**Use <code>|type=sect</code> to notify a section being translated instead of a whole page. | **Use <code>|type=sect</code> to notify a section being translated instead of a whole page. | ||
+ | |||
==Template Data== | ==Template Data== | ||
<templatedata> | <templatedata> |
Revision as of 05:12, 19 February 2020
Redirects
{{trip}}
Syntax
Previous usages has shown that this template must be written inline, with no spacing whitespace. Basically, just always copy the example below to prevent unintended results.
{{Translation in progress|~~~~~|(progress)|source=}}
{{Translation in progress|~~~~~|progress=(progress)|source=}}
{{Translation in progress|~~~~~|progress=(progress)|source=|type=}}
- Use parameter
1
to notify the time the template was placed. progress
(or2
) should be a percentage, like2%
,40%
,100%
, etc.- If possible, provide a link to the orgininal text with
source
. - Use
|type=sect
to notify a section being translated instead of a whole page.
- Use parameter
Template Data
<templatedata> { "params": { "1": { "label": "posting time", "description": "time the template was added. Standard timestamp (~~~~~) recommended.", "example": "~~~~~", "type": "string", "autovalue": "~~~~~", "required": true }, "type": { "description": "Define the type. If describing only a section, use “sect” verbatim.", "example": "sect", "type": "string", "autovalue": "sect" }, "source": { "description": "Source of translation. This is usually a link to the original texts.", "example": "Example page, example source", "type": "url", "autovalue": "", "suggested": true }, "progress": { "aliases": [ "2" ], "description": "a percentage describing the translation, proofreading, and copy editing progress.", "example": "10%, 50%, 100%", "type": "number", "default": "0%", "required": true } }, "paramOrder": [ "1", "progress", "type", "source" ], "format": "inline", "description": "Maintenance template for posting translation progresses and calling for translation, proofreading, and copy editing help." } </templatedata>