Template:Text: Difference between revisions
No edit summary |
m (Actualized documentation) |
||
Line 57: | Line 57: | ||
'''Text formatting:''' | '''Text formatting:''' | ||
<pre>{{Text|Latin| | <pre>{{Text|Latin| | ||
Ave Maria, gratia plena, Dominus tecum. | Ave Maria, gratia plena, Dominus tecum. | ||
Benedicta tu in mulieribus, | Benedicta tu in mulieribus, | ||
et benedictus fructus ventris tui, Jesus. | et benedictus fructus ventris tui, Jesus.}}</pre> | ||
}}</pre> | |||
}} | }} | ||
[[Category:Text formatting templates]]</noinclude> | [[Category:Text formatting templates]]</noinclude> |
Revision as of 07:14, 20 March 2015
Text (or link to a text page) needs to be added.
This high-risk template has been protected from editing to prevent vandalism. Please use the talk page to ask an administrator about making an edit to change this template. |
Accepted syntaxes for this template:
- {{Text|Unknown|some text}} displays the language as unknown and displays "some text" with Poem formatting.
- {{Text|Language}} displays the language of the text
- {{Text|2|Language1|Language2}} displays the two languages of the text
- {{Text|3|Language1|Language2|Language3}} displays the three languages of the text
In these last three cases the text may be entered as final (unnamed) parameter and will be displayed with Poem formatting.
Also, in these three cases where a language is specified, the template also inserts the page in the corresponding "Language texts" category for each language, as well as in Macaronic texts, except when the following syntax is used:
- {{Text|Language|cat=no}}
- {{Text|2|Language1|Language2|cat=no}}
- {{Text|3|Language1|Language2|Language3|cat=no}}
The page is not categorized in any of the Language texts categories (one may also use |Cat=no
with the same effect). The default value |cat=yes
(or |Cat=yes
) need not be entered).
Examples:
- {{Text|Unknown}}
displays as:
- {{Text| |French}}
displays as:
- {{Text|2|Latin|German}}
displays as:
Latin and German text
- {{Text|Quenya}}
(for which there is no corresponding language flag) displays as:
Quenya text
Text formatting:
{{Text|Latin| Ave Maria, gratia plena, Dominus tecum. Benedicta tu in mulieribus, et benedictus fructus ventris tui, Jesus.}}