Template:SoundCloud/doc
This is a documentation subpage for Template:SoundCloud. It may contain usage information, categories and other content that is not part of the original template page. |
- SoundCloud ID (P3040) (see uses)
This template uses Lua: |
The template name is "{{SoundCloud}}". It is used to link articles to a particular SoundCloud account, by the account's URL and title.
Usage
changeThe external links guideline recommends avoiding links to SoundCloud unless the SoundCloud is an official account "controlled by the subject (organization or individual person) of the Wikipedia article". Multiple hoax and "fan" accounts have been discovered; please make a particular effort to verify the authenticity of any official links. Legitimate SoundCloud accounts are usually named in reliable sources, such as newspaper stories, about the subject, or linked by other subject-controlled sources.
Wikipedia is not a comprehensive directory of a subject's web presence. Linking to SoundCloud and social networking sites is discouraged if the links are easily found at the subject's main website or other official link.
No parameters
changeUse:
{{SoundCloud}}
and the template will pull the ID from Wikidata (if present there) and extract the link text from the page name, minus an parenthetical disambiguation.
Single parameter
changeIf only one parameter is used in the template, this parameter will be the page's url, with the link being the name of the Wikipedia page used on. Example:
{{SoundCloud|leonalewis}}
produces
The template links to https://soundcloud.com/leonalewis
, whilst the link itself displays the current page name.
Two parameters
changeIf two parameters are used in the template, the first parameter will be the page's url, while the second will be the title of the link. Example:
{{SoundCloud|leonalewis|Leona Lewis}}
produces
The template links to https://soundcloud.com/leonalewis
, whilst the link itself displays "Leona Lewis".
Tracking categories
change- Category:SoundCloud ID not in Wikidata (0)
- Category:SoundCloud ID different from Wikidata (0)
- Category:SoundCloud ID same as Wikidata (0)
- Category:SoundCloud template with no id set (exists in template, not created)