Template:Organisation record/doc: Difference between revisions

From Transport Knowledge Wiki
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Contribute}}
{{Contribute}}
{{Main page block|title=How to add a new organisation record|body=
{{Content block|title=How to add a new organisation record|body=
This template is used for organisation records.
To create an organisation record:
 
#Enter the name of the organisation in the box and hit create.
'''To create a new record:'''
#Fill in all the details you have and save the record.
 
<inputbox>
#Copy either the blank or example code below.
type=create
#Search for the record name you want to create using the search box above, for example [[New Transport Charity]].
width=100
#Click on the red link that appears to create it.
buttonlabel= Create
#Paste the code into the new record.  
placeholder= Enter the name of the new organisation record
#Fill in all the details you have for the organisation.}}
preload=Template:Organisation record/preload
 
</inputbox>
==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>
 
==Guide==
This template is used on organisation pages.


==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 60: Line 44:
"example": "{{KW|Walking}}",
"example": "{{KW|Walking}}",
"type": "wiki-template-name",
"type": "wiki-template-name",
"required": true
"required": true,
"default": "{{KW| }}"
},
},
"live_url": {
"live_url": {
Line 67: 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 79: 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