Template:Book record/doc: Difference between revisions
No edit summary |
|||
| Line 70: | Line 70: | ||
}, | }, | ||
"date": { | "date": { | ||
"label": "Publication date" | "label": "Publication date", | ||
"description": "The date on publication. Month and Year only. Enclose in the {{PD}} template.", | |||
"example": "{{PD|January 2025}}", | |||
"type": "wiki-template-name", | |||
"default": "{{PD| }}", | |||
"required": true | |||
}, | }, | ||
"summary": { | "summary": { | ||
"label": "Summary" | "label": "Summary", | ||
"description": "Write a brief summary of the book. You can copy succinct text from the book and should enclose it with \"quote marks\".\n\n", | |||
"example": "\"Jane Jacobs critiques the comprehensive modernist approach to urban planning after 1945. By the 1950s, various American cities were pursuing ambitious urban renewal policies, influenced by Swiss-French architect Le Corbusier's concept of the \"Radiant City.\" Jacobs sees this being utterly at odds with urban realities, and leading to the destruction of the city as a living community. This futurist vision insisted on the absolute segregation of the city's different activities into separate zones, linked (though also physically isolated) by super-highways set in wide parkland landscaping. The colossal physical destruction that was necessary to implement this vision tore apart the traditional multi-activity street and densely populated neighborhood that Jacobs avers is the bedrock of urban living\"", | |||
"type": "string", | |||
"required": true | |||
}, | }, | ||
"keywords": { | "keywords": { | ||
"label": "Keywords" | "label": "Keywords", | ||
"description": "Relevant keywords each enclosed by the {{KW}} template.", | |||
"example": "{{KW|Active travel}}", | |||
"default": "{{KW| }}", | |||
"required": true | |||
}, | }, | ||
"locations": { | "locations": { | ||
"label": "Locations" | "label": "Locations", | ||
"description": "The location(s) the book applies to and/or case study locations. Enclose in the {{location}} template.\n\n", | |||
"example": "{{location|Manchester}}", | |||
"type": "string", | |||
"default": "{{location| }}\n", | |||
"required": true | |||
}, | }, | ||
"isbn": { | "isbn": { | ||
"label": "ISBN" | "label": "ISBN", | ||
"description": "The ISBN. You can put the ISBN-10 or ISBN-13 or both.", | |||
"type": "wiki-template-name", | |||
"required": true, | |||
"example": "{{isbn10|1234567890}} {{isbn13|1234567890123}}", | |||
"default": "{{isbn13| }}" | |||
} | } | ||
}, | }, | ||
Revision as of 16:16, 28 February 2025
| You can add to the wiki | |||||
|---|---|---|---|---|---|
+report |
+book |
+video |
+journal |
+article |
+org |
Blank code
{{book record
| title =
| subtitle =
| summary =
| date =
| publisher =
| authors =
| keywords =
| locations =
| isbn =
}}
Example code
{{book record
| title = Trains are good
| subtitle = The only book about trains you will ever need
| summary = "Trains are the best and there are many reasons for this detailed here"
| date = {{PD|January 2001}}
| publisher = {{publisher|The Book Publisher}}
| authors = {{author|Firstname|Lastname}}
| keywords = {{KW|Trains}}
| locations = {{location|Great Britain}}
| isbn = {{isbn10|1234567890}} {{isbn13|1234567890123}}
}}
Live example book records
Template data
This template is used on book records.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | Name of the book
| String | required |
| Subtitle | subtitle | The subtitle or secondary title of the book, if there is one.
| String | optional |
| Publisher | publisher | The name of the organisation that produced the book. Enclose in the {{publisher}} template.
| Template | required |
| Authors | authors | no description | Unknown | optional |
| Publication date | date | The date on publication. Month and Year only. Enclose in the {{PD}} template.
| Template | required |
| Summary | summary | Write a brief summary of the book. You can copy succinct text from the book and should enclose it with "quote marks".
| String | required |
| Keywords | keywords | Relevant keywords each enclosed by the {{KW}} template.
| Unknown | required |
| Locations | locations | The location(s) the book applies to and/or case study locations. Enclose in the {{location}} template.
| String | required |
| ISBN | isbn | The ISBN. You can put the ISBN-10 or ISBN-13 or both.
| Template | required |
