3,860
edits
No edit summary |
No edit summary |
||
| Line 20: | Line 20: | ||
{{fmbox | text = Some text.}} | {{fmbox | text = Some text.}} | ||
Complex example: | Complex example: | ||
| Line 27: | Line 26: | ||
{{fmbox | {{fmbox | ||
| type = editnotice | | type = editnotice | ||
| image = [[Image:Emblem-question-yellow. | | image = [[Image:Emblem-question-yellow.png|40px]] | ||
| style = border: 1px solid #f4c430; | | style = border: 1px solid #f4c430; | ||
| textstyle = color: red; font-weight: bold; font-style: italic; | | textstyle = color: red; font-weight: bold; font-style: italic; | ||
| Line 36: | Line 35: | ||
{{fmbox | {{fmbox | ||
| type = editnotice | | type = editnotice | ||
| image = [[Image:Emblem-question-yellow. | | image = [[Image:Emblem-question-yellow.png|40px]] | ||
| style = border: 1px solid #f4c430; | | style = border: 1px solid #f4c430; | ||
| textstyle = color: red; font-weight: bold; font-style: italic; | | textstyle = color: red; font-weight: bold; font-style: italic; | ||
| Line 66: | Line 65: | ||
{{fmbox | {{fmbox | ||
| image = [[Image:User-info. | | image = [[Image:User-info.png|40px]] | ||
| text = image = <nowiki>[[Image:User-info. | | text = image = <nowiki>[[Image:User-info.png|40px]]</nowiki> <br> This image is used for [[MediaWiki:Sp-contributions-footer]]. | ||
}} | }} | ||
{{fmbox | {{fmbox | ||
| image = [[Image:Commons-logo. | | image = [[Image:Commons-logo.png|40x40px]] | ||
| text = image = <nowiki>[[Image:Commons-logo. | | text = image = <nowiki>[[Image:Commons-logo.png|40x40px]]</nowiki> <br> Note the use of "40x40px" to also limit the height of the image. This image is used for [[MediaWiki:Sharedupload-desc-here]]. | ||
}} | }} | ||
| Line 86: | Line 85: | ||
}} | }} | ||
{{fmbox | {{fmbox | ||
| image = [[Image:User-info. | | image = [[Image:User-info.png|40px]] | ||
| imageright = [[Image:Nuvola apps bookcase. | | imageright = [[Image:Nuvola apps bookcase.png|40px]] | ||
| text = image = <nowiki>[[Image:User-info. | | text = image = <nowiki>[[Image:User-info.png|40px]]</nowiki> <br> imageright = <nowiki>[[Image:Nuvola apps bookcase.png|40px]]</nowiki> | ||
}} | }} | ||
| Line 98: | Line 97: | ||
{{fmbox | {{fmbox | ||
| type = system / editnotice / warning | | type = system / editnotice / warning | ||
| image = none / [[Image:Some image. | | image = none / [[Image:Some image.png|40px]] | ||
| imageright = [[Image:Some image. | | imageright = [[Image:Some image.png|40px]] | ||
| id = CSS id | | id = CSS id | ||
| class = CSS class names | | class = CSS class names | ||
| Line 114: | Line 113: | ||
:'''No parameter''' = If no '''image''' parameter is given the template uses a default image. Which default image it uses depends on the '''type''' parameter. | :'''No parameter''' = If no '''image''' parameter is given the template uses a default image. Which default image it uses depends on the '''type''' parameter. | ||
:'''An image''' = Should be an image with usual wiki notation. 40px - 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. 40px - 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:User-info. | ::<code><nowiki>image = [[Image:User-info.png|40px]]</nowiki></code> | ||
:'''none''' = Means that no image is used. | :'''none''' = Means that no image is used. | ||
| Line 178: | Line 177: | ||
=== See also === | === See also === | ||
{{Mbox templates see also}} | {{Mbox templates see also}} | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | ||
edits