Vorlage:Dmbox/Doku: Unterschied zwischen den Versionen
update
imported>Davidgothberg (→See also: Adding link to MediaWiki:Disambiguationspage.) |
imported>Edokter (update) |
||
Zeile 19: | Zeile 19: | ||
{{dmbox | text = Some text.}} | {{dmbox | text = Some text.}} | ||
<pre> | |||
{{dmbox | type = setindex | text = Some text.}} | |||
</pre> | |||
{{dmbox | type = setindex | text = Some text.}} | |||
Complex example: | Complex example: | ||
Zeile 37: | Zeile 43: | ||
| text = The message body text. | | text = The message body text. | ||
}} | }} | ||
Some other parameter combinations: | Some other parameter combinations: | ||
Zeile 87: | Zeile 92: | ||
'''image''' | '''image''' | ||
:'''No parameter''' = If no '''image''' parameter is given the template uses the default disambig image. | :'''No parameter''' = If no '''image''' parameter is given, the template uses the default disambig or setindex image, depending on the '''type''' parameter. | ||
:'''An image''' = Should be an image with usual wiki notation. 30px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example: | :'''An image''' = Should be an image with usual wiki notation. 30px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example: | ||
::<code><nowiki>image = [[Image:Schooner.svg|30px]]</nowiki></code> | ::<code><nowiki>image = [[Image:Schooner.svg|30px]]</nowiki></code> |