Difference between revisions of "Template:Libretti"

22 bytes removed ,  13:15, 27 September 2021
no edit summary
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 26: Line 26:
Ukraine
Ukraine
</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. 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 ...
}}</poem></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.   
</noinclude>
</noinclude>
<templatestyles src="Custom/pjwiki.css" />
<templatestyles src="Custom/pjwiki.css" />
<div class="libretto"><table><tr><td width=30px>
<div class="libretto"><table><tr><td>
         <div class=”flagbox”>{{flagicon|{{{country}}}}}
         <div class=”flagbox”>{{flagicon|{{{country}}}}}
         </div></td><td>
         </div></td><td>
Line 37: Line 39:
         <div class="languagedesignation">  
         <div class="languagedesignation">  
         <span>{{{language-note}}}</span></div>}}
         <span>{{{language-note}}}</span></div>}}
        </td></tr><tr><td colspan=2><poem>{{{libretto-text}}}</poem>
    </td></tr><tr><td colspan=2>{{{libretto-text}}}
        </td></tr></div></table>
    </td></tr></div></table>
   </div>
   </div>
<noinclude>
<noinclude>
[[Category:Jaroussky wiki templates]]
[[Category:Jaroussky wiki templates]]
</noinclude>
</noinclude>