Template:Dmbox/doc: Difference between revisions

m
updated article and removed red links
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{mbox templates}} This is the {{tl|dmbox}} or '''disambiguation footer messa...")
 
m (updated article and removed red links)
Line 6: Line 6:
This is the {{tl|dmbox}} or '''disambiguation footer message box''' meta-template.
This is the {{tl|dmbox}} or '''disambiguation footer message box''' meta-template.


It is used to build disambiguation and [[FamilySearch Wiki:Disambiguation#Set index articles|set index article]] boxes, such as {{tl|Disambig}} and {{tl|geodis}}.  
It is used to build disambiguation and [[FamilySearch Wiki:Disambiguation#Set index articles|set index article]] boxes, such as {{tl|Disambig}}.  


This template works similarly to {{tl|ambox}} and mostly uses the same parameters. The main differences are that this box uses the disambiguation style and only has two "type" settings.
This template works similarly to {{tl|ambox}} and mostly uses the same parameters. The main differences are that this box uses the disambiguation style and only has two "type" settings.
Line 85: Line 85:
'''type'''
'''type'''
:If no '''type''' parameter is given the template defaults to type '''disambig'''.
:If no '''type''' parameter is given the template defaults to type '''disambig'''.
:'''disambig''' = Makes it so the {{tl|disambig editintro}} is displayed when editing a page with this template on. (Means that this template internally sets the CSS id "disambigbox". The id is used by the javascript in [[MediaWiki:Common.js]] to determine if a page is a disambiguation page or not.) And adds [[:Category:All disambiguation pages]] and [[:Category:All article disambiguation pages]].
:'''disambig''' = The FamilySearch Research Wiki does not use it at this time.


:'''setindex''' = Does ''not'' trigger the {{tl|disambig editintro}} when editing a page. (Because this instead sets the CSS id "setindexbox".) And adds [[:Category:All set index articles]].
:'''setindex''' = The FamilySearch Research Wiki does not use it at this time.


'''nocat'''
'''nocat'''
Line 140: Line 140:




Internally, this meta-template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta-templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.  
Internally, this meta-template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta-templates since wiki markup has several drawbacks. For instance it makes it harder to use parser functions and special characters in parameters.  


For more technical details see the [[Template talk:Dmbox|talk page]]. Since this template works almost exactly like {{tl|ambox}}, {{tl|tmbox}}, {{tl|imbox}}, {{tl|cmbox}} and {{tl|ombox}} their talk pages and related pages might also contain more details.
For more technical details see the [[Template talk:Dmbox|talk page]]. Since this template works almost exactly like {{tl|ambox}}, {{tl|tmbox}}, {{tl|imbox}}, {{tl|cmbox}} and {{tl|ombox}} their talk pages and related pages might also contain more details.
Line 150: Line 150:


* [[FamilySearch Wiki:Disambiguation]] – Also has a section explaining [[FamilySearch Wiki:Disambiguation#Set index articles|set index articles]].
* [[FamilySearch Wiki:Disambiguation]] – Also has a section explaining [[FamilySearch Wiki:Disambiguation#Set index articles|set index articles]].
* [[FamilySearch Wiki:WikiProject Disambiguation]]
* [[MediaWiki:Disambiguationspage]] – Should list all disambiguation message boxes, so that some automatic tools can know what pages are disambiguation pages. Now also has a separate list with all set index message boxes, so some tools can know what pages are set index articles.
* [[MediaWiki:Disambiguationspage]] – Should list all disambiguation message boxes, so that some automatic tools can know what pages are disambiguation pages. Now also has a separate list with all set index message boxes, so some tools can know what pages are set index articles.


* {{tl|Disambiguation}} – The generic disambiguation message box.
* {{tl|Disambig}} – The generic disambiguation message box.
* {{tl|Set index article}} – The generic set index article message box.
 


{{mbox template family}}


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||