Template:Article-book: Difference between revisions

From AnOtherWiki, the free encyclopedia written by, for, and about the Otherkin community.
(Created page with "<includeonly>{{{last|}}}{{#if:{{{last|}}}|,|}} {{{first|}}}{{#if:{{{middle|}}}| {{{middle|}}}|}}. {{#if:{{{year|}}}|{{{year|}}}.|}} {{#if:{{{url|}}}|[{{{url|}}} {{{title|}}}]|...")
 
(Adding templatedata)
Line 16: Line 16:
| publisher =
| publisher =
| url =
| url =
}</nowiki></pre></noinclude>
}</nowiki></pre><templatedata>
{
"params": {
"last": {
"label": "Last Name",
"description": "Author's Last Name",
"example": "Einstein",
"type": "string",
"required": true
},
"first": {
"label": "First Name",
"description": "Author's First Name",
"example": "Albert",
"type": "string",
"required": true
},
"middle": {
"label": "Middle Name",
"description": "Author's Middle Name",
"example": "Jacob",
"type": "string"
},
"year": {
"label": "Year",
"description": "Year of Publication",
"example": "1975",
"type": "number",
"required": true
},
"url": {
"label": "URL",
"description": "Link to Content",
"example": "http://www.example.com",
"type": "url"
},
"title": {
"label": "Title",
"description": "Article Title",
"example": "E = MC Hawking",
"type": "string",
"required": true
},
"book": {
"label": "Book",
"description": "Title of Book",
"example": "A Brief History of Rhyme",
"type": "string",
"required": true
},
"volume": {
"label": "Volume",
"description": "Volume of Book",
"example": "2",
"type": "number"
},
"pages": {
"label": "Pages",
"description": "Pages of book the article appears on",
"example": "85-93",
"type": "string",
"required": true
},
"place": {
"label": "Place",
"description": "Place of publication",
"example": "Schenectady, NY",
"type": "string",
"required": true
},
"publisher": {
"label": "Publisher",
"description": "Publisher name",
"example": "Randomhouse",
"type": "string",
"required": true
},
"editor": {
"label": "Editor",
"description": "Editor name",
"example": "David Duchovny",
"type": "string"
}
},
"description": "Reference: Article in a book",
"format": "block"
}
</templatedata></noinclude>

Revision as of 16:11, 15 January 2022

James, Nancy E. 1988. Two sides of paradise: The Eden myth
     according to Kirk and Spock. In Spectrum of the fantastic, 
     ed. Donald Palumbo, [ifexists:volume] 219-223. Westport, CT: Greenwood. 
{article-book
| last =
| first =
| middle =
| title =
| year =
| book =
| editor =
| volume =
| pages =
| place =
| publisher =
| url =
}

Reference: Article in a book

[Edit template data]

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Last Namelast

Author's Last Name

Example
Einstein
Stringrequired
First Namefirst

Author's First Name

Example
Albert
Stringrequired
Middle Namemiddle

Author's Middle Name

Example
Jacob
Stringoptional
Yearyear

Year of Publication

Example
1975
Numberrequired
URLurl

Link to Content

Example
http://www.example.com
URLoptional
Titletitle

Article Title

Example
E = MC Hawking
Stringrequired
Bookbook

Title of Book

Example
A Brief History of Rhyme
Stringrequired
Volumevolume

Volume of Book

Example
2
Numberoptional
Pagespages

Pages of book the article appears on

Example
85-93
Stringrequired
Placeplace

Place of publication

Example
Schenectady, NY
Stringrequired
Publisherpublisher

Publisher name

Example
Randomhouse
Stringrequired
Editoreditor

Editor name

Example
David Duchovny
Stringoptional