Difference between revisions of "Template:Sandbox"
Jump to navigation
Jump to search
| (25 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
Copy and paste this snippet into the place where the libretto should go. | Copy and paste this snippet into the place where the libretto should go. | ||
<pre> | <pre> | ||
{{ | {{Libretti | ||
| country = | |||
| language-note = | |||
| libretto-text = | |||
}} | |||
</pre> | </pre> | ||
The | The first variable uses [[Template:Flagicon]], so it can take the following values: | ||
<pre> | <pre> | ||
Argentina | |||
Brazil | |||
Catalonia | |||
China | |||
France | |||
German | |||
Italy | |||
Japan | |||
Mexico | |||
Poland | |||
Portugal | |||
Spain | |||
Russia | |||
Turkey | |||
UK | |||
Ukraine | |||
USA | |||
</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 | 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 | ||
After the last translation, it is important to close the row by {{Clear|Left}} | che bagnando il sen mi vai ... | ||
}}</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> | |||
<div class=”flagbox”>{{flagicon|{{{country}}}}} | |||
</div></td><td> | |||
{{#if:{{{language-note|}}}| | |||
</div> | <div class="languagedesignation"> | ||
<span>{{{language-note}}}</span></div>}} | |||
</td></tr><tr><td colspan=2>{{#tag:poem|{{{libretto-text}}}}} | |||
</td></tr></div></table> | |||
</div> | |||
<noinclude> | |||
[[Category:Jaroussky wiki templates]] | |||
</noinclude> | |||
Latest revision as of 13:00, 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:Flagicon, so it can take the following values:
Argentina Brazil Catalonia China France German Italy Japan Mexico Poland Portugal Spain Russia Turkey UK Ukraine USA
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 is already preformatted by the poem tag. Example:
| libretto-text ={{lang|it|Caldo sangue
che bagnando il sen mi vai ...
}}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.
|
{{country data {{{country}}}|flagicon/core|variant=|size=}}
| |
{{{libretto-text}}} | |