Jump to content

Template:Aaregistry/doc

From Humanipedia

Lua error in package.lua at line 80: module 'Module:Yesno' not found. Lua error in package.lua at line 80: module 'Module:Yesno' not found. Aaregistry displays an external link to a page at the African American Registry.

{{aaregistry|Firstname Lastname or article title|Displayname}}

Usage[edit source]

To create a link to the page for Paul Winfield, use only {{aaregistry}}. The template uses {{PAGENAMEBASE}} to create a default link.

Example 1[edit source]

Paul Winfield at the African American Registry

{{aaregistry}}

Using {{PAGENAMEBASE}}, a short URL for Paul Winfield is created. The website converts it to the full URL automatically.

https://www.aaregistry.org/story/Paul-Winfield

Example 2[edit source]

John Harold Johnson at the African American Registry

{{aaregistry|John H. Johnson|John Harold Johnson}}

The short URL for John H. Johnson includes a period, which is also automatically parsed.

https://www.aaregistry.org/story/John-H.-Johnson

Example 3[edit source]

Madame Sul-Te-Wan at the African American Registry

{{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.

https://www.aaregistry.org/story/Beautiful-and-talented,-Madame-Sul-Te-Wan

Template data[edit source]

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

TemplateData for Aaregistry

<templatedata> {

       "description": "This template displays an external link to a page at the African American Registry.",

"params": { "1": { "label": "Name", "description": "The subject's full name or the article title.", "type": "string", "required": false }, "2": { "label": "Display", "description": "Name displayed in the link text. If not specified it defaults to the article's Aaregistry/doc, without disambiguation.", "type": "string",

                       "required": false

} } } </templatedata>