Template:Substack handle
![]() | This template uses Lua: |
Template:Substack handle displays an external link to a user's profile page at Substack's website. (This should not be confused with the URL of a newsletter on Substack.) It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{Substack handle | account_name }}
{{Substack handle | account_name | Displayed Name }}
- Named parameters
{{Substack handle | id= account_name }}
{{Substack handle | id= account_name | name= Displayed Name }}
Examples
[edit]Unnamed parameters
[edit]URL:
Usage:
{{Substack handle | kareem | Kareem Abdul-Jabbar }}
Output:
Named parameters
[edit]URL:
Usage:
{{Substack handle | id= paulkrugman | name= Paul Krugman }}
Output:
No parameters and Wikidata property not defined
[edit]Usage:
{{Substack handle}}
Output:
- {{Substack handle}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for Substack handle
This template displays an external link to a page at Medium. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the account name in the URL. Example: kareem is the account name in https://substack.com/@kareem. This parameter is optional if Wikidata property P13568 exists, but required if not.
| String | optional |
name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.
| String | optional |