Difference between revisions of "Template:Libretti"

181 bytes added ,  18:58, 27 September 2021
no edit summary
 
(16 intermediate revisions by the same user not shown)
Line 14: Line 14:
Catalonia
Catalonia
China
China
English
France
French
German
German
Italian
Italy
Japan
Japan
Mexico
Mexico
Line 24: Line 23:
Spain
Spain
Russia
Russia
Turkey
United Kingdom
Ukraine
Ukraine
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. Example: <pre>| libretto-text =<poem>{{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 ...
}}</poem></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 class="libretto"><table><tr><td>
<div style="float:left">
        <div class=”flagbox”>{{flagicon|{{{country}}}}}
<table class="libretto"><tr><td>
        </div></td><td>
<div class=”flagbox”>{{flagicon|{{{country}}}}}</div>
    {{#if:{{{language-note|}}}|
</td><td>{{#if:{{{language-note|}}}|
        <div class="languagedesignation">  
<div class="languagedesignation"><span>{{{language-note}}}</span></div>}}</td></tr>
        <span>{{{language-note}}}</span></div>}}
<tr><td colspan=2>{{{libretto-text}}}</td></tr></div></table>
    </td></tr><tr><td colspan=2>{{{libretto-text}}}
</div>
    </td></tr></div></table>
  </div>
<noinclude>
<noinclude>
[[Category:Jaroussky wiki templates]]
[[Category:Jaroussky wiki templates]]
</noinclude>
</noinclude>