Difference between revisions of "Template:Disambiguation"

 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{{#template_params:definition(property=)| similar-titles (list;property=Foaf:homepage)}}
+
== Usage ==
</noinclude><includeonly>
+
Inform users about the existence of a page with a similar title. It should be called like this:
This page is about {{definition}}.
 
'''similar-titles:''' {{#arraymap:{{{similar-titles|}}}|,|x|[[Foaf:homepage::x]]}}
 
  
 
+
<nowiki>{{Disambiguation | definition='''xyz'''| otherpage=Title of the page not to confuse this page with}}</nowiki>
''':''' {{#ask:[[Foaf:homepage::{{SUBJECTPAGENAME}}]]|format=list}}
+
</noinclude>
</includeonly>
+
<includeonly>''This page is about {{{definition}}}. It is not to be confused with [[{{{otherpage}}}]]. </includeonly>

Latest revision as of 09:42, 20 September 2023

UsageEdit

Inform users about the existence of a page with a similar title. It should be called like this:

{{Disambiguation | definition='''xyz'''| otherpage=Title of the page not to confuse this page with}}