Difference between revisions of "Template:Sandbox"

From Jaroussky Wiki
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|||}
{{Sandbox
| country =
| langue-note =
| libretto-text =
}}
</pre>
</pre>
The first variable can take the following values:
The first variable uses [[Template:Flag]], so it can take the following values:
<pre>
<pre>
ancient-talian
Argentina
brazilian
Brazil
catalan
Catalonia
english
China
french
English
german
French
italian
German
japanese
Italian
polish
Japan
portuguese
Mexico
spanish
Poland
russian
Portugal
ukrainian
Spain
Russia
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>
Line 25: Line 31:
</noinclude>
</noinclude>
<templatestyles src="Custom/pjwiki.css" />
<templatestyles src="Custom/pjwiki.css" />
{{#if:{{{1|italian}}}|
<div class="libretto"><table><tr><td>
  <div class="libretto"><table><tr><td>
         <div class=”flagbox”>{{flagicon|Italy}}
         <div class=”flagbox”>{{flagicon|Italy}}
         </div></td><td>
         </div></td><td>
Line 35: Line 40:
         </td></tr></table>
         </td></tr></table>
         </div>
         </div>
   </div>
   </div>-->
}}

Revision as of 10:56, 27 September 2021

Copy and paste this snippet into the place where the libretto should go.

{{Sandbox
| country =
| langue-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.

Italy

{{{3}}}

-->