Difference between revisions of "Template:MTV artist/doc"
m (Remove extraneous line) |
m (1 revision) |
(No difference)
|
Latest revision as of 04:12, 22 March 2014
40px | This is a documentation subpage for Template:MTV artist. It contains usage information, categories and other content that is not part of the original template page. |
Usage
<templatedata> {
"description": "Generate a link to an MTV Artist Page.", "params": { "id": { "label": "ID", "description": "ID of the MTV Artist Profile (part of the web page address, for www.mtv.com/artists/kanye-west/ the account id is \"kanye-west\").", "type": "string/line", "required": true, "default": "URL of the Artist", "aliases": ["1"] }, "name": { "label": "Display name", "description": "Display name for the MTV Artist profile", "type": "string/line", "required": true, "default": "Name of the page", "aliases": ["2"] } }
} </templatedata>
Examples
In this example, the MTV Artist ID is kanye-west and the description in the link is Kanye West:
{{MTV artist|kanye-west|Kanye West}}
Which will display as Kanye West at MTV