Template:Translation/doc

From Body Communication
< Template:Translation
Revision as of 16:46, 7 August 2021 by SadanYagci (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Usage == * <co...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

  • {{translation}}transl.
  • {{translation|literal=yes}}lit. transl.
  • {{translation|i=yes}}transl.
  • {{translation|a}}transl. a
  • {{translation|a|b}}transl. a – transl. b

Spacing demonstration

  • a{{translation}}bcd → atransl.bcd
  • a{{translation|i=yes}}bcd → atransl.bcd
  • a{{translation|b}}cd → atransl. bcd
  • a{{translation|b|i=yes}}cd → atransl. bcd
  • a{{translation|b|c}}d → atransl. b – transl. cd
  • a{{translation|b|c|i=yes}}d → atransl. b – transl. cd


<templatedata> { "params": { "1": { "label": "meaning", "example": "\"not is\"", "type": "string", "required": true }, "2": { "label": "second meaning", "type": "string" }, "sortable": { "type": "string" }, "i": { "label": "italic", "type": "string" }, "literal": { "label": "literal", "type": "string" } } } </templatedata>