Difference between revisions of "Template:Libretti"

159 bytes added ,  18:58, 27 September 2021
no edit summary
 
(17 intermediate revisions by the same user not shown)
Line 8: Line 8:
}}
}}
</pre>
</pre>
The first variable uses [[Template:Flag]], so it can take the following values:
The first variable uses [[Template:Flagicon]], so it can take the following values:
<pre>
<pre>
Argentina
Argentina
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. It will already by styled by the <pre><poem></pre> extension, but not by the <pre>{{lang||}</pre>format yet.<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
After the last translation, it is important to close the row by {{Clear|Left}}, so the next section returns to the left of the page.   
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>
</noinclude>
<templatestyles src="Custom/pjwiki.css" />
<templatestyles src="Custom/pjwiki.css" />
<div class="libretto"><table><tr><td width=30px>
<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><poem>{{{libretto-text}}}</poem>
</div>
        </td></tr></div></table>
  </div>
<noinclude>
<noinclude>
[[Category:Jaroussky wiki templates]]
[[Category:Jaroussky wiki templates]]
</noinclude>
</noinclude>