Jump to content

Template:Art UK bio/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
m top: {{High-use}}
 
(40 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{High-use}}
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{Uses Wikidata|P1367}}


== Usage ==
== Usage ==


* <code>id=</code> or <code>1=</code> final portion of the Art UK URL, everything after https://<nowiki/>artuk.org/discover/artworks/search/actor: (optional -- drawing directly from Wikidata is preferred; but can be overridden locally in this way)
# slug of Your Paintings URL (required; you can look these up at [[WP:Yours]])
# name (optional; defaults to page name)
* <code>name=</code> or <code>2=</code> name (optional; defaults to page name, excluding final parentheses if any)
* <code>wikidata=Q....</code> give link for an artist other than the main subject of article (optional)
* <code>nocount=true</code> suppress number of works (optional)
* <code>oxbio=true</code> output sis followed by: see extended ''Oxford Dictionary of Art and Artists'' biography, under "artist profile" (optional)
* <code>addtext=</code> output is followed by the specified text (optional)
* <code>ref=true</code> format the output as a reference (optional; use with <code>retrieved=</code>)
* <code>retrieved=</code> output is followed by ". Retrieved " and the specified date (optional; use with <code>ref=</code>)
* <code>type=</code> overrides the default "artwork" (e.g., {{para|type|painting}} or {{para|type|sculpture}})


== Examples ==
== Examples ==


*For most pages simply use:
;<nowiki>* {{YourPaintings|charles-walter-simpson|Charles Walter Simpson}}</nowiki>
::;<nowiki>* {{Art UK bio}}</nowiki>
:* {{YourPaintings|charles-walter-simpson|Charles Walter Simpson}}
::* {{Art UK bio}} <!-- fake for {{PAGENAME}} -->
:By default, the template will use the page-name of the article (without any disambiguating final parentheses), and try to retrieve the Art UK identifier automatically from Wikidata.


* An artist can also be linked by giving the identifier part of the Art UK directly, e.g.:
== See also ==
::;<nowiki>* {{Art UK bio|id=de-marees-georges-16971776|name=George de Marées}}</nowiki>
::* {{Art UK bio|id=de-marees-georges-16971776|name=George de Marées}}
::;<nowiki>* {{Art UK bio|desmarees-george-16971776|George Desmarées}}</nowiki>
::* {{Art UK bio|desmarees-george-16971776|George Desmarées}}
: This can be necessary if an artist has more than one page at Art UK. However, if possible, it should be preferred to link via Wikidata as above, as the Wikidata entry is more likely to be updated if the Art UK identifier changes.


* To link to an artist ''other'' than the subject of the article, e.g. [[Charles Walter Simpson (English artist)]] on this page, supply the name and the wikidata item explicitly, as:
* {{Tl|YourPaintings GLAM}}
::;<nowiki>* {{Art UK bio|wikidata=Q5083334|name=Charles Walter Simpson}}</nowiki>
::* {{Art UK bio|wikidata=Q5083334|name=Charles Walter Simpson}}
:If the Wikidata item contains {{property|1367}} without the qualifier {{property|P3740}}:
::;<nowiki>* {{Art UK bio|wikidata=Q40219650|name=R. G. Brown}}</nowiki>
::* {{Art UK bio|wikidata=Q40219650|name=R. G. Brown}}
:If the Wikidata item does not contain {{property|1367}}:
::;<nowiki>* {{Art UK bio|wikidata=Q9682|name=Elizabeth II}}</nowiki>
::* {{Art UK bio|wikidata=Q9682|name=Elizabeth II}}

* To omit the number of paintings, use {{para|nocount|true}}, e.g.:
::;<nowiki>* {{Art UK bio|wikidata=Q5083334|name=Charles Walter Simpson|nocount=true}}</nowiki>
::* {{Art UK bio|wikidata=Q5083334|name=Charles Walter Simpson|nocount=true}}

* For links with an ''Oxford Dictionary of Art and Artists'' biography, use {{para|oxbio|true}}, e.g.:
::;<nowiki>* {{Art UK bio|wikidata=Q5083334|name=Charles Walter Simpson|oxbio=true}}</nowiki>
::* {{Art UK bio|wikidata=Q5083334|name=Charles Walter Simpson|oxbio=true}}

