Template:Infobox tab: Difference between revisions

From SPCodex, The Smashing Pumpkins wiki
(Created page with "{{Infobox | bodyclass = vevent | aboveclass = summary | abovestyle = background-color: #FFD6D6 | above = "{{#if:{{{song_title|}}}|[[{{{song}}}|{{{song_title}}}]]|{{link if...")
 
No edit summary
Line 23: Line 23:
| data10      = {{{key|<noinclude>A♭ minor</noinclude>}}}
| data10      = {{{key|<noinclude>A♭ minor</noinclude>}}}
| label11    = Difficulty
| label11    = Difficulty
| data11      = {{ucfirst:{{{difficult|<noinclude>intermediate</noinclude>}}}}}
| data11      = {{ucfirst:{{{difficulty|<noinclude>intermediate</noinclude>}}}}}
}}
}}
<noinclude>
<templatedata>
{
"params": {
"song_title": {
"label": "Song name (if different than page title)",
"type": "string",
"suggested": true
},
"song": {
"label": "Song",
"type": "wiki-page-name",
"required": true
},
"type": {
"label": "Type",
"description": "Either 'tab' (default), 'chords' or 'bass'"
},
"artist": {
"label": "Artist",
"type": "wiki-page-name",
"required": true
},
"author": {
"label": "Transcribor",
"type": "wiki-user-name",
"autovalue": "{{REVISIONUSER}}"
},
"updated": {
"label": "Last updated",
"type": "date",
"autovalue": ""
},
"tuning": {
"label": "Tuning",
"type": "string",
"required": true
},
"capo": {
"label": "Capo",
"type": "string"
},
"key": {
"label": "Key",
"description": "Which key the song is in",
"type": "string"
},
"difficulty": {
"label": "Difficulty",
"description": "Either 'novice', 'intermediate' or 'advanced'",
"type": "string"
}
},
"paramOrder": [
"song_title",
"song",
"type",
"artist",
"author",
"updated",
"tuning",
"capo",
"key",
"difficulty"
]
}
</templatedata>
</noinclude>

Revision as of 00:19, 14 May 2021

"1979"
Guitar tablature
ArtistThe Smashing Pumpkins
AlbumMellon Collie and the Infinite Sadness
TranscriberExample (talk)
Updated2021-05-14
TuningE♭ A♭ D♭ G♭ B♭ E♭
Capo2nd fret
KeyA♭ minor
DifficultyIntermediate

No description.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Song name (if different than page title)song_title

no description

Stringsuggested
Songsong

no description

Page namerequired
Typetype

Either 'tab' (default), 'chords' or 'bass'

Unknownoptional
Artistartist

no description

Page namerequired
Transcriborauthor

no description

Auto value
{{REVISIONUSER}}
Useroptional
Last updatedupdated

no description

Auto value
Dateoptional
Tuningtuning

no description

Stringrequired
Capocapo

no description

Stringoptional
Keykey

Which key the song is in

Stringoptional
Difficultydifficulty

Either 'novice', 'intermediate' or 'advanced'

Stringoptional