Template:Organisation record/doc: Difference between revisions
From Transport Knowledge Wiki
Created page with "==Guide== This template is used on organisation pages. ==Examples== *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>" |
No edit summary |
||
| (20 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
== | {{Contribute}} | ||
{{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]] | ||
== | ==Template data== | ||
< | <templatedata> | ||
{ | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"description": "Name of organisation", | |||
"example": "Living Streets", | |||
"required": true, | |||
"type": "content" | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"description": "Is the organisation active or inactive?", | |||
"example": "{{Active}}", | |||
"type": "wiki-template-name", | |||
"suggestedvalues": [ | |||
"{{Active}}", | |||
"{{Inactive}}" | |||
], | |||
"required": true | |||
}, | |||
"keywords": { | |||
"label": "Keywords", | |||
"description": "Add each keyword enclosed by {{KW}} ", | |||
"example": "{{KW|Walking}}", | |||
"type": "wiki-template-name", | |||
"required": true, | |||
"default": "{{KW| }}" | |||
}, | |||
"live_url": { | |||
"label": "Website", | |||
"description": "The live website address enclosed by {{live link}} template", | |||
"example": "{{live link| live_url= https://www.livingstreets.org.uk/ | test_date=6 August 2024}} ", | |||
"type": "wiki-template-name", | |||
"required": true, | |||
"default": "{{live link| live_url= | test_date= }} " | |||
} | |||
}, | |||
"description": "Used for organisation records", | |||
"paramOrder": [ | |||
"name", | |||
"status", | |||
"keywords", | |||
"live_url" | |||
] | |||
} | |||
</templatedata> | |||
__NOTOC__ | |||
Latest revision as of 14:09, 7 June 2025
| You can add to the wiki | |||||
|---|---|---|---|---|---|
+report |
+book |
+video |
+journal |
+article |
+org |
| How to add a new organisation record |
|---|
To create an organisation record:
|
Examples
Template data
Used for organisation records
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of organisation
| Content | required |
| Status | status | Is the organisation active or inactive?
| Template | required |
| Keywords | keywords | Add each keyword enclosed by {{KW}}
| Template | required |
| Website | live_url | The live website address enclosed by {{live link}} template
| Template | required |
