Template:About-distinguish/doc: Difference between revisions
en>Tobiasi0 mNo edit summary |
Orangestar (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 30: | Line 30: | ||
"2": { | "2": { | ||
"label": "PAGE1", | "label": "PAGE1", | ||
"description": "First page to be shown in the 'Not to be confused with [[PAGE1]]' text. Enter the page name (and section)", | "description": "First page to be shown in the 'Not to be confused with [[wikipedia:PAGE1]]' text. Enter the page name (and section)", | ||
"example": "PAGE1", | "example": "PAGE1", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", |
Latest revision as of 18:02, 13 June 2024
![]() | This template uses Lua: |

"This page is about … Not to be confused with …"[edit source]
{{About-distinguish}}
is a template for noting other uses when there could be confusion with another topic.
{{about-distinguish|USE1|PAGE1}}
→{{about-distinguish|USE1|PAGE1|PAGE2}}
→{{about-distinguish|USE1|PAGE1{{!}}DISPLAY-TEXT|PAGE2#SECTION|PAGE3}}
→
For cases requiring custom text, use {{about-distinguish2}} instead:
{{about-distinguish-text|USE1|TEXT}}
→
If the page's Wikidata item has the property of being an instance of "human", then the template will try to replace "It" in "It is not to be confused with" with a more appropriate pronoun, based on the value of the "sex or gender" property of the item.
template for noting other uses when there could be confusion with another topic. For a version with custom text instead of links to other pages, see Template:about-distinguish-text
Parameter | Description | Type | Status | |
---|---|---|---|---|
USE (what this page is about) | 1 | This is shown for the thing saying 'This page is about ...' | String | required |
PAGE1 | 2 | First page to be shown in the 'Not to be confused with [[wikipedia:PAGE1]]' text. Enter the page name (and section)
| Page name | required |
PAGE2 | 3 | Another thing that the subject of this page is not to be confused with | Page name | optional |
PAGE3 | 4 | Yet another thing that the subject of this page is not to be confused with | Page name | optional |