Difference between revisions of "Template:Libretti"
Jump to navigation
Jump to search
Line 46: | Line 46: | ||
{{#if:{{{italian-libretto|}}} | {{#if:{{{italian-libretto|}}} | ||
|<div class="libretto"> | |<div class="libretto"> | ||
<div class=”flagbox”> | <div class=”flagbox”>{{flagicon|Italy}}</div> | ||
{{#if:{{{italian-note|}}}|<div class="languagedesignation">{{{italian-note}}}</div>}} | {{#if:{{{italian-note|}}}|<div class="languagedesignation">{{{italian-note}}}</div>}} | ||
{{Clear|left}} | {{Clear|left}} |
Revision as of 19:47, 26 September 2021
Changes to this template will be instantly live on many pages! Please keep this in mind if you edit, and consider copying the code and creating a new sandbox page instead.
This template handles the order and the stacking of the various versions and translations of a libretto. The style is all set globally, in Template:Custom/pjwiki.css.
Using (transcluding) this template you will automatically categorize the page with the categories set on the bottom of the template. See Help:Categories
Include the following on the page:
{{Template:Libretti <!-- use of this template automatically include [[Template:Custom/pjwiki.css]]. Please use [[Template:Lang]] for non-English words and sentences. The listing below is consistent with the order in which the languages appear on the page. -IMPORTANT!- If you want to control the order the languages appear in, use this template more than once, only filling in one language at a time. If you want to contribute a language not listed below, tell me and I will add it. | italian-note = <!-- example: "Piedmontese dialect". Leave blank if not needed.--> | italian-libretto = <!-- example: {{lang|it|'''Recitativo''' ..... This field will be automatically styled by the <poem> syntax. --> | english-note = <!-- leave blank as default--> | english-libretto = | french-note = <!-- leave blank as default--> | french-libretto = | german-note = <!-- leave blank as default--> | german-libretto = | spanish-note = <!-- leave blank as default, designate for example "Argentinian"--> | spanish-libretto = | catalan-note = <!-- leave blank as default--> | catalan-libretto = | portuguese-note = <!-- leave blank as default--> | portuguese-libretto = | brazilian-portuguese-note = <!-- leave blank as default--> | brazilian-portuguese-libretto = | japanese-note = <!-- leave blank as default--> | japanese-libretto = | polish-note = <!-- leave blank as default--> | polish-libretto = | russian-note = <!-- leave blank as default--> | russian-libretto = | ukrainian-note = <!-- leave blank as default--> | ukrainian-libretto = | ancientitalian-note = <!-- leave blank as default--> | ancientitalian-libretto = }}