Template:Place: Difference between revisions
| Robertbaxter (talk | contribs) No edit summary | Robertbaxter (talk | contribs)  No edit summary | ||
| Line 68: | Line 68: | ||
|    | Has machine       = {{{machines|}}}|+sep=, |    | Has machine       = {{{machines|}}}|+sep=, | ||
| }}</includeonly> | }}</includeonly> | ||
| <noinclude> | |||
| <templatedata> | |||
| { | |||
| 	"params": { | |||
| 		"location": { | |||
| 			"label": "Location", | |||
| 			"description": "Open format location for the place—can be as detailed as full street address, or just a city + state/province, or left blank. This will be displayed in the infobox as typed. It should not include the country.", | |||
| 			"example": "5628 Airport Way S, Suite 175 Seattle, WA 98108", | |||
| 			"type": "string", | |||
| 			"suggested": true | |||
| 		}, | |||
| 		"country": { | |||
| 			"label": "Country", | |||
| 			"description": "The country where the place is located (used to categorize + query it).", | |||
| 			"example": "Germany", | |||
| 			"type": "string", | |||
| 			"required": true | |||
| 		}, | |||
| 		"place_type": { | |||
| 			"label": "Place type", | |||
| 			"description": "A tokenized list of types for the location.", | |||
| 			"example": "Print shop, Studio, Publisher", | |||
| 			"type": "string", | |||
| 			"suggestedvalues": [ | |||
| 				"Print shop", | |||
| 				"Studio", | |||
| 				"Publisher", | |||
| 				"Store", | |||
| 				"Venue", | |||
| 				"Education Center" | |||
| 			], | |||
| 			"suggested": true | |||
| 		}, | |||
| 		"coordinates": { | |||
| 			"label": "Coordinates", | |||
| 			"description": "The latitude and longitude coordinates of the space (optional, to support map display). Formatted with a comma, no space.", | |||
| 			"example": "47.551523,-122.318688 ", | |||
| 			"type": "string", | |||
| 			"suggested": true | |||
| 		}, | |||
| 		"services": { | |||
| 			"label": "Services", | |||
| 			"description": "A list of services provided by the place. These are implemented with [[Template:Place/service]]—please use the page form [[Form:Place]] to edit them.", | |||
| 			"type": "content" | |||
| 		}, | |||
| 		"website": { | |||
| 			"label": "Website", | |||
| 			"description": "A link to the main website for the place.", | |||
| 			"example": "https://www.colourcodeprinting.com/", | |||
| 			"type": "url", | |||
| 			"suggested": true | |||
| 		}, | |||
| 		"site_shop": { | |||
| 			"label": "Shop", | |||
| 			"description": "A link to the online shop/store for the place, if they have one.", | |||
| 			"example": "https://shop.colourcodeprinting.com/", | |||
| 			"type": "url" | |||
| 		}, | |||
| 		"site_blog": { | |||
| 			"label": "Blog", | |||
| 			"description": "A link to the blog/feed for a place (if they have one).", | |||
| 			"example": "https://zinehug.substack.com/", | |||
| 			"type": "url" | |||
| 		}, | |||
| 		"site_insta": { | |||
| 			"label": "Instagram", | |||
| 			"description": "A link to the Instagram profile for the place (if they have one).", | |||
| 			"example": "https://www.instagram.com/zinehug/", | |||
| 			"type": "url" | |||
| 		}, | |||
| 		"links": { | |||
| 			"label": "Additional links", | |||
| 			"description": "Holds any extra links besides those specified above, along with labels for each. These are implemented with [[Template:Place/link]]—please use the page form [[Form:Place]] to edit them." | |||
| 		}, | |||
| 		"people": { | |||
| 			"label": "People", | |||
| 			"description": "A list of the people associated with a place. This is optional and potentially personal data and '''should only be added with consent''. These are implemented with [[Template:Place/person]]—please use the page form [[Form:Place]] to edit them." | |||
| 		}, | |||
| 		"inks": { | |||
| 			"label": "Available inks", | |||
| 			"description": "A list of the inks/colors available (for places that print with a duplicator). Formatted as a list with commas and spaces.", | |||
| 			"example": "Light Lime, Sunflower, Aqua", | |||
| 			"type": "string", | |||
| 			"suggested": true | |||
| 		}, | |||
| 		"machines": { | |||
| 			"label": "Machines", | |||
| 			"description": "A list of machines in use at the place (specifically duplicators). Formatted as a list with commas and spaces—machines should use the same format as they are listed under on their series page.", | |||
| 			"example": "MZ1090, RZ1090, SF5130", | |||
| 			"type": "string", | |||
| 			"suggested": true | |||
| 		} | |||
| 	}, | |||
| 	"description": "Primary template for the \"Place\" class (which is primarily studios/printshops, but constitutes all the things that show up on the [[Atlas]]). This template handles semantic annotation and transcludes display templates for the data (mainly [[Template:Infobox place]])." | |||
| } | |||
| </templatedata> | |||
| </noinclude> | |||
Revision as of 21:37, 12 December 2024
Primary template for the "Place" class (which is primarily studios/printshops, but constitutes all the things that show up on the [[Atlas]]). This template handles semantic annotation and transcludes display templates for the data (mainly [[Template:Infobox place]]).
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Location | location | Open format location for the place—can be as detailed as full street address, or just a city + state/province, or left blank. This will be displayed in the infobox as typed. It should not include the country. 
 | String | suggested | 
| Country | country | The country where the place is located (used to categorize + query it). 
 | String | required | 
| Place type | place_type | A tokenized list of types for the location. 
 | String | suggested | 
| Coordinates | coordinates | The latitude and longitude coordinates of the space (optional, to support map display). Formatted with a comma, no space. 
 | String | suggested | 
| Services | services | A list of services provided by the place. These are implemented with [[Template:Place/service]]—please use the page form [[Form:Place]] to edit them. | Content | optional | 
| Website | website | A link to the main website for the place. 
 | URL | suggested | 
| Shop | site_shop | A link to the online shop/store for the place, if they have one. 
 | URL | optional | 
| Blog | site_blog | A link to the blog/feed for a place (if they have one). 
 | URL | optional | 
| site_insta | A link to the Instagram profile for the place (if they have one). 
 | URL | optional | |
| Additional links | links | Holds any extra links besides those specified above, along with labels for each. These are implemented with [[Template:Place/link]]—please use the page form [[Form:Place]] to edit them. | Unknown | optional | 
| People | people | A list of the people associated with a place. This is optional and potentially personal data and '''should only be added with consent''. These are implemented with [[Template:Place/person]]—please use the page form [[Form:Place]] to edit them. | Unknown | optional | 
| Available inks | inks | A list of the inks/colors available (for places that print with a duplicator). Formatted as a list with commas and spaces. 
 | String | suggested | 
| Machines | machines | A list of machines in use at the place (specifically duplicators). Formatted as a list with commas and spaces—machines should use the same format as they are listed under on their series page. 
 | String | suggested |