Difference between revisions of "Template:Libretti"

188 bytes added ,  18:58, 27 September 2021
no edit summary
 
(6 intermediate revisions by the same user not shown)
Line 24: Line 24:
Russia
Russia
Turkey
Turkey
UK
United Kingdom
Ukraine
Ukraine
USA
United States
Vatican State
</pre>  
</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 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 already preformatted by the poem tag. Example: <pre>| libretto-text ={{lang|it|Caldo sangue
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 ...
che bagnando il sen mi vai ...
}}</pre>
}}</pre>
After the last translation, it is important to close the row by <pre>{{Clear|Left}}</pre> so the next section returns to the left of the page.   
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>
</noinclude>
<templatestyles src="Custom/pjwiki.css" />
<templatestyles src="Custom/pjwiki.css" />
<div style="float:left">
<table class="libretto"><tr><td>
<table class="libretto"><tr><td>
        <div class=”flagbox”>{{flagicon|{{{country}}}}}</div>
<div class=”flagbox”>{{flagicon|{{{country}}}}}</div>
</td><td>{{#if:{{{language-note|}}}|
</td><td>{{#if:{{{language-note|}}}|
<div class="languagedesignation"><span>{{{language-note}}}</span></div>}}</td></tr>
<div class="languagedesignation"><span>{{{language-note}}}</span></div>}}</td></tr>
<tr><td colspan=2>{{#tag:poem|{{{libretto-text}}}}}</td></tr></div></table>
<tr><td colspan=2>{{{libretto-text}}}</td></tr></div></table>
 
</div>
<noinclude>
<noinclude>
[[Category:Jaroussky wiki templates]]
[[Category:Jaroussky wiki templates]]
</noinclude>
</noinclude>