Difference between revisions of "Template:Sandbox"
Jump to navigation
Jump to search
| Line 4: | Line 4: | ||
{{Libretto|||} | {{Libretto|||} | ||
</pre> | </pre> | ||
The | The first variable can take the following values: | ||
<pre> | <pre> | ||
ancient-talian | ancient-talian | ||
| Line 25: | Line 25: | ||
</noinclude> | </noinclude> | ||
<templatestyles src="Custom/pjwiki.css" /> | <templatestyles src="Custom/pjwiki.css" /> | ||
{{#if:{{{1|italian}}}|<div class="libretto"><table><tr><td><div class=”flagbox”>{{flagicon|Italy}}</div></td><td>{{#if:{{{ | {{#if:{{{1|italian}}}| | ||
<div class="libretto"><table><tr><td> | |||
<div class=”flagbox”>{{flagicon|Italy}} | |||
</div></td><td> | |||
</div> | {{#if:{{{2|}}}| | ||
<div class="languagedesignation"> | |||
{{{2}}}}} | |||
</div></td></tr><tr><td><poem>{{{3}}}</poem> | |||
</td></tr></table> | |||
</div> | |||
</div> | |||
}} | }} | ||
Revision as of 08:23, 27 September 2021
Copy and paste this snippet into the place where the libretto should go.
{{Libretto|||}
The first variable can take the following values:
ancient-talian brazilian catalan english french german italian japanese polish portuguese spanish russian ukrainian
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.