Template:Artwork: Difference between revisions

Template page
No edit summary
No edit summary
Tag: 2017 source edit
 
(43 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<templatestyles src="Infobox/style.css"></templatestyles>
<includeonly><templatestyles src="Infobox/style.css"></templatestyles>
<templatestyles src="Artwork/style.css"></templatestyles>
<templatestyles src="TemplateData/style.css"></templatestyles>
<div class="infobox">
<div class="infobox">
{|
{|
|-
|- class="infobox-image"
{{#if: {{{image|}}} | {{!}} align=center colspan=2 {{!}} [[Image:{{{image}}}|center|284px]] }}
{{#if: {{{image|}}} | {{!}} align=center colspan=2 {{!}} [[Image:{{{image}}}|center|284px]] | [[Category:Artwork missing image]] }}
|-  
|-  
| colspan="2" class="infoboxheader" | {{PAGENAME}}
| colspan="2" class="infoboxheader" | {{PAGENAME}}
Line 9: Line 11:
|
|
|-
|-
|- style="vertical-align: top;"
|- class="infobox-tr"
{{#if: {{{name|}}} | {{!}} valign=top {{!}} '''Name''' {{!!}} {{{name}}} }}
{{#if: {{{name|{{{title|}}}}}} | {{!}} class="infobox-parameter" {{!}} '''Name''' {{!!}} {{{name|{{{title}}}}}} }}
|- style="vertical-align: top;"
|- class="infobox-tr"
{{#if: {{{description|}}} | {{!}} valign=top {{!}} '''Description''' {{!!}} {{{description}}} }}
{{#if: {{{description|}}} | {{!}} class="infobox-parameter" {{!}} '''Description''' {{!!}} {{{description}}} }}
|- style="vertical-align: top;"
|- class="infobox-tr"
{{#if: {{{location|}}} | {{!}} '''Location''' {{!!}} {{{location}}} }}
{{#if: {{{location|{{{coords}}}}}} | {{!}} class="infobox-parameter" {{!}} '''Location''' {{!!}} {{{location|{{{coords}}}}}} }}
|- style="vertical-align: top;"
|- class="infobox-tr"
{{#if: {{{id|}}} | {{!}} '''Atlas ID''' {{!!}} [https://place-atlas.stefanocoding.me/?id={{{id}}} {{{id}}} ] }}
{{#if: {{{area|{{{pixels|}}}}}} | {{!}} class="infobox-parameter" {{!}} '''Area''' {{!!}} {{{area|{{{pixels}}}}}} pixels }}
|- style="vertical-align: top;"
|- class="infobox-tr"
 
{{#if: {{{id|}}} | {{!}} class="infobox-parameter" {{!}} '''Atlas ID''' {{!!}} [https://{{#switch:{{{year|}}}|2017=2017|2023=2023|2022|#default=2022}}.place-atlas.stefanocoding.me/?id={{{id}}} {{{id}}}] {{#ifexist:{{{id}}}| |<br /> [[{{{id}}}]] redirect is missing ([[Help:Artwork_Redirects|What does this mean?]]) [[Category:Missing Artwork ID]] }} | [[Category:Missing Artwork ID]] }}
{{#if: {{{creator|}}} | {{!}} '''Creator''' {{!!}} {{{creator}}} }}
|- class="infobox-tr"
{{#if: {{{creator|{{{community|}}}}}} | {{!}} class="infobox-parameter" {{!}} '''Creator''' {{!!}} {{{creator|{{{community}}}}}} }}
|}
|}
</div>
</div>
<noinclude>
[[Category:Artwork]]
<br clear="all">
</includeonly>
{{documentation}}
[[Category:Templates|Artwork]]
</noinclude>

Latest revision as of 17:55, 26 July 2023

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