Difference between revisions of "Template:Latn-Grek"

From blackwiki
Jump to navigation Jump to search
imported>Mclay1
imported>Mclay1
(adding parameter for ς)
Line 1: Line 1:
 
{{#if:{{{reverse|}}}
 
{{#if:{{{reverse|}}}
|''{{Transl|{{{lang}}}|ISO|{{{1}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}{{{18|}}}{{{19|}}}{{{20|}}}}}'' ({{Lang|{{{lang}}}|{{ISO 843|{{{1}}}}}{{ISO 843|{{{2|}}}}}{{ISO 843|{{{3|}}}}}{{ISO 843|{{{4|}}}}}{{ISO 843|{{{5|}}}}}{{ISO 843|{{{6|}}}}}{{ISO 843|{{{7|}}}}}{{ISO 843|{{{8|}}}}}{{ISO 843|{{{9|}}}}}{{ISO 843|{{{10|}}}}}{{ISO 843|{{{11|}}}}}{{ISO 843|{{{12|}}}}}{{ISO 843|{{{13|}}}}}{{ISO 843|{{{14|}}}}}{{ISO 843|{{{15|}}}}}{{ISO 843|{{{16|}}}}}{{ISO 843|{{{17|}}}}}{{ISO 843|{{{18|}}}}}{{ISO 843|{{{19|}}}}}{{ISO 843|{{{20|}}}}}}}{{#if:{{{translation|}}}|, "{{{translation|}}}"}})
+
|''{{Transl|{{{lang}}}|ISO|{{{1}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}{{{18|}}}{{{19|}}}{{{20|}}}{{{final|}}}}}'' ({{Lang|{{{lang}}}|{{ISO 843|{{{1}}}}}{{ISO 843|{{{2|}}}}}{{ISO 843|{{{3|}}}}}{{ISO 843|{{{4|}}}}}{{ISO 843|{{{5|}}}}}{{ISO 843|{{{6|}}}}}{{ISO 843|{{{7|}}}}}{{ISO 843|{{{8|}}}}}{{ISO 843|{{{9|}}}}}{{ISO 843|{{{10|}}}}}{{ISO 843|{{{11|}}}}}{{ISO 843|{{{12|}}}}}{{ISO 843|{{{13|}}}}}{{ISO 843|{{{14|}}}}}{{ISO 843|{{{15|}}}}}{{ISO 843|{{{16|}}}}}{{ISO 843|{{{17|}}}}}{{ISO 843|{{{18|}}}}}{{ISO 843|{{{19|}}}}}{{ISO 843|{{{20|}}}}}{{#if:{{{final|}}}|ς}}}}{{#if:{{{translation|}}}|, "{{{translation|}}}"}})
 
|{{#if:{{{label|}}}
 
|{{#if:{{{label|}}}
  |{{Lang-{{{lang}}}|{{ISO 843|{{{1}}}}}{{ISO 843|{{{2|}}}}}{{ISO 843|{{{3|}}}}}{{ISO 843|{{{4|}}}}}{{ISO 843|{{{5|}}}}}{{ISO 843|{{{6|}}}}}{{ISO 843|{{{7|}}}}}{{ISO 843|{{{8|}}}}}{{ISO 843|{{{9|}}}}}{{ISO 843|{{{10|}}}}}{{ISO 843|{{{11|}}}}}{{ISO 843|{{{12|}}}}}{{ISO 843|{{{13|}}}}}{{ISO 843|{{{14|}}}}}{{ISO 843|{{{15|}}}}}{{ISO 843|{{{16|}}}}}{{ISO 843|{{{17|}}}}}{{ISO 843|{{{18|}}}}}{{ISO 843|{{{19|}}}}}{{ISO 843|{{{20|}}}}}|{{{1}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}{{{18|}}}{{{19|}}}{{{20|}}}|{{{translation|}}}}}
+
  |{{Lang-{{{lang}}}|{{ISO 843|{{{1}}}}}{{ISO 843|{{{2|}}}}}{{ISO 843|{{{3|}}}}}{{ISO 843|{{{4|}}}}}{{ISO 843|{{{5|}}}}}{{ISO 843|{{{6|}}}}}{{ISO 843|{{{7|}}}}}{{ISO 843|{{{8|}}}}}{{ISO 843|{{{9|}}}}}{{ISO 843|{{{10|}}}}}{{ISO 843|{{{11|}}}}}{{ISO 843|{{{12|}}}}}{{ISO 843|{{{13|}}}}}{{ISO 843|{{{14|}}}}}{{ISO 843|{{{15|}}}}}{{ISO 843|{{{16|}}}}}{{ISO 843|{{{17|}}}}}{{ISO 843|{{{18|}}}}}{{ISO 843|{{{19|}}}}}{{ISO 843|{{{20|}}}}}{{#if:{{{final|}}}|ς}}|{{{1}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}{{{18|}}}{{{19|}}}{{{20|}}}{{{final|}}}|{{{translation|}}}}}
  |{{Lang|{{{lang}}}|{{ISO 843|{{{1}}}}}{{ISO 843|{{{2|}}}}}{{ISO 843|{{{3|}}}}}{{ISO 843|{{{4|}}}}}{{ISO 843|{{{5|}}}}}{{ISO 843|{{{6|}}}}}{{ISO 843|{{{7|}}}}}{{ISO 843|{{{8|}}}}}{{ISO 843|{{{9|}}}}}{{ISO 843|{{{10|}}}}}{{ISO 843|{{{11|}}}}}{{ISO 843|{{{12|}}}}}{{ISO 843|{{{13|}}}}}{{ISO 843|{{{14|}}}}}{{ISO 843|{{{15|}}}}}{{ISO 843|{{{16|}}}}}{{ISO 843|{{{17|}}}}}{{ISO 843|{{{18|}}}}}{{ISO 843|{{{19|}}}}}{{ISO 843|{{{20|}}}}}}} (''{{Transl|{{{lang}}}|ISO|{{{1}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}{{{18|}}}{{{19|}}}{{{20|}}}}}''{{#if:{{{translation|}}}|, "{{{translation|}}}"}})
+
  |{{Lang|{{{lang}}}|{{ISO 843|{{{1}}}}}{{ISO 843|{{{2|}}}}}{{ISO 843|{{{3|}}}}}{{ISO 843|{{{4|}}}}}{{ISO 843|{{{5|}}}}}{{ISO 843|{{{6|}}}}}{{ISO 843|{{{7|}}}}}{{ISO 843|{{{8|}}}}}{{ISO 843|{{{9|}}}}}{{ISO 843|{{{10|}}}}}{{ISO 843|{{{11|}}}}}{{ISO 843|{{{12|}}}}}{{ISO 843|{{{13|}}}}}{{ISO 843|{{{14|}}}}}{{ISO 843|{{{15|}}}}}{{ISO 843|{{{16|}}}}}{{ISO 843|{{{17|}}}}}{{ISO 843|{{{18|}}}}}{{ISO 843|{{{19|}}}}}{{ISO 843|{{{20|}}}}}{{#if:{{{final|}}}|ς}}}} (''{{Transl|{{{lang}}}|ISO|{{{1}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}{{{18|}}}{{{19|}}}{{{20|}}}{{{final|}}}}}''{{#if:{{{translation|}}}|, "{{{translation|}}}"}})
 
  }}
 
  }}
 
}}<noinclude>
 
}}<noinclude>

Revision as of 05:16, 5 December 2016

[!] error: {{lang}}: unrecognized language tag: {{{lang}}} (help) (Template:Transl)

50px Template documentation[view] [edit] [history] [purge]

Usage

This template uses {{ISO 843}} to convert Greek letters into Latin letters. It does the reverse of {{Latn-Grek}}, 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 Greek alphabet to the Latin 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.
translation=
(optional)
Creates text for a translation of the Greek.

Examples

{{Grek-Latn|lang=grc|Ζ|εύ|ς}} produces Template:Grek-Latn

{{Grek-Latn|lang=grc|Ζ|εύ|ς|translation=Zeus}} produces Template:Grek-Latn

{{Grek-Latn|lang=grc|label=yes|Ζ|εύ|ς}} produces Template:Grek-Latn

{{Grek-Latn|lang=grc|label=yes|Ζ|εύ|ς|translation=Zeus}} produces Template:Grek-Latn

{{Grek-Latn|lang=grc|reverse=yes|Ζ|εύ|ς}} produces Template:Grek-Latn

See also