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

From blackwiki
Jump to navigation Jump to search
imported>Mclay1
imported>Mclay1
(updating)
Line 24: Line 24:
 
| Input each letter and space (up to 20) of the text as an individual parameter. Enter [[diphthong]]s together. Do not use punctuation.
 
| 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=</code><br />(optional)
+
| <code>final=s</code><br />(optional)
| Does the same as <code>1=</code> etc. but turns ''s'' into ς instead of σ for when it appears at the end of the word.
+
| 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)
 
| <code>translation=</code><br />(optional)
Line 32: Line 32:
  
 
====Examples====
 
====Examples====
<code><nowiki>{{Latn-Grek|lang=grc|Z|eú|s}}</nowiki></code> produces {{Latn-Grek|lang=grc|Z|eú|s}}
+
<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ú|s|translation=Zeus}}</nowiki></code> produces {{Latn-Grek|lang=grc|Z|eú|s|translation=Zeus}}
+
<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ú|s}}</nowiki></code> produces {{Latn-Grek|lang=grc|label=yes|Z|eú|s}}
+
<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ú|s|translation=Zeus}}</nowiki></code> produces {{Latn-Grek|lang=grc|label=yes|Z|eú|s|translation=Zeus}}
+
<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ú|s}}</nowiki></code> produces {{Latn-Grek|lang=grc|reverse=yes|Z|eú|s}}
+
<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===
 
===See also===

Revision as of 05:19, 5 December 2016

Usage

This template uses {{ISO 843}} to convert Latin letters into Greek letters. It does the reverse of {{Grek-Latn}}, but the output is the same.

Parameters

Parameter Effect
lang=
(recommended)
Fills in the language code for the language templates. Enter el for modern Greek or another code for an alternative version of Greek.
reverse=
(optional)
If the parameter equals anything (e.g. yes), it reverses the output so that the transliteration appears before the Greek text.
label=
(optional)
If the parameter equals anything (e.g. yes), the template calls upon {{Lang-el}} (or any other Lang- template depending on the input to lang=) rather than {{Lang}}, causing a language label to appear before the ordinary output. This parameter does not work if reverse= is in use.
1=
(required)
Inputting a letter transliterates the letter from the Latin alphabet to the Greek one.
2=
(optional)
Input each letter and space (up to 20) of the text as an individual parameter. Enter diphthongs together. Do not use punctuation.
final=s
(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 σ).
translation=
(optional)
Creates text for a translation of the Greek.

Examples

{{Latn-Grek|lang=grc|Z|eú|final=s}} produces [Zeú (Ζεύ)] error: {{lang}}: text has italic markup (help)

{{Latn-Grek|lang=grc|Z|eú|final=s|translation=Zeus}} produces [Zeú (Ζεύ)] error: {{lang}}: text has italic markup (help)

{{Latn-Grek|lang=grc|label=yes|Z|eú|final=s}} produces [Zeú (Ζεύ)] error: {{lang}}: text has italic markup (help)

{{Latn-Grek|lang=grc|label=yes|Z|eú|final=s|translation=Zeus}} produces [Zeú (Ζεύ)] error: {{lang}}: text has italic markup (help)

{{Latn-Grek|lang=grc|reverse=yes|Z|eú|final=s}} produces [Ζεύ (Zeú)] error: {{lang}}: text has italic markup (help)

See also