Jump to content

Template:ACM Portal/doc

From Wikipedia, the free encyclopedia

Template:ACM Portal displays an external link to an author profile page at the Association for Computing Machinery (ACM) Digital Library website (dl.acm.org). It is intended for use in the external links section of an article.

Usage

[edit]

Unnamed parameters:

{{ACM Portal | ID }}
{{ACM Portal | ID | NAME }}

Named parameters:

{{ACM Portal | id= ID }}
{{ACM Portal | id= ID | name= NAME }}

Using Wikidata property ACM Digital Library author ID (P864):

{{ACM Portal}}
{{ACM Portal | name= NAME }}

Examples

[edit]

One parameter

[edit]

Usage in the article Frances E. Allen, with article name as link text:

* {{ACM Portal | 81100651807 }}
* {{ACM Portal | id= 81100651807 }}

Output:

URL:

https://dl.acm.org/author_page.cfm?id=81100651807

Two parameters

[edit]

Usage with name parameter as link text:

* {{ACM Portal | 81100515854 | Andrew S. Tanenbaum }}
* {{ACM Portal | id= 81100515854 | name= Andrew S. Tanenbaum }}

Output:

URL:

https://dl.acm.org/author_page.cfm?id=81100515854

ID in Wikidata

[edit]

Usage in the article Gunther Schmidt:

* {{ACM Portal}}
* {{ACM Portal | name= Gunther Schmidt }}

Output:

URL:

https://dl.acm.org/author_page.cfm?id=81100588616

No parameters and Wikidata property not defined

[edit]

Usage:

{{ACM Portal}}

Output:

{{ACM Portal}} template missing ID and not present in Wikidata.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:ACM Portal in articles based on its TemplateData.

TemplateData for ACM Portal

This template displays an external link to an author profile page at the Association for Computing Machinery (ACM) Digital Library website (dl.acm.org). It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 81100651807 is the ID portion of https://dl.acm.org/author_page.cfm?id=81100651807. This parameter is optional if Wikidata property P864 exists, but required if not.

Default
Wikidata property P864
Numberoptional
namename 2 title

The "name" parameter (or "title" or unnamed parameter "2") may be used to specify the link text, which should be the name of the subject of the link. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.

Default
{{PAGENAMEBASE}}
Stringoptional

See also

[edit]