Template:Video record/doc: Difference between revisions

From Transport Knowledge Wiki
__NOTOC__
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Contribute}}
{{Contribute}}
{{Main page block|title=How to add a new video record|body=
{{Content block|title=How to add a new video record|body=
This template is used for video records.  
To create a video record:
#Enter the name of the video in the box and hit create.
#Fill in all the details you have and save the record.
<inputbox>
type=create
width=100
buttonlabel= Create
placeholder= Enter the name of the new video record
preload=Template:Video record/preload
</inputbox>
}}


'''To create a new record:'''
==Examples==
*[[Integrating planning, education and health policies to solve transport issues]]
*[[Redesigning Rural Bus Networks]]


#Copy either the blank or example code below.
==Template data==
#Search for the record name you want to create using the search box above, for example [[New Video about Transport]].
<templatedata>
#Click on the red link that appears to create it.  
{
#Paste the code into the new record.  
"params": {
#Fill in all the details you have for the video.}}
"title": {
"label": "Title",
"description": "Title of the video",
"example": "Redesigning Rural Bus Networks",
"required": true,
"type": "content"
},
"subtitle": {
"label": "Subtitle",
"description": "Subtitle of the video",
"example": "Can Franchising Work in Rural Areas?",
"required": false,
"type": "content"
},
"campaign": {
"label": "Campaign",
"description": "If the video forms part of campaign within the organisation include it here. Enclose with {{campaign}} template.",
"example": "{{campaign|Clean Cities Campaign}}",
"type": "wiki-template-name",
"default": "{{campaign| }}"
},
"series": {
"label": "Series",
"description": "If the video forms part of series within the organisation include it here. Enclose with {{series}} template.\n\n",
"example": "{{series|Lunchtime Transport Webinars}}",
"default": "{{series| }}"
},
"project": {
"label": "Project",
"description": "If the video forms part of project within the organisation include it here. Enclose with {{project}} template.\n\n",
"example": "{{project|Inclusive Design at Bus Stops and Continuous Footways}}",
"type": "wiki-template-name",
"default": "{{project| }}"
},
"length": {
"label": "Length",
"description": "The video runtime",
"example": "01:30:22",
"type": "number",
"required": true
},
"publisher": {
"label": "Publisher",
"description": "The name of the organisation that produced the video. Enclose in the {{publisher}} template.  ",
"example": "{{publisher|Transport and Environment}}",
"type": "wiki-template-name",
"required": true,
"default": "{{publisher| }}"
},
"presenters": {
"label": "Presenters",
"description": "The presenters of the video. Enclose each one in the {{author}} template. Use a pipe (\"|\") to divide first names from last names. If there is no author then leave blank.",
"example": "{{author|Steve|Chambers}}",
"type": "wiki-template-name",
"default": "{{author| }}"
},
"date": {
"label": "Date",
"description": "The date of video in Month Year format and enclosed by the {{PD}} template. If the month is not known just use the year. Do not include the day of the month.",
"example": "{{PD|April 2024}}",
"type": "wiki-template-name",
"required": true,
"default": "{{PD| }}"
},
"summary": {
"label": "Summary",
"description": "Write a brief summary of the video. You can copy succinct text from the video description and should enclose it with \"quote marks\".",
"example": "\"how designing a rural bus network could work, the impact better services could have and the opportunity that the Buses Bill offers to deliver better connected rural communities.\"",
"type": "content",
"required": true
},
"keywords": {
"label": "Keywords",
"description": "Relevant keywords each enclosed by the {{KW}} template.",
"example": "{{KW|Active travel}}",
"type": "wiki-template-name",
"required": true,
"default": "{{KW|  }}"
},
"locations": {
"label": "Locations",
"description": "The location(s) the video applies to and/or case study locations. Enclose in the {{location}} template.",
"example": "{{location|Manchester}}\n",
"type": "wiki-template-name",
"required": true,
"default": "{{location| }}"
},
"live_url": {
"label": "Live link",
"description": "Link to the currently video. Use the {{live link | live_url= | test_date= }} template. Use {{dead link | dead_url= | test_date= }} template if the link is dead.",
"type": "wiki-template-name",
"required": true,
"example": "{{live_link|live_url=https://www.youtube.com/watch?v=wMGBDnW0Lxk|test_date=14 January 2025}}",
"default": "{{live link | live_url= | test_date= }}"
},
"archive_url": {
"label": "Archive link",
"description": "Link to the archived video on Internet Archive. Use the {{archive link |archived_url= | archived_date= }} template. Important: Add an archive link even where there is a live link. For new videos you might need to request Internet Archive creates it.",
"required": true,
"example": "{{archive_link|archived_url=https://web.archive.org/web/20250114105127/https://www.youtube.com/watch?v=wMGBDnW0Lxk|archived_date=14 January 2025}}\n}}",
"type": "wiki-template-name",
"default": "{{archive link |archived_url= | archived_date= }}"
}
},
"description": "Used for video records",
"paramOrder": [
"title",
"subtitle",
"summary",
"length",
"campaign",
"series",
"project",
"date",
"publisher",
"presenters",
"keywords",
"locations",
"live_url",
"archive_url"
]
}
</templatedata>


==Blank code==
__NOTOC__
<code>{{video record</code><br />
<code>| title        = </code><br />
<code>| subtitle    = </code><br />
<code>| summary      = </code><br />
<code>| length      = </code><br />
<code>| Campaign    = </code><br />
<code>| series      = </code><br />
<code>| project      = </code><br />
<code>| date        = </code><br />
<code>| publisher    = </code><br />
<code>| presenters  = </code><br />
<code>| keywords    = </code><br />
<code>| locations    = </code><br />
<code>| live_url    = </code><br />
<code>| archive_url  = </code><br />
<code>}}</code>


==Example code==
<code>{{video record</code><br />
<code>| title        = Best Transport Video</code><br />
<code>| subtitle    = Part 2</code><br />
<code>| summary      = Nice video about transport</code><br />
<code>| length      = 01:30:22 </code><br />
<code>| Campaign    = </code><br />
<code>| series      = </code><br />
<code>| project      = <nowiki>{{project|Special Transport Project}}</nowiki></code><br />
<code>| date        = <nowiki>{{PD|January 2001}}</nowiki></code><br />
<code>| publisher    = <nowiki>{{publisher|The Transport Charity}}</nowiki></code><br />
<code>| presenters  = <nowiki>{{author|Firstname|Lastname}}</nowiki></code><br />
<code>| keywords    = <nowiki>{{KW|Trains}} {{KW|Light rail}}</nowiki></code><br />
<code>| locations    = <nowiki>{{location|Great Britain}}</nowiki></code><br />
<code>| live_url    = <nowiki>{{live link | live_url= | test_date=14 November 2024 }}</nowiki></code><br />
<code>| archive_url  = <nowiki>{{archive link|archived_url=https://web.archive.org/https://www.youtube.com/watch?v=eLqojCsLy98 |archived_date=14 November 2024 }}</nowiki></code><br />
<code>}}</code>
==Live example video records==
*[[Redesigning Rural Bus Networks]]


__NOTOC__
__NOTOC__

Latest revision as of 14:41, 16 December 2025

You can add to the wiki
Publication
+report
Book
+book
Video
+video
Journal
+journal
Journal article
+article
Organisation
+org
How to add a new video record
To create a video record:
  1. Enter the name of the video in the box and hit create.
  2. Fill in all the details you have and save the record.

Examples

Template data

Used for video records

Template parameters

ParameterDescriptionTypeStatus
Titletitle

Title of the video

Example
Redesigning Rural Bus Networks
Contentrequired
Subtitlesubtitle

Subtitle of the video

Example
Can Franchising Work in Rural Areas?
Contentoptional
Summarysummary

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

Example
"how designing a rural bus network could work, the impact better services could have and the opportunity that the Buses Bill offers to deliver better connected rural communities."
Contentrequired
Lengthlength

The video runtime

Example
01:30:22
Numberrequired
Campaigncampaign

If the video forms part of campaign within the organisation include it here. Enclose with {{campaign}} template.

Default
{{campaign| }}
Example
{{campaign|Clean Cities Campaign}}
Templateoptional
Seriesseries

If the video forms part of series within the organisation include it here. Enclose with {{series}} template.

Default
{{series| }}
Example
{{series|Lunchtime Transport Webinars}}
Unknownoptional
Projectproject

If the video forms part of project within the organisation include it here. Enclose with {{project}} template.

Default
{{project| }}
Example
{{project|Inclusive Design at Bus Stops and Continuous Footways}}
Templateoptional
Datedate

The date of video in Month Year format and enclosed by the {{PD}} template. If the month is not known just use the year. Do not include the day of the month.

Default
{{PD| }}
Example
{{PD|April 2024}}
Templaterequired
Publisherpublisher

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

Default
{{publisher| }}
Example
{{publisher|Transport and Environment}}
Templaterequired
Presenterspresenters

The presenters of the video. Enclose each one in the {{author}} template. Use a pipe ("|") to divide first names from last names. If there is no author then leave blank.

Default
{{author| }}
Example
{{author|Steve|Chambers}}
Templateoptional
Keywordskeywords

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

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

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

Default
{{location| }}
Example
{{location|Manchester}}
Templaterequired
Live linklive_url

Link to the currently video. Use the {{live link | live_url= | test_date= }} template. Use {{dead link | dead_url= | test_date= }} template if the link is dead.

Default
{{live link | live_url= | test_date= }}
Example
{{live_link|live_url=https://www.youtube.com/watch?v=wMGBDnW0Lxk|test_date=14 January 2025}}
Templaterequired
Archive linkarchive_url

Link to the archived video on Internet Archive. Use the {{archive link |archived_url= | archived_date= }} template. Important: Add an archive link even where there is a live link. For new videos you might need to request Internet Archive creates it.

Default
{{archive link |archived_url= | archived_date= }}
Example
{{archive_link|archived_url=https://web.archive.org/web/20250114105127/https://www.youtube.com/watch?v=wMGBDnW0Lxk|archived_date=14 January 2025}} }}
Templaterequired