Difference between revisions of "Template:Libretti"

From Jaroussky Wiki
Jump to navigation Jump to search
Line 1: Line 1:
==Libretto==
<noinclude>
<div>
Copy and paste this snippet into the place where the libretto should go.
  <div class="eighteenth">
<pre>
    <div class="sacred">
{{Libretti
{{Template:Song header
| country =
| title            = Caldo sangue
| language-note =
| english-title  = Two sensations
| libretto-text =
| composer        = [[Alessandro Scarlatti]]
| lyricist        = [[Filippo Ortensio Fabbri]]
| work            = [[Il Sedecia, re di Gerusalemme]]
| role            = Ismaele
}}
}}
     </div>
</pre>
The first variable uses [[Template:Flag]], so it can take the following values:
<pre>
Argentina
Brazil
Catalonia
China
English
French
German
Italian
Japan
Mexico
Poland
Portugal
Spain
Russia
Ukraine
</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 will already by styled by the <pre><poem></pre> extension, but not by the <pre>{{lang||}</pre>format yet.<p>
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. 
</noinclude>
<templatestyles src="Custom/pjwiki.css" />
<div class="libretto"><table><tr><td width=30px>
        <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><poem>{{{libretto-text}}}</poem>
        </td></tr></div></table>
   </div>
   </div>
</div>
<noinclude>
{{Sandbox
[[Category:Jaroussky wiki templates]]
| country =Italy
</noinclude>
| language-note =Language note lala
| libretto-text =<poem>This should be
formatted by
new line breaks without the need for ...
any HTML.</poem>the line should automatically break at a third of the page test ne should automatically break at a third of the page test
 
entry
 
}}
 
{{Clear|left}}

Revision as of 12:30, 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:Flag, so it can take the following values:

Argentina
Brazil
Catalonia
China
English
French
German
Italian
Japan
Mexico
Poland
Portugal
Spain
Russia
Ukraine

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 will already by styled by the

<poem>

extension, but not by the

{{lang||}

format yet.

After the last translation, it is important to close the row by

, so the next section returns to the left of the page.

{{country data {{{country}}}|flagicon/core|variant=|size=}}

{{{libretto-text}}}