Difference between revisions of "Template:Libretti"
Jump to navigation
Jump to search
(61 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Copy and paste this snippet into the place where the libretto should go. | |||
<pre> | <pre> | ||
{{ | {{Libretti | ||
| country = | |||
| language-note = | |||
| libretto-text = | |||
| | |||
| | |||
| | |||
}} | }} | ||
</pre> | </pre> | ||
The first variable uses [[Template:Flagicon]], so it can take the following values: | |||
<pre> | |||
Argentina | |||
Brazil | |||
Catalonia | |||
China | |||
France | |||
German | |||
Italy | |||
Japan | |||
Mexico | |||
Poland | |||
Portugal | |||
Spain | |||
Russia | |||
Turkey | |||
United Kingdom | |||
Ukraine | |||
United States | |||
Vatican State | |||
</pre> | |||
The second variable is meant for the language designation. This field can be empty. This could for example be "Piedmontese dialect" or "Ancient Italian".<p> | |||
The third variable is meant for the actual text of the libretto. It is not already preformatted by the poem tag. Example: <pre>| libretto-text =<poem>{{lang|it|Caldo sangue | |||
che bagnando il sen mi vai ... | |||
}}</pre> | |||
The language fields have to be joined directly, like so: <pre>}}{{Libretti</pre> for proper horizontal and vertical alignment.<p> | |||
After the last language field, it is important to close the row by <pre>{{Clear|left}}</pre> so the next section returns to the left of the page. | |||
</noinclude> | |||
<templatestyles src="Custom/pjwiki.css" /> | <templatestyles src="Custom/pjwiki.css" /> | ||
< | <div style="float:left"> | ||
{{#if:{{{ | <table class="libretto"><tr><td> | ||
<div class=" | <div class=”flagbox”>{{flagicon|{{{country}}}}}</div> | ||
</td><td>{{#if:{{{language-note|}}}| | |||
<div class="languagedesignation"><span>{{{language-note}}}</span></div>}}</td></tr> | |||
<tr><td colspan=2>{{{libretto-text}}}</td></tr></div></table> | |||
<div | |||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
[[Category:Jaroussky wiki templates]] | [[Category:Jaroussky wiki templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 18:58, 27 September 2021
Copy and paste this snippet into the place where the libretto should go.
{{Libretti | country = | language-note = | libretto-text = }}
The first variable uses Template:Flagicon, so it can take the following values:
Argentina Brazil Catalonia China France German Italy Japan Mexico Poland Portugal Spain Russia Turkey United Kingdom Ukraine United States Vatican State
The second variable is meant for the language designation. This field can be empty. This could for example be "Piedmontese dialect" or "Ancient Italian".
The third variable is meant for the actual text of the libretto. It is not already preformatted by the poem tag. Example:
| libretto-text =<poem>{{lang|it|Caldo sangue che bagnando il sen mi vai ... }}
The language fields have to be joined directly, like so:
}}{{Libretti
for proper horizontal and vertical alignment.
After the last language field, it is important to close the row by
{{Clear|left}}
so the next section returns to the left of the page.
{{country data {{{country}}}|flagicon/core|variant=|size=}}
| |
{{{libretto-text}}} |