Difference between revisions of "Template:ARC artist/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
(minor updates)
blackwiki>Vanisaac
m (→‎Two parameters: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
Line 57: Line 57:
 
: {{{{BASEPAGENAME}} | id= 7 | name= William-Adolphe Bouguereau }}
 
: {{{{BASEPAGENAME}} | id= 7 | name= William-Adolphe Bouguereau }}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:People and person external link templates|Arc artist]]
 
[[Category:People and person external link templates|Arc artist]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 23:04, 23 April 2020

Template:ARC artist displays an external link to an artist's page at the Art Renewal Center.

Usage

One parameter:

{{ARC artist | ID }}
{{ARC artist | id= ID }}

Two parameters:

{{ARC artist | ID | NAME }}
{{ARC artist | id= ID | name= NAME }}

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for ARC artist

This template displays an external link to an artist's page at the Art Renewal Center.

Template parameters

ParameterDescriptionTypeStatus
ID1 id

ID number used in the URL.

Numberrequired
Name2 name

Name displayed in the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation.

Stringoptional

Examples

The following examples show a link to the page for William-Adolphe Bouguereau:

http://www.artrenewal.org/pages/artist.php?artistid=7

One parameter

Usage:

{{ARC artist | 7 }}
{{ARC artist | id= 7 }}

Results:

Works by Template:PAGENAMEBASE at the Art Renewal Center
Works by Template:PAGENAMEBASE at the Art Renewal Center

Two parameters

Usage:

{{ARC artist | 7 | William-Adolphe Bouguereau }}
{{ARC artist | id= 7 | name= William-Adolphe Bouguereau }}

Results:

Works by William-Adolphe Bouguereau at the Art Renewal Center
Works by William-Adolphe Bouguereau at the Art Renewal Center