Template:Format release: Difference between revisions
MusikAnimal (talk | contribs) No edit summary |
MusikAnimal (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
|join on=releases._pageName = songs._pageName, releases._pageName = albums._pageName | |join on=releases._pageName = songs._pageName, releases._pageName = albums._pageName | ||
|limit=1 | |limit=1 | ||
}}|song|{{# | }}|song|{{#if:{{{2|}}}|"'''{{{1}}}'''"|"{{{1}}}"}}|{{#if:{{{2|}}}|'''''{{{1}}}'''''}}}} | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Page title", | |||
"type": "wiki-page-name", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Bold?", | |||
"description": "Set this to show the title in bold formatting.", | |||
"type": "boolean", | |||
"autovalue": "0", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Formats a title based on whether it refers to an album or a song.", | |||
"paramOrder": [ | |||
"1", | |||
"2" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 05:32, 29 November 2021
Formats a title based on whether it refers to an album or a song.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page title | 1 | no description | Page name | required |
Bold? | 2 | Set this to show the title in bold formatting.
| Boolean | suggested |