Template:Book: Difference between revisions

From AnOtherWiki, the free encyclopedia written by, for, and about the Otherkin community.
No edit summary
(Adding template category: Reference Templates)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{{last|}}}, {{{first|}}} {{#if:{{{last2|}}}| and {{{first2|}}} {{{last2|}}}|}}. {{{year|}}}. {{#if:{{{url|}}}|[{{{url|}}} {{{title|}}}]|{{{title|}}}|}}<br/>{{{place|}}}:{{{publisher|}}}. {{#if:{{{isbn|}}}|[[ISBN {{{isbn|}}}]]|}}
<includeonly>{{{last|}}}{{#if:{{{last|}}}|,|}} {{{first|}}}{{#if:{{{last2|}}}| &nbsp;and {{{first2|}}} {{{last2|}}}|}}. {{#if:{{{year|}}}|{{{year|}}}.|}} {{#if:{{{url|}}}|[{{{url|}}} {{{title|}}}]|{{{title|}}}|}}<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{#if:{{{place|}}}|{{{place|}}}:|}} {{#if:{{{publisher|}}}|{{{publisher|}}}.|}} {{#if:{{{isbn|}}}|ISBN {{{isbn|}}}.|}}</includeonly>
<noinclude><pre>Okuda, Michael, and Denise Okuda. 1993. Star trek chronology: The

<noinclude><nowiki><pre>Okuda, Michael, and Denise Okuda. 1993. Star trek chronology: The
history of the future. New York: Pocket Books.
history of the future. New York: Pocket Books.
<nowiki>

{book
{book
| last =
| last =
Line 15: Line 14:
| url =
| url =
| isbn =
| isbn =
}</pre></nowiki></noinclude>
}</nowiki></pre><templatedata>
{
"params": {
"last": {
"label": "Last Name",
"description": "Author's Last Name",
"type": "string",
"required": true
},
"first": {
"label": "First Name",
"description": "Author's First Name",
"type": "string",
"required": true
},
"last2": {
"label": "Last Name 2",
"description": "Second Author's Last Name",
"type": "string"
},
"first2": {
"label": "First Name 2",
"description": "Second Author's First Name",
"type": "string"
},
"year": {
"label": "Year",
"description": "Year of publication",
"type": "number",
"required": true
},
"url": {
"label": "URL",
"description": "Link to content",
"type": "url"
},
"title": {
"label": "Title",
"description": "Book Title",
"type": "string",
"required": true
},
"place": {
"label": "Place",
"description": "Place published",
"type": "string",
"required": true
},
"publisher": {
"label": "Publisher",
"description": "Publisher name",
"type": "string",
"required": true
},
"isbn": {
"label": "ISBN",
"description": "ISBN Number",
"type": "string",
"suggested": true
}
},
"description": "Reference: Book"
}
</templatedata>[[Category: Reference Templates]]</noinclude>

Latest revision as of 10:58, 16 January 2022

Okuda, Michael, and Denise Okuda. 1993. Star trek chronology: The 
     history of the future. New York: Pocket Books.

{book
| last =
| first =
| last2 =
| first2 =
| year =
| title =
| place =
| publisher =
| url =
| isbn =
}

Reference: Book

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Last Namelast

Author's Last Name

Stringrequired
First Namefirst

Author's First Name

Stringrequired
Last Name 2last2

Second Author's Last Name

Stringoptional
First Name 2first2

Second Author's First Name

Stringoptional
Yearyear

Year of publication

Numberrequired
URLurl

Link to content

URLoptional
Titletitle

Book Title

Stringrequired
Placeplace

Place published

Stringrequired
Publisherpublisher

Publisher name

Stringrequired
ISBNisbn

ISBN Number

Stringsuggested