Template:Text: Difference between revisions
Jump to navigation
Jump to search
Documentation
(experimenting a new feature that adds poem tags) |
(documentation updated) |
||
Line 30: | Line 30: | ||
(for which there is no corresponding language flag) displays as: | (for which there is no corresponding language flag) displays as: | ||
:{{Text|Quenya|cat=no}} | :{{Text|Quenya|cat=no}} | ||
'''Text formatting:''' | |||
1. Using external <poem> tags: | |||
<pre>{{Text|Latin}} | |||
<poem> | |||
Ave Maria, gratia plena, Dominus tecum. | |||
Benedicta tu in mulieribus, | |||
et benedictus fructus ventris tui, Jesus. | |||
</poem></pre> | |||
2. Using internal <poem> tags: | |||
<pre>{{Text|Latin| | |||
Ave Maria, gratia plena, Dominus tecum. | |||
Benedicta tu in mulieribus, | |||
et benedictus fructus ventris tui, Jesus. | |||
}}</pre> | |||
}} | }} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 03:29, 5 April 2013
{{{1}}} text
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|Language}}
- {{Text|2|Language1|Language2}}
- {{Text|3|Language1|Language2|Language3}}
- {{Text|Language|cat=no}}
- {{Text|2|Language1|Language2|cat=no}}
- {{Text|3|Language1|Language2|Language3|cat=no}}
In the first three cases the template also inserts the page in the corresponding "Language texts" category for each language, as well as in Macaronic texts. In the second three case, 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|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:
1. Using external <poem> tags:
{{Text|Latin}} <poem> Ave Maria, gratia plena, Dominus tecum. Benedicta tu in mulieribus, et benedictus fructus ventris tui, Jesus. </poem>
2. Using internal <poem> tags:
{{Text|Latin| Ave Maria, gratia plena, Dominus tecum. Benedicta tu in mulieribus, et benedictus fructus ventris tui, Jesus. }}