Template:Substack handle/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>Gotitbro at 10:35, 30 August 2025. The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Substack handle displays an external link to a user's profile page at Substack's website. It is intended for use in the external links section of an article.

Please note: This is for linking to the profile pages of individual users. URLs for these pages are in the format substack.com/@handle. They should not be confused with URLs used for newsletter pages, which begin newsletter.substack.com.

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 }}
Using Wikidata property P13568
{{Substack handle}}
{{Substack handle | name= Displayed Name }}

Examples

[edit source]

Unnamed parameters

[edit source]

URL:

https://substack.com/@kareem

Usage:

{{Substack handle | kareem | Kareem Abdul-Jabbar }}

Output:

Kareem Abdul-Jabbar on Substack

Named parameters

[edit source]

URL:

https://substack.com/@paulkrugman

Usage:

{{Substack handle | id= paulkrugman | name= Paul Krugman }}

Output:

Paul Krugman on Substack

No parameters and Wikidata property not defined

[edit source]

Usage:

{{Substack handle}}

Output:

Substack handle/doc on SubstackLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).

TemplateData

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

TemplateData for Substack handle

This template displays an external link to a page at Substack. 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 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.

Default
Wikidata property P13568
Stringoptional
namename 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.

Default
{{PAGENAMEBASE}}
Stringoptional