Template:Lyrics: Difference between revisions

From SPCodex, The Smashing Pumpkins wiki
No edit summary
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="quotebox pullquote {{#switch: {{lc:{{{align|}}}}}
<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
"params": {
        | none =
"1": {
        | floatright
"label": "Text",
    }} {{{class|}}}" style="
"type": "content",
    {{#if:{{{width|}}} |width:{{{width}}};}}
"required": true
    {{#ifeq:{{{border}}}|none|border:none;|{{#if:{{{border|}}}|border-width: {{{border}}}}};}}
},
    {{#if:{{{fontsize|}}}|font-size: {{{fontsize}}};}}
"guesswork": {
    {{#if:{{{bgcolor|}}}|background-color: {{#ifeq:{{{bgcolor|}}}|none|transparent|{{{bgcolor}}}}};}}
"label": "Guesswork",
    {{{style|}}}"><templatestyles src="Template:Quote_box/styles.css" />
"description": "Add this parameter (with any value) to indicate the lyrics are guesswork and could be inaccurate",
{{#if:{{{title|}}}
"type": "boolean",
    |<div class="quotebox-title {{{tclass|}}}" style="
"suggested": true
        {{#if:{{{title_bg|{{{bgcolor|}}}}}}|background-color: {{#ifeq:{{{title_bg|{{{bgcolor}}}}}}|none|transparent|{{{title_bg|{{{bgcolor}}}}}}}};}}
}
        {{#if:{{{title_fnt|}}}|color: {{{title_fnt}}};}}
},
        {{{tstyle|}}}">{{{title}}}</div>  
"description": "Add lyrics for a song"
}}
}
<div class="quotebox-quote {{#if:{{{quoted|}}}|quoted}} {{#switch: {{lc:{{{qalign|{{{halign|left}}}}}}}}
</templatedata></noinclude>
        |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:--><!--—&thinsp;-->{{{author|{{{2|}}}}}}{{#if:{{{author|}}}{{{2|}}}|{{#if:{{{source|}}}{{{3|}}}|<!--Display comma-space only if both cite parameters are present.-->,&#32;}}}}{{{source|{{{3|}}}}}}</cite>}}
</div>

Latest revision as of 23:50, 30 July 2022

Lorem ipsum

Add lyrics for a song

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Text1

no description

Contentrequired
Guessworkguesswork

Add this parameter (with any value) to indicate the lyrics are guesswork and could be inaccurate

Booleansuggested