Difference between revisions of "Template:Sandbox"
Jump to navigation
Jump to search
| 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> | ||
{{Libretto||} | {{Libretto|||} | ||
</pre> | </pre> | ||
The second variable can take the following values: | The second variable can take the following values: | ||
| Line 20: | Line 20: | ||
ukrainian | ukrainian | ||
</pre> | </pre> | ||
The second variable is meant for the text. It will already by styled by the <pre><poem></pre> extension, not by the <pre>{{lang||}</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. | 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> | </noinclude> | ||
<templatestyles src="Custom/pjwiki.css" /> | <templatestyles src="Custom/pjwiki.css" /> | ||
{{#if:{{{italian | {{#if:{{{1|italian}}}|<div class="libretto"><table><tr><td><div class=”flagbox”>{{flagicon|Italy}}</div></td><td>{{#if:{{{italian-note|}}}|<div class="languagedesignation">{{{italian-note}}}}}</div></td></tr></table> | ||
{{Clear|left}} | {{Clear|left}} | ||
<poem>{{{italian-libretto}}}</poem> | <poem>{{{italian-libretto}}}</poem> | ||
Revision as of 08:10, 27 September 2021
Copy and paste this snippet into the place where the libretto should go.
{{Libretto|||}
The second 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.