Geekahedron (talk | contribs) (Undo revision 1910 by Geekahedron (talk)) Tag: Undo |
Geekahedron (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
|- | |- | ||
|- class="infobox-tr" | |- class="infobox-tr" | ||
{{#if: {{{name|}}} | {{!}} | {{#if: {{{name|}}} | {{!}} class="infobox-parameter" {{!}} '''Name''' {{!!}} {{{name}}} }} | ||
|- class="infobox-tr" | |- class="infobox-tr" | ||
{{#if: {{{description|}}} | {{!}} | {{#if: {{{description|}}} | {{!}} class="infobox-parameter" {{!}} '''Description''' {{!!}} {{{description}}} }} | ||
|- class="infobox-tr" | |- class="infobox-tr" | ||
{{#if: {{{location|}}} | {{!}} '''Location''' {{!!}} {{{location}}} }} | {{#if: {{{location|}}} | {{!}} class="infobox-parameter" {{!}} '''Location''' {{!!}} {{{location}}} }} | ||
|- class="infobox-tr" | |- class="infobox-tr" | ||
{{#if: {{{id|}}} | {{!}} '''Atlas ID''' {{!!}} [https://place-atlas.stefanocoding.me/?id={{{id}}} {{{id}}}] {{#ifexist:{{{id}}}| |<br />[[Help:Artwork_Redirects|Redirect]] [[{{{id}}}]] does not exist}} }} | {{#if: {{{id|}}} | {{!}} class="infobox-parameter" {{!}} '''Atlas ID''' {{!!}} [https://place-atlas.stefanocoding.me/?id={{{id}}} {{{id}}}] {{#ifexist:{{{id}}}| |<br />[[Help:Artwork_Redirects|Redirect]] [[{{{id}}}]] does not exist}} }} | ||
|- class="infobox-tr" | |- class="infobox-tr" | ||
{{#if: {{{creator|}}} | {{!}} '''Creator''' {{!!}} {{{creator}}} }} | {{#if: {{{creator|}}} | {{!}} class="infobox-parameter" {{!}} '''Creator''' {{!!}} {{{creator}}} }} | ||
|} | |} | ||
</div> | </div> |
Revision as of 20:48, 11 April 2022
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 |