Difference between revisions of "Template:Translation in progress/doc"

From Moegirlpedia
Jump to: navigation, search
(Created page with " <templatedata> { "params": { "1": { "label": "posting time", "description": "time the template was added. Standard timestamp (~~~~~) recommended.", "example": "~~...")
 
m
Line 1: Line 1:
 
+
==Redirects==
 +
*<code>{{((}}trip{{))}}</code>
 +
==Syntax==
 +
*<code>{{((}}Translation in progress|~~&#126;~~|(progress)|source={{))}}</code>
 +
*<code>{{((}}Translation in progress|~~&#126;~~|progress=(progress)|source={{))}}</code>
 +
*<code>{{((}}Translation in progress|~~&#126;~~|progress=(progress)|source=|type={{))}}</code>
 +
**<code>progress</code> (or <code>2</code>) should be a percentage, like <code>2%</code>, <code>40%</code>, <code>100%</code>, etc.
 +
**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.
 +
==Template Data==
 
<templatedata>
 
<templatedata>
 
{
 
{
Line 19: Line 28:
 
"source": {
 
"source": {
 
"description": "Source of translation. This is usually a link to the original texts.",
 
"description": "Source of translation. This is usually a link to the original texts.",
"example": "[https://zh.moegirl.org/example Example page]",
+
"example": "[[:zh:Example|Example page]], [https://example.com example source]",
 
"type": "url",
 
"type": "url",
 
"autovalue": "",
 
"autovalue": "",

Revision as of 00:01, 16 February 2020

Redirects

  • {{trip}}

Syntax

  • {{Translation in progress|~~~~~|(progress)|source=}}
  • {{Translation in progress|~~~~~|progress=(progress)|source=}}
  • {{Translation in progress|~~~~~|progress=(progress)|source=|type=}}
    • progress (or 2) should be a percentage, like 2%, 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.

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>