Template:Citation: Difference between revisions

From Otherkin Wiki
Content added Content deleted
imported>Jazzhorse
(Created page with "{{#if:{{{work|}}}|''{{{work|}}}'': }} {{#if:{{{author|}}}|{{{author|}}}, }} [{{{url|{{SERVER}}}}} {{{title|No title specified}}}] {{#if:{{{date|}}}|, {{{date|}}}}}")
 
imported>Jazzhorse
(update to use lua script instead of template parser functions)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#invoke:Citation|main}}
{{#if:{{{work|}}}|''{{{work|}}}'': }}
<noinclude>
{{#if:{{{author|}}}|{{{author|}}},&#32;}}
<templatedata>
[{{{url|{{SERVER}}}}} {{{title|No title specified}}}]
{
{{#if:{{{date|}}}|, {{{date|}}}}}
"params": {
"author": {
"suggested": true,
"description": "The real name of the person or group who created the media.",
"example": "Orion Scribner",
"type": "string"
},
"url": {
"suggested": true,
"description": "The location where this media can be viewed on the internet.",
"example": "https://otherkinnews.dreamwidth.org/87285.html",
"type": "url"
},
"title": {
"required": true,
"description": "The title of the piece of media.",
"example": "A Field Guide to Otherkin",
"type": "string"
},
"date": {
"suggested": true,
"description": "The date the media was published.",
"example": "November 20th, 1994",
"type": "date"
},
"publisher": {
"description": "The publisher of the media.",
"suggested": true,
"example": "Megalithica Press",
"type": "string"
},
"archiveurl": {
"description": "If the media is no longer available on the web, an archive url can be specified here. Reblogs on tumblr may be treated as archive urls.",
"type": "url",
"example": "https://web.archive.org/web/20160504215324/http://www.wrs.vcu.edu/profiles/Otherkin.htm"
},
"username": {
"description": "The username of the person who created the media, if applicable. Will be displayed in brackets after Author if that field is filled in too.",
"example": "vagabondsun",
"type": "string"
},
"interviewer": {
"description": "The name of the person conducting an interview - user Author and/or Username for the name of the interviewee.",
"example": "Anthony Padilla",
"type": "string"
},
"comment_on": {
"description": "For reddit comments, reblog replies, quote tweets, forum posts, etc - the title of the media it's responding to.",
"example": "horses - are we really all that high strung?",
"type": "string"
},
"comment_url": {
"description": "For reddit comments, reblog replies, quote tweets, forum posts, etc - the url of the media it's responding to.",
"example": "https://www.reddit.com/r/Therian/comments/120z6n0/horses_are_we_really_all_that_high_strung/",
"type": "url"
},
"pages": {
"description": "For print media, what page(s) the source can be found on.",
"example": "57-59",
"type": "number"
},
"timestamp": {
"description": "For audio/video media, what timestamp the source can be found at.",
"example": "4:13",
"type": "number"
},
"work": {
"description": "If the media is part of a greater work (an essay in an anthology, paper in a journal issue, article in a maganize, etc), name it here. For newspapers and sites like that, use Publisher.",
"type": "string",
"example": "Inky Paws"
}
},
"paramOrder": [
"title",
"author",
"username",
"interviewer",
"date",
"url",
"work",
"comment_on",
"comment_url",
"pages",
"timestamp",
"publisher",
"archiveurl"
],
"description": "This template generates citations for sources. The template is to be placed after the statement it supports; "
}
</templatedata>
</noinclude>

Latest revision as of 19:49, 4 April 2023

No title specified

This template generates citations for sources. The template is to be placed after the statement it supports;

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
titletitle

The title of the piece of media.

Example
A Field Guide to Otherkin
Stringrequired
authorauthor

The real name of the person or group who created the media.

Example
Orion Scribner
Stringsuggested
usernameusername

The username of the person who created the media, if applicable. Will be displayed in brackets after Author if that field is filled in too.

Example
vagabondsun
Stringoptional
interviewerinterviewer

The name of the person conducting an interview - user Author and/or Username for the name of the interviewee.

Example
Anthony Padilla
Stringoptional
datedate

The date the media was published.

Example
November 20th, 1994
Datesuggested
urlurl

The location where this media can be viewed on the internet.

Example
https://otherkinnews.dreamwidth.org/87285.html
URLsuggested
workwork

If the media is part of a greater work (an essay in an anthology, paper in a journal issue, article in a maganize, etc), name it here. For newspapers and sites like that, use Publisher.

Example
Inky Paws
Stringoptional
comment_oncomment_on

For reddit comments, reblog replies, quote tweets, forum posts, etc - the title of the media it's responding to.

Example
horses - are we really all that high strung?
Stringoptional
comment_urlcomment_url

For reddit comments, reblog replies, quote tweets, forum posts, etc - the url of the media it's responding to.

Example
https://www.reddit.com/r/Therian/comments/120z6n0/horses_are_we_really_all_that_high_strung/
URLoptional
pagespages

For print media, what page(s) the source can be found on.

Example
57-59
Numberoptional
timestamptimestamp

For audio/video media, what timestamp the source can be found at.

Example
4:13
Numberoptional
publisherpublisher

The publisher of the media.

Example
Megalithica Press
Stringsuggested
archiveurlarchiveurl

If the media is no longer available on the web, an archive url can be specified here. Reblogs on tumblr may be treated as archive urls.

Example
https://web.archive.org/web/20160504215324/http://www.wrs.vcu.edu/profiles/Otherkin.htm
URLoptional