Template:Artwork: Difference between revisions

Template page
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 27: Line 27:
[[Category:Artwork]]
[[Category:Artwork]]
</includeonly>
</includeonly>
<noinclude>{{/doc}}</noinclude>
<noinclude>{{/doc}}<templatedata>
{
"params": {
"image": {},
"name": {},
"title": {},
"description": {},
"location": {},
"coords": {},
"area": {},
"pixels": {},
"id": {},
"year": {
"type": "number",
"suggestedvalues": [
"2017",
"2022",
"2023"
],
"default": "2022",
"required": true
},
"creator": {},
"community": {}
}
}
</templatedata></noinclude>

Revision as of 18:52, 26 July 2023

Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Artwork/doc. Changes can be proposed in the talk page.
Template:Artwork invokes Template:Artwork/style.css using TemplateStyles.
Template:Artwork invokes Template:Infobox/style.css using TemplateStyles.
Template:Artwork invokes Template:TemplateData/style.css using TemplateStyles.

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,

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename title

Short name or title of the artwork

Example
Tux the penguin
Stringrequired
Descriptiondescription

Brief description of what the artwork represents or where it came from

Example
Tux the penguin is the official Linux mascot
Unknownsuggested
Locationlocation coords coordinates

X,Y coordinates of the center of the artwork on the full placeatlas2 map

Example
45, 733
Stringsuggested
Areaarea pixels

Area of artwork in pixels

Example
842
Numbersuggested
IDid atlasid

ID of the artwork description on the PlaceAtlas2

Example
txk8x7
Stringsuggested
Creatorcreator community

Name of the place-wiki article about the community that created the artwork

Example
[[r/placetux]]
Stringsuggested
Imageimage

Cropped image file of the completed artwork

Example
artwork-placetux.png
Filesuggested
Yearyear

What year was your artwork created in (Defaults to 2022 for legacy reasons)

Suggested values
2017 2022 2023
Default
2022
Numberrequired

No description.

Template parameters

ParameterDescriptionTypeStatus
imageimage

no description

Unknownoptional
namename

no description

Unknownoptional
titletitle

no description

Unknownoptional
descriptiondescription

no description

Unknownoptional
locationlocation

no description

Unknownoptional
coordscoords

no description

Unknownoptional
areaarea

no description

Unknownoptional
pixelspixels

no description

Unknownoptional
idid

no description

Unknownoptional
yearyear

no description

Suggested values
2017 2022 2023
Default
2022
Numberrequired
creatorcreator

no description

Unknownoptional
communitycommunity

no description

Unknownoptional
Cookies help us deliver our services. By using our services, you agree to our use of cookies.