Latest revision |
Your text |
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 meta-template: used to display a standard set of information at the top of an artwork page. |
|
| |
|
| For <code><nowiki>[[Template:Artwork]]</nowiki></code>, template code then looks like this, simplified: | | For <code><nowiki>[[Template:Artwork]]</nowiki></code>, template code then looks like this, simplified: |
Line 9: |
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> |
|
| |
|
| See below for detailed descriptions and examples of each of the parameters. | | See below for detailed descriptions and examples of each of the parameters. |
|
| |
| == Template Data ==
| |
| <templatedata>
| |
| {
| |
| "params": {
| |
| "name": {
| |
| "aliases": [
| |
| "title"
| |
| ],
| |
| "label": "Name",
| |
| "description": "Short name or title of the artwork",
| |
| "example": "Tux the penguin",
| |
| "type": "string",
| |
| "required": true
| |
| },
| |
| "description": {
| |
| "label": "Description",
| |
| "description": "Brief description of what the artwork represents or where it came from",
| |
| "example": "Tux the penguin is the official Linux mascot",
| |
| "type": "unknown",
| |
| "suggested": true
| |
| },
| |
| "location": {
| |
| "aliases": [
| |
| "coords",
| |
| "coordinates"
| |
| ],
| |
| "label": "Location",
| |
| "description": "X,Y coordinates of the center of the artwork on the full placeatlas2 map",
| |
| "example": "45, 733",
| |
| "type": "string",
| |
| "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": [
| |
| "community"
| |
| ],
| |
| "label": "Creator",
| |
| "description": "Name of the place-wiki article about the community that created the artwork",
| |
| "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",
| |
| "suggested": true
| |
| },
| |
| "area": {
| |
| "aliases": [
| |
| "pixels"
| |
| ],
| |
| "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
| |
| }
| |
| },
| |
| "description": "This template may be used to create a standard block of information about a piece of artwork,",
| |
| "format": "block",
| |
| "paramOrder": [
| |
| "name",
| |
| "description",
| |
| "location",
| |
| "area",
| |
| "id",
| |
| "creator",
| |
| "image",
| |
| "year"
| |
| ]
| |
| }
| |
| </templatedata>
| |
|
| |
| <noinclude>[[Category:Template Documentation]]</noinclude>
| |