Template:Art UK bio/doc: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
Tom.Reding (talk | contribs) 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]]) |
|||
* <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>* {{Art UK bio}}</nowiki> |
|||
⚫ | |||
::* {{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.: |
|||
⚫ | |||
::;<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}} |
|||
⚫ | |||
⚫ | |||
: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}} – if used with a specific ID |
|||
⚫ | |||
* {{Tl|Art UK venue}} - for institutions |
|||
<includeonly> |
<includeonly>{{sandbox other|| |
||
<!-- Categories below this line; interwikis at Wikidata --> |
|||
⚫ | |||
[[Category: |
[[Category:United Kingdom arts and culture templates|Bio]] |
||
⚫ | |||
⚫ | |||
[[Category:Templates that add a tracking category]] |
|||
⚫ |
Latest revision as of 17:57, 26 December 2023
This is a documentation subpage for Template:Art UK bio. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 2,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses the Wikidata property:
- Art UK artist ID (P1367) (see uses)
Usage
[edit]id=
or1=
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=
or2=
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 withretrieved=
)retrieved=
output is followed by ". Retrieved " and the specified date (optional; use withref=
)type=
overrides the default "artwork" (e.g.,|type=painting
or|type=sculpture
)
Examples
[edit]- For most pages simply use:
- * {{Art UK bio}}
- Artworks by or after Art UK bio/doc at the Art UK site
- 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}}
- Artworks by or after George de Marées at the Art UK site
- * {{Art UK bio|desmarees-george-16971776|George Desmarées}}
- Artworks by or after George Desmarées at the Art UK site
- 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:
- * {{Art UK bio|wikidata=Q5083334|name=Charles Walter Simpson}}
- 27 artworks by or after Charles Walter Simpson at the Art UK site
- 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}}
- Artworks by or after R. G. Brown at the Art UK site
- If the Wikidata item does not contain Art UK artist ID (P1367):
- * {{Art UK bio|wikidata=Q9682|name=Elizabeth II}}
- Artworks by or after Elizabeth II at the Art UK site
- To omit the number of paintings, use
|nocount=true
, e.g.:
- * {{Art UK bio|wikidata=Q5083334|name=Charles Walter Simpson|nocount=true}}
- Artworks by or after Charles Walter Simpson at the Art UK site
- 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}}
- 27 artworks by or after Charles Walter Simpson at the Art UK site: see extended Oxford Dictionary of Art and Artists biography, under "artist profile"
- To add text after the usual output, use
|addtext=
, e.g.:
- * {{Art UK bio|wikidata=Q5083334|name=Charles Walter Simpson|addtext=. ADDED TEXT}}
- 27 artworks by or after Charles Walter Simpson at the Art UK site. 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}}
- 1 artwork by or after Stephen John Marshall, Art UK. Retrieved 13 November 2024.
Tracking category
[edit]- Category:Pages with Art UK bio with locally-specified ID (17) – if used with a specific ID
See also
[edit]- {{Art UK venue}} - for institutions