Template:Organisation record/doc: Difference between revisions

From Transport Knowledge Wiki
No edit summary
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Guide==
{{Contribute}}
This template is used on organisation pages.
{{Content block|title=How to add a new organisation record|body=
To create an organisation record:
#Enter the name of the organisation 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 organisation record
preload=Template:Organisation record/preload
</inputbox>
}}


==Examples==
==Examples==
*[[Living Streets]]
*[[Transport for New Homes]]
*[[Transport for New Homes]]
==Blank code==
<code>{{organisation record</code><br />
<code>| name    = </code><br />
<code>| status  = </code><br />
<code>| keywords = </code><br />
<code>| live_url = </code><br />
<code>}}</code>


==Template data==
==Template data==
Line 21: Line 25:
"description": "Name of organisation",
"description": "Name of organisation",
"example": "Living Streets",
"example": "Living Streets",
"required": true
"required": true,
"type": "content"
},
},
"status": {
"status": {
Line 38: Line 43:
"description": "Add each keyword enclosed by {{KW}} ",
"description": "Add each keyword enclosed by {{KW}} ",
"example": "{{KW|Walking}}",
"example": "{{KW|Walking}}",
"type": "wiki-template-name"
"type": "wiki-template-name",
"required": true,
"default": "{{KW| }}"
},
},
"live_url": {
"live_url": {
Line 45: Line 52:
"example": "{{live link| live_url= https://www.livingstreets.org.uk/ | test_date=6 August 2024}} ",
"example": "{{live link| live_url= https://www.livingstreets.org.uk/ | test_date=6 August 2024}} ",
"type": "wiki-template-name",
"type": "wiki-template-name",
"required": true
"required": true,
"default": "{{live link| live_url= | test_date= }} "
}
}
},
},
Line 57: Line 65:
}
}
</templatedata>
</templatedata>
__NOTOC__

Latest revision as of 14:09, 7 June 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 organisation record
To create an organisation record:
  1. Enter the name of the organisation in the box and hit create.
  2. Fill in all the details you have and save the record.

Examples

Template data

Used for organisation records

Template parameters

ParameterDescriptionTypeStatus
Namename

Name of organisation

Example
Living Streets
Contentrequired
Statusstatus

Is the organisation active or inactive?

Suggested values
{{Active}} {{Inactive}}
Example
{{Active}}
Templaterequired
Keywordskeywords

Add each keyword enclosed by {{KW}}

Default
{{KW| }}
Example
{{KW|Walking}}
Templaterequired
Websitelive_url

The live website address enclosed by {{live link}} template

Default
{{live link| live_url= | test_date= }}
Example
{{live link| live_url= https://www.livingstreets.org.uk/ | test_date=6 August 2024}}
Templaterequired