Difference between revisions of "Template:About-distinguish/sandbox"
Jump to navigation
Jump to search
blackwiki>Pppery |
m (5 revisions imported) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#invoke:Sandbox/pppery/sentence list hatnote|list|This {{pagetype|file=no|template=no|book=no|module | + | <includeonly>{{#invoke:Sandbox/pppery/sentence list hatnote|list|This {{pagetype|file=no|template=no|book=no|module=no}} is about {{{1}}}. {{#ifeq:{{#property:P31}}|human|{{#switch:{{#property:P21}}|male|transgender male=He is|female|transgender female=She is|#default=They are}}|It is}} not to be confused with|start=2}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 15:36, 16 October 2020
![]() | This is the template sandbox page for Template:About-distinguish (diff). |
![]() | 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}}
→ 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:
{{about-distinguish2|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.
The above documentation is transcluded from Template:About-distinguish/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |