Difference between revisions of "Template:Literal translation/doc"
Jump to navigation
Jump to search
imported>Daask |
imported>Daviddwd |
||
| Line 5: | Line 5: | ||
* <code><nowiki>{{literal translation|lk=yes}}</nowiki></code> → {{literal translation|lk=yes}} | * <code><nowiki>{{literal translation|lk=yes}}</nowiki></code> → {{literal translation|lk=yes}} | ||
* <code><nowiki>{{literal translation|i=yes}}</nowiki></code> → {{literal translation|i=yes}} | * <code><nowiki>{{literal translation|i=yes}}</nowiki></code> → {{literal translation|i=yes}} | ||
| + | * <code><nowiki>{{literal translation|a}}</nowiki></code> → {{literal translation|a}} | ||
| + | * <code><nowiki>{{literal translation|a|b}}</nowiki></code> → {{literal translation|a|b}} | ||
== Spacing demonstration == | == Spacing demonstration == | ||
* <code><nowiki>a{{literal translation}}bcd</nowiki></code> → a{{literal translation}}bcd | * <code><nowiki>a{{literal translation}}bcd</nowiki></code> → a{{literal translation}}bcd | ||
| Line 18: | Line 20: | ||
[[Category:Translation templates]] | [[Category:Translation templates]] | ||
}}</includeonly> | }}</includeonly> | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "label": "literal meaning", | ||
| + | "example": "\"not is\"", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "2": { | ||
| + | "label": "second literal meaning", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "sortable": { | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "i": { | ||
| + | "label": "italic", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "lk": { | ||
| + | "label": "link", | ||
| + | "type": "string" | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
Revision as of 09:32, 20 December 2018
| This is a documentation subpage for Template:Literal translation. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{literal translation}}→ lit.{{literal translation|lk=yes}}→ lit.{{literal translation|i=yes}}→ lit.{{literal translation|a}}→ lit.Template:Sp 'a'{{literal translation|a|b}}→ lit.Template:Sp 'a'Template:Sp or 'b'
Spacing demonstration
a{{literal translation}}bcd→ alit.bcda{{literal translation|i=yes}}bcd→ alit.bcda{{literal translation|b}}cd→ alit.Template:Sp 'b'cda{{literal translation|b|i=yes}}cd→ alit.Template:Sp 'b'cda{{literal translation|b|c}}d→ alit.Template:Sp 'b'Template:Sp or 'c'da{{literal translation|b|c|i=yes}}d→ alit.Template:Sp 'b'Template:Sp or 'c'd
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| literal meaning | 1 | no description
| String | required |
| second literal meaning | 2 | no description | String | optional |
| Sortable | sortable | no description | String | optional |
| italic | i | no description | String | optional |
| link | lk | no description | String | optional |