Template:About-distinguish/doc
This is a documentation subpage for Template:About-distinguish. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
"This page is about … It is not to be confused with …"
{{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.
<templatedata>
{
"params": {
"1": {
"label": "USE (what this page is about)",
"description": "This is shown for the thing saying 'This page is about ...'",
"type": "string",
"required": true
},
"2": {
"label": "PAGE1",
"description": "First page to be shown in the 'Not to be confused with PAGE1' text. Enter the page name (and section)",
"example": "PAGE1",
"type": "wiki-page-name",
"required": true
},
"3": {
"label": "PAGE2",
"description": "Another thing that the subject of this page is not to be confused with",
"type": "wiki-page-name"
},
"4": {
"label": "PAGE3",
"description": "Yet another thing that the subject of this page is not to be confused with",
"type": "wiki-page-name"
}
},
"description": "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",
"format": "inline"
}
</templatedata>