Vorlage:Dmbox/Doku: Unterschied zwischen den Versionen

Better explanation of the "type=disambig/setindex" option.
imported>Davidgothberg
(Moving the test examples to the /testcases subpage.)
imported>Davidgothberg
(Better explanation of the "type=disambig/setindex" option.)
Zeile 81: Zeile 81:
'''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''' = Means that this template internally sets the CSS id "disambig". Which means that the {{tl|disambig editintro}} is displayed when editing a page with this template on. (The id is used by the javascript in [[MediaWiki:Common.js]] to determine if a page is a disambiguation page or not.)
:'''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 "disambig". The id is used by the javascript in [[MediaWiki:Common.js]] to determine if a page is a disambiguation page or not.)
:'''setindex''' = Means that this template sets the CSS id "setindexbox". Which does ''not'' trigger the {{tl|disambig editintro}} when editing a page.
:'''setindex''' = Does ''not'' trigger the {{tl|disambig editintro}} when editing a page. (Because this instead sets the CSS id "setindexbox".)


'''image'''
'''image'''
Anonymer Benutzer