Punknews on Punknews.org.
Purpose
editThis template provides a convenient way to produce an external link to an entry at Punknews.org. The template can be used for any link to Punknews.org's website, including the External links section or when citing it as a source.
Usage
edit- Vertical layout
{{Punknews
| class =
| id =
| label =
| author =
| date =
| accessdate =
}}
- Horizontal layout
{{Punknews |class= |id= |label= |author= |date= |accessdate= }}
- Short layout
Valid with these three parameters only:
{{Punknews |<class> |<id> |<label>}}
Parameters
editParameter | Type | Description |
---|---|---|
class | optional | Class of information, possible are "article", "review", "bands", "labels", "releasedetail" or "search". Value for this parameter corresponds to part of URL following "www.punknews.org/". If omitted, it defaults to "article". |
id | mandatory | Identification of information. Corresponds to part of URL following "article/", "review/", "bands/", "labels/", "releasedetail/" or "search&q=". For "article", "review" and "releasedetail", the text after the actual id can be omitted. (Example: For http://www.punknews.org/article/48598/media-morning-glory-lifes-a-long-revenge "48598" is sufficient for id). |
label or title | optional | Label to display for the link. If omitted, it defaults to the name of the article where this template is used. |
author | optional | The author's name(s). |
date | optional | Full date when item was publisher. Should not be wikilinked. |
accessdate | optional | Full date when item was accessed. Should not be wikilinked. |
pure_url | optional | Value of "yes" produces no label and no additional text but a "pure" standalone external link. This option is mainly intended for the automated migration of standalone weblinks but can be used when linking to punknews using {{Cite web}}, embedding {{punknews}} in {{Cite web}}. E.g.
|
Examples
edit- Group or artist
{{Punknews|class=bands|id=theclash|label=The Clash}}
expands to
- The Clash on Punknews.org.
- Label (short notation)
{{Punknews|labels|fat|Fat Wreck Chords}}
expands to
- Fat Wreck Chords on Punknews.org.
- Article (class omitted)
{{Punknews|id=48536/pussy-riot-found-guilty-of-hooliganism-motivated-by-religious-hatred|title=Pussy Riot found guilty of ‘Hooliganism Motivated By Religious Hatred’}}
expands to
- Search
{{Punknews|class=search|id=looking+for+something|label=Looking for something}}
expands to
- Search for "looking for something" on Punknews.org.
- Release detail (supplying accessdate)
{{Punknews|class=releasedetail|id=5870|title=Destroy to Create (Vinyl)|accessdate=August 26, 2012}}
expands to
- Destroy to Create (Vinyl) on Punknews.org. Retrieved August 26, 2012.
TemplateData
editTemplateData for Punknews
This template provides a convenient way to produce an external link to an entry at Punknews.org.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Class | class 1 | Corresponds to the part of the URL following "www.punknews.org/" (possible values are "article", "review", "bands", "labels", "releasedetail" or "search")
| String | optional |
ID | id 2 | Corresponds to part of URL following the "article/", "review/", "bands/", "labels/", "releasedetail/" or "search&q=" | Line | required |
Title | title label 3 | Label to display for the link. If omitted, it defaults to the name of the article where this template is used.
| Line | optional |
Author | author | The author's name(s). | Line | optional |
Date of publication | date | Full date when item was publisher. Should not be wikilinked. | Date | optional |
Access date | accessdate | Date the link was accessed | Date | optional |
Display as pure URL? | pure_url | If set to "yes" produces just the URL.
| String | optional |