Template:Book record/doc: Difference between revisions

From Transport Knowledge Wiki
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
Publication
+report
Book
+book
Video
+video
Journal
+journal
Journal article
+article
Organisation
+org

Template:Main page block

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.

Template parameters

ParameterDescriptionTypeStatus
Titletitle

Name of the book

Example
Streetfight
Stringrequired
Subtitlesubtitle

The subtitle or secondary title of the book, if there is one.

Example
Handbook for an Urban Revolution
Stringoptional
Publisherpublisher

The name of the organisation that produced the book. Enclose in the {{publisher}} template.

Default
{{publisher| }}
Example
{{publisher|Penguin Books}}
Templaterequired
Authorsauthors

no description

Unknownoptional
Publication datedate

The date on publication. Month and Year only. Enclose in the {{PD}} template.

Default
{{PD| }}
Example
{{PD|January 2025}}
Templaterequired
Summarysummary

Write a brief summary of the book. You can copy succinct text from the book and should enclose it with "quote marks".

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"
Stringrequired
Keywordskeywords

Relevant keywords each enclosed by the {{KW}} template.

Default
{{KW| }}
Example
{{KW|Active travel}}
Unknownrequired
Locationslocations

The location(s) the book applies to and/or case study locations. Enclose in the {{location}} template.

Default
{{location| }}
Example
{{location|Manchester}}
Stringrequired
ISBNisbn

The ISBN. You can put the ISBN-10 or ISBN-13 or both.

Default
{{isbn13| }}
Example
{{isbn10|1234567890}} {{isbn13|1234567890123}}
Templaterequired