(Added categories.) |
No edit summary Tag: 2017 source edit |
||
(18 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation}} | |||
== Usage == | == Usage == | ||
[[Template:Artwork]] is a template, used to display a standard set of information at the top of an artwork page. | [[Template:Artwork]] is a template, used to display a standard set of information at the top of an artwork page. | ||
Line 8: | Line 9: | ||
| description = {{{description}}} | | description = {{{description}}} | ||
| location = {{{location}}} | | location = {{{location}}} | ||
| area = {{{area}}} | |||
| community = {{{community}}} | | community = {{{community}}} | ||
| id = {{{id}}} | |||
| image = {{{image|}}} | | image = {{{image|}}} | ||
| year = {{{year|}}} | |||
}} | }} | ||
</pre> | </pre> | ||
Line 47: | Line 51: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "image": { | ||
"label": "Image", | |||
"description": "Cropped image file of the completed artwork", | |||
"example": "artwork-placetux.png", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"creator": { | |||
"aliases": [ | "aliases": [ | ||
" | "community" | ||
], | ], | ||
"label": " | "label": "Creator", | ||
"description": "Name of the place-wiki article about the community that created the artwork", | "description": "Name of the place-wiki article about the community that created the artwork", | ||
"example": "r/placetux", | "example": "[[r/placetux]]", | ||
"type": "string", | |||
"suggested": true | |||
}, | |||
"id": { | |||
"aliases": [ | |||
"atlasid" | |||
], | |||
"label": "ID", | |||
"description": "ID of the artwork description on the PlaceAtlas2", | |||
"example": "txk8x7", | |||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "area": { | ||
"label": " | "aliases": [ | ||
"description": " | "pixels" | ||
"example": "artwork | ], | ||
"type": " | "label": "Area", | ||
"description": "Area of artwork in pixels", | |||
"example": "842", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"year": { | |||
"label": "Year", | |||
"description": "What year was your artwork created in (Defaults to 2022 for legacy reasons)", | |||
"type": "number", | |||
"suggestedvalues": [ | |||
"2017", | |||
"2022", | |||
"2023" | |||
], | |||
"default": "2022", | |||
"required": true, | |||
"suggested": true | "suggested": true | ||
} | } | ||
}, | }, | ||
"description": "This template may be used to create a standard block of information about a piece of artwork,", | "description": "This template may be used to create a standard block of information about a piece of artwork,", | ||
"format": "block" | "format": "block", | ||
"paramOrder": [ | |||
"name", | |||
"description", | |||
"location", | |||
"area", | |||
"id", | |||
"creator", | |||
"image", | |||
"year" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
<noinclude>[[Category:Template Documentation]]</noinclude> |
Latest revision as of 17:57, 26 July 2023
Usage
Template:Artwork is a template, used to display a standard set of information at the top of an artwork page.
For [[Template:Artwork]]
, template code then looks like this, simplified:
{{Artwork | name = {{{name|{{PAGENAME}}}}} | description = {{{description}}} | location = {{{location}}} | area = {{{area}}} | community = {{{community}}} | id = {{{id}}} | image = {{{image|}}} | year = {{{year|}}} }}
See below for detailed descriptions and examples of each of the parameters.
Template Data
This template may be used to create a standard block of information about a piece of artwork,
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name title | Short name or title of the artwork
| String | required |
Description | description | Brief description of what the artwork represents or where it came from
| Unknown | suggested |
Location | location coords coordinates | X,Y coordinates of the center of the artwork on the full placeatlas2 map
| String | suggested |
Area | area pixels | Area of artwork in pixels
| Number | suggested |
ID | id atlasid | ID of the artwork description on the PlaceAtlas2
| String | suggested |
Creator | creator community | Name of the place-wiki article about the community that created the artwork
| String | suggested |
Image | image | Cropped image file of the completed artwork
| File | suggested |
Year | year | What year was your artwork created in (Defaults to 2022 for legacy reasons)
| Number | required |