Difference between revisions of "Template:Latn-Grek/doc"

From blackwiki
Jump to navigation Jump to search
imported>Mclay1
(updating)
imported>Frietjes
(Redirected page to Template:Grek-Latn/doc)
 
Line 1: Line 1:
{{Documentation subpage}}
+
#REDIRECT [[Template:Grek-Latn/doc]]
 
 
===Usage===
 
This template uses {{tl|ISO 843}} to convert [[Latin alphabet|Latin letters]] into [[Greek alphabet|Greek letters]]. It does the reverse of {{tl|Grek-Latn}}, but the output is the same.
 
 
 
====Parameters====
 
{| class="wikitable"
 
! Parameter
 
! Effect
 
|-
 
| <code>lang=</code><br />(recommended)
 
| Fills in the language code for the language templates. Enter <code>el</code> for [[modern Greek]] or another code for an alternative version of Greek.
 
|-
 
| <code>reverse=</code><br />(optional)
 
| If the parameter equals anything (e.g. <code>yes</code>), it reverses the output so that the transliteration appears before the Greek text.
 
|-
 
| <code>label=</code><br />(optional)
 
| If the parameter equals anything (e.g. <code>yes</code>), the template calls upon {{tl|Lang-el}} (or any other Lang- template depending on the input to <code>lang=</code>) rather than {{tl|Lang}}, causing a language label to appear before the ordinary output. This parameter does not work if <code>reverse=</code> is in use.
 
|-
 
| <code>1=</code><br />(required)
 
| Inputting a letter transliterates the letter from the Latin alphabet to the Greek one.
 
|-
 
| <code>2=</code><br />(optional)
 
| Input each letter and space (up to 20) of the text as an individual parameter. Enter [[diphthong]]s together. Do not use punctuation.
 
|-
 
| <code>final=s</code><br />(optional)
 
| Adds ς to the end of the Greek text (for when ''s'' appears at the end of the word, to avoid it being transliterated as σ).
 
|-
 
| <code>translation=</code><br />(optional)
 
| Creates text for a translation of the Greek.
 
|}
 
 
 
====Examples====
 
<code><nowiki>{{Latn-Grek|lang=grc|Z|eú|final=s}}</nowiki></code> produces {{Latn-Grek|lang=grc|Z|eú|final=s}}
 
 
 
<code><nowiki>{{Latn-Grek|lang=grc|Z|eú|final=s|translation=Zeus}}</nowiki></code> produces {{Latn-Grek|lang=grc|Z|eú|final=s|translation=Zeus}}
 
 
 
<code><nowiki>{{Latn-Grek|lang=grc|label=yes|Z|eú|final=s}}</nowiki></code> produces {{Latn-Grek|lang=grc|label=yes|Z|eú|final=s}}
 
 
 
<code><nowiki>{{Latn-Grek|lang=grc|label=yes|Z|eú|final=s|translation=Zeus}}</nowiki></code> produces {{Latn-Grek|lang=grc|label=yes|Z|eú|final=s|translation=Zeus}}
 
 
 
<code><nowiki>{{Latn-Grek|lang=grc|reverse=yes|Z|eú|final=s}}</nowiki></code> produces {{Latn-Grek|lang=grc|reverse=yes|Z|eú|final=s}}
 
 
 
===See also===
 
*{{tl|Grek-Latn}}
 
*{{tl|ISO 843}}
 
 
 
<includeonly>
 
<!-- Categories and interwikis go here: -->
 
[[Category:Greek multilingual support templates]]
 
</includeonly>
 

Latest revision as of 20:35, 9 September 2019