* To add text after the usual output, use {{para|addtext}}, e.g.:
::;<nowiki>* {{Art UK bio|wikidata=Q5083334|name=Charles Walter Simpson|addtext=. ADDED TEXT}}</nowiki>
::* {{Art UK bio|wikidata=Q5083334|name=Charles Walter Simpson|addtext=. ADDED TEXT}}

* To format the output as a reference, use {{para|ref|true}}, e.g.:
::;<nowiki>* {{Art UK bio|wikidata=Q21458087|name=Stephen John Marshall|ref=true}}</nowiki>
::* {{Art UK bio|wikidata=Q21458087|name=Stephen John Marshall|ref=true}}

* To add a retrieved date after the usual output, use {{para|retrieved}}, e.g.:
::;<nowiki>* {{Art UK bio|wikidata=Q21458087|name=Stephen John Marshall|ref=true|retrieved=</nowiki>{{TODAY}}<nowiki>}}</nowiki>
::* {{Art UK bio|wikidata=Q21458087|name=Stephen John Marshall|ref=true|retrieved={{TODAY}}}}

== Tracking category ==
* {{clc|Pages with Art UK bio with locally-specified ID}} &ndash; if used with a specific ID

== See also ==
* {{Tl|Art UK venue}} - for institutions


<includeonly>
<includeonly>{{sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:External link templates]]
[[Category:Templates using data from Wikidata]]
[[Category:United Kingdom arts and culture templates|Bio]]
[[Category:External link templates using Wikidata]]
</includeonly>
[[Category:Templates that add a tracking category]]
}}</includeonly>

Latest revision as of 17:57, 26 December 2023

Usage

[edit]
  • id= or 1= final portion of the Art UK URL, everything after https://artuk.org/discover/artworks/search/actor: (optional -- drawing directly from Wikidata is preferred; but can be overridden locally in this way)
  • name= or 2= name (optional; defaults to page name, excluding final parentheses if any)
  • wikidata=Q.... give link for an artist other than the main subject of article (optional)
  • nocount=true suppress number of works (optional)
  • oxbio=true output sis followed by: see extended Oxford Dictionary of Art and Artists biography, under "artist profile" (optional)
  • addtext= output is followed by the specified text (optional)
  • ref=true format the output as a reference (optional; use with retrieved=)
  • retrieved= output is followed by ". Retrieved " and the specified date (optional; use with ref=)
  • type= overrides the default "artwork" (e.g., |type=painting or |type=sculpture)

Examples

[edit]
  • For most pages simply use:
* {{Art UK bio}}
By default, the template will use the page-name of the article (without any disambiguating final parentheses), and try to retrieve the Art UK identifier automatically from Wikidata.
  • An artist can also be linked by giving the identifier part of the Art UK directly, e.g.:
* {{Art UK bio|id=de-marees-georges-16971776|name=George de Marées}}
* {{Art UK bio|desmarees-george-16971776|George Desmarées}}
This can be necessary if an artist has more than one page at Art UK. However, if possible, it should be preferred to link via Wikidata as above, as the Wikidata entry is more likely to be updated if the Art UK identifier changes.
* {{Art UK bio|wikidata=Q5083334|name=Charles Walter Simpson}}
If the Wikidata item contains Art UK artist ID (P1367) without the qualifier number of works (P3740):
* {{Art UK bio|wikidata=Q40219650|name=R. G. Brown}}
If the Wikidata item does not contain Art UK artist ID (P1367):
* {{Art UK bio|wikidata=Q9682|name=Elizabeth II}}
  • To omit the number of paintings, use |nocount=true, e.g.:
* {{Art UK bio|wikidata=Q5083334|name=Charles Walter Simpson|nocount=true}}
  • For links with an Oxford Dictionary of Art and Artists biography, use |oxbio=true, e.g.:
* {{Art UK bio|wikidata=Q5083334|name=Charles Walter Simpson|oxbio=true}}
  • To add text after the usual output, use |addtext=, e.g.:
* {{Art UK bio|wikidata=Q5083334|name=Charles Walter Simpson|addtext=. ADDED TEXT}}
  • To format the output as a reference, use |ref=true, e.g.:
* {{Art UK bio|wikidata=Q21458087|name=Stephen John Marshall|ref=true}}
  • To add a retrieved date after the usual output, use |retrieved=, e.g.:
* {{Art UK bio|wikidata=Q21458087|name=Stephen John Marshall|ref=true|retrieved=13 November 2024}}

Tracking category

[edit]

See also

[edit]