Difference between revisions of "Template:About-distinguish/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Wbm1058
m (18 revisions imported)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{documentation subpage}}
 +
{{Lua|Module:About-distinguish}}
 +
{{Uses Wikidata|P21|P31}}
 
==="''This page is about … It is not to be confused with …''"===
 
==="''This page is about … It is not to be confused with …''"===
 
{{tlx|About-distinguish}} is a template for noting other uses when there could be confusion with another topic.
 
{{tlx|About-distinguish}} is a template for noting other uses when there could be confusion with another topic.
  
* {{tlx|About-distinguish|USE1|PAGE1}} → {{About-distinguish|USE1|PAGE1}}
+
* {{tlx|about-distinguish|USE1|PAGE1}} → {{about-distinguish|USE1|PAGE1}}
* {{tlx|About-distinguish2|USE1|TEXT}} → {{About-distinguish2|USE1|TEXT}}
+
* {{tlx|about-distinguish|USE1|PAGE1|PAGE2}} → {{about-distinguish|USE1|PAGE1|PAGE2}}
* {{tlx|About-distinguish-custom|USE1|TEXT}} → {{About-distinguish-custom|USE1|TEXT}}
+
* {{tlx|about-distinguish|USE1|PAGE1<nowiki>{{!}}</nowiki>DISPLAY-TEXT|PAGE2#SECTION|PAGE3}} → {{about-distinguish|USE1|PAGE1{{!}}DISPLAY-TEXT|PAGE2#SECTION|PAGE3}}
  
 +
For cases requiring custom text, use {{tl|about-distinguish2}} instead:
 +
* {{tlx|about-distinguish2|USE1|TEXT}} → {{about-distinguish2|USE1|TEXT}}
  
{{Hatnote templates documentation}}
+
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.
  
<includeonly>
+
{{Hatnote templates}}
 +
 
 +
<includeonly>{{sandbox other||
 
[[Category:Hatnote templates]]
 
[[Category:Hatnote templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 15:35, 16 October 2020

Template:Uses Wikidata

"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}}Lua error in Module:About-distinguish at line 61: attempt to index field 'wikibase' (a nil value).
  • {{about-distinguish|USE1|PAGE1|PAGE2}}Lua error in Module:About-distinguish at line 61: attempt to index field 'wikibase' (a nil value).
  • {{about-distinguish|USE1|PAGE1{{!}}DISPLAY-TEXT|PAGE2#SECTION|PAGE3}}Lua error in Module:About-distinguish at line 61: attempt to index field 'wikibase' (a nil value).

For cases requiring custom text, use {{about-distinguish2}} instead:

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.