Difference between revisions of "Template:Aaregistry"
blackwiki>Zyxw m (remove blank line before <noinclude>) |
blackwiki>Jon Kolbert (http->https) |
||
| Line 1: | Line 1: | ||
| − | [ | + | [https://web.archive.org/web/http://www.aaregistry.com/detail.php?id={{Trim|{{{1|{{{id}}}}}}}} {{{2|{{{name|{{PAGENAMEBASE}}}}}}}}] at the [[African American Registry]] (archived by the [[Wayback Machine]])<noinclude> |
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 23:50, 25 August 2017
Template:PAGENAMEBASE at the African American Registry (archived by the Wayback Machine)
Aaregistry displays an external link to a page at the African American Registry.
{{aaregistry|Firstname Lastname or article title|Displayname}}
Usage
To create a link to the page for Paul Winfield, use only {{aaregistry}}. The template uses {{PAGENAMEBASE}} to create a default link.
Example 1
Winfield Template:PAGENAMEBASE at the African American Registry (archived by the Wayback Machine)
- →
{{aaregistry}}
Using {{PAGENAMEBASE}}, a short URL for Paul Winfield is created. The website converts it to the full URL automatically.
Example 2
H. Johnson John Harold Johnson at the African American Registry (archived by the Wayback Machine)
- →
{{aaregistry|John H. Johnson|John Harold Johnson}}
The short URL for John H. Johnson includes a period, which is also automatically parsed.
Example 3
and talented, Madame Sul-Te-Wan Madame Sul-Te-Wan at the African American Registry (archived by the Wayback Machine)
- →
{{aaregistry|Beautiful and talented, Madame Sul-Te-Wan|Madame Sul-Te-Wan}}
As is the case for Madame Sul-Te-Wan, sometimes {{PAGENAMEBASE}} doesn't do the trick. In such cases the article title can be used.
Template data
TemplateData for Aaregistry
This template displays an external link to a page at the African American Registry.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | 1 | The subject's full name or the article title. | String | optional |
| Display | 2 | Name displayed in the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation. | String | optional |
| The above documentation is transcluded from Template:Aaregistry/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |