|
|
(18 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| <div class="quotebox pullquote {{#switch: {{lc:{{{align|center}}}}} | | <div class="lyrics">{{#if:{{{guesswork|}}}|{{lyrics guesswork|show={{{show|}}}}}}}<templatestyles src="Template:Lyrics/styles.css" />{{#tag:poem|{{{1|Lorem ipsum}}}}}</div><includeonly>{{#switch:{{{1|}}}|[unavailable]|[unknown]|unavailable|unknown=[[Category:Songs with unavailable lyrics]]}}</includeonly><noinclude><templatedata> |
| | center = centered
| |
| | left = floatleft
| |
| | none =
| |
| | floatright
| |
| }} {{{class|}}}" style="
| |
| width:{{{width|100%}}};
| |
| {{#ifeq:{{{border}}}|none|border:none;|{{#if:{{{border|}}}|border-width: {{{border}}}}};}}
| |
| {{#if:{{{fontsize|}}}|font-size: {{{fontsize}}};}}
| |
| {{#if:{{{bgcolor|}}}|background-color: {{#ifeq:{{{bgcolor|}}}|none|transparent|{{{bgcolor}}}}};}}
| |
| {{{style|}}}"><templatestyles src="Template:Lyrics/styles.css" />
| |
| {{#if:{{{title|}}}
| |
| |<div class="quotebox-title {{{tclass|}}}" style="
| |
| {{#if:{{{title_bg|{{{bgcolor|}}}}}}|background-color: {{#ifeq:{{{title_bg|{{{bgcolor}}}}}}|none|transparent|{{{title_bg|{{{bgcolor}}}}}}}};}}
| |
| {{#if:{{{title_fnt|}}}|color: {{{title_fnt}}};}}
| |
| {{{tstyle|}}}">{{{title}}}</div>
| |
| }}
| |
| <div class="quotebox-quote {{#if:{{{quoted|}}}|quoted}} {{#switch: {{lc:{{{qalign|{{{halign|left}}}}}}}} | |
| |right = right-aligned
| |
| |center = center-aligned
| |
| |left-aligned
| |
| }} {{{qclass|}}}" style="
| |
| {{{qstyle|}}}"><!--
| |
| -->{{{text|{{{content|{{{quotetext|{{{quote|{{{1|<includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}}}}}}}}<!--
| |
| --></div>
| |
| {{#if:{{{author|{{{source|}}}}}}{{{2|}}}{{{3|}}}|<cite class="{{#switch: {{lc:{{{salign|{{{qalign|{{{halign|left}}} }}} }}} }}
| |
| |right = right-aligned
| |
| |center = center-aligned
| |
| |left-aligned
| |
| }}" style="{{{sstyle|}}}"><!--Manually inserted dashes will need to be removed from uses of the template first, I guess, then enable this:--><!--— -->{{{author|{{{2|}}}}}}{{#if:{{{author|}}}{{{2|}}}|{{#if:{{{source|}}}{{{3|}}}|<!--Display comma-space only if both cite parameters are present.-->, }}}}{{{source|{{{3|}}}}}}</cite>}}
| |
| </div>
| |
| <noinclude>
| |
| <templatedata> | |
| { | | { |
| "params": { | | "params": { |
Line 39: |
Line 7: |
| "required": true | | "required": true |
| }, | | }, |
| "2": {}, | | "guesswork": { |
| "3": {},
| | "label": "Guesswork", |
| "align": {},
| | "description": "Add this parameter (with any value) to indicate the lyrics are guesswork and could be inaccurate", |
| "class": {},
| | "type": "boolean", |
| "width": {},
| | "suggested": true |
| "border": {},
| | } |
| "fontsize": {},
| |
| "bgcolor": {},
| |
| "style": {},
| |
| "title": {},
| |
| "tclass": {},
| |
| "title_bg": {},
| |
| "title_fnt": {},
| |
| "tstyle": {},
| |
| "quoted": {}, | |
| "qalign": {},
| |
| "halign": {},
| |
| "qclass": {},
| |
| "qstyle": {},
| |
| "text": {},
| |
| "content": {},
| |
| "quotetext": {},
| |
| "quote": {},
| |
| "author": {},
| |
| "source": {},
| |
| "salign": {},
| |
| "sstyle": {}
| |
| }, | | }, |
| "description": "Add lyrics for a song" | | "description": "Add lyrics for a song" |
| } | | } |
| </templatedata> | | </templatedata></noinclude> |
| </noinclude> | |