Vorlage:Fmbox/Doku: Unterschied zwischen den Versionen

K
61 Versionen von wikivoyage:Vorlage:Fmbox/Doku importiert
Keine Bearbeitungszusammenfassung
K (61 Versionen von wikivoyage:Vorlage:Fmbox/Doku importiert)
 
(30 dazwischenliegende Versionen von 21 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
{{Documentation subpage}}
{{Dokumentation Unterseite}}
{{used in system| in many system messages }}
{{high-risk}}
{{Lua|Modul:Message box}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->


Zeile 6: Zeile 7:
This is the {{tl|fmbox}} or '''footer & header message box''' template.
This is the {{tl|fmbox}} or '''footer & header message box''' template.


It can be used to build message boxes for system messages such as [[MediaWiki:Sp-contributions-footer-anon]]. It can also be used for footer and header boxes on user pages and for [[Wikipedia:Editnotice|editnotices]].
It can be used to build message boxes for system messages such as [[MediaWiki:Sp-contributions-footer-anon]]. It can also be used for footer and header boxes on user pages and for [[w:en:Wikipedia:Editnotice|editnotices]].


This template works similarly to {{tl|ambox}} and mostly uses the same parameters. The main differences are that this box is 100% wide and has different colour styles.
This template works similarly to {{tl|ambox}} and mostly uses the same parameters. The main differences are that this box is 100% wide and has different colour styles.
Zeile 26: Zeile 27:
{{fmbox
{{fmbox
| type      = editnotice
| type      = editnotice
| image    = [[Image:Emblem-question-yellow.png|40px]]
| image    = [[Image:Emblem-question-yellow.svg|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;
Zeile 35: Zeile 36:
{{fmbox
{{fmbox
| type = editnotice
| type = editnotice
| image    = [[Image:Emblem-question-yellow.png|40px]]
| image    = [[Image:Emblem-question-yellow.svg|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;
Zeile 52: Zeile 53:
{{fmbox
{{fmbox
| type = editnotice
| type = editnotice
| text = type=<u>editnotice</u> – Transparent background for [[Wikipedia:Editnotice|editnotices]].
| text = type=<u>editnotice</u> – Transparent background for [[w:en:Wikipedia:Editnotice|editnotices]].
}}
}}


Zeile 65: Zeile 66:


{{fmbox
{{fmbox
| image = [[Image:User-info.png|40px]]
| image = [[Image:User-info.svg|40px]]
| text  = image = <nowiki>[[Image:User-info.png|40px]]</nowiki> <br> This image is used for [[MediaWiki:Sp-contributions-footer]].  
| text  = image = <nowiki>[[Image:User-info.svg|40px]]</nowiki> <br> This image is used for [[MediaWiki:Sp-contributions-footer]].  
}}
}}
{{fmbox
{{fmbox
| image = [[Image:Commons-logo.png|40x40px]]
| image = [[Image:Commons-logo.svg|40x40px]]
| 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]].
| text  = image = <nowiki>[[Image:Commons-logo.svg|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]].
}}
}}


Zeile 78: Zeile 79:


{{fmbox
{{fmbox
| text  = No image given ('''default''')
| text  = Default image given (no '''image=''' specified)
}}
}}
{{fmbox
{{fmbox
Zeile 85: Zeile 86:
}}
}}
{{fmbox
{{fmbox
| image = [[Image:User-info.png|40px]]
| image = [[Image:User-info.svg|40px]]
| imageright = [[Image:Nuvola apps bookcase.png|40px]]
| imageright = [[Image:Nuvola apps bookcase.svg|40px]]
| text  = image = <nowiki>[[Image:User-info.png|40px]]</nowiki> <br> imageright = <nowiki>[[Image:Nuvola apps bookcase.png|40px]]</nowiki>
| text  = image = <nowiki>[[Image:User-info.svg|40px]]</nowiki> <br> imageright = <nowiki>[[Image:Nuvola apps bookcase.svg|40px]]</nowiki>
}}
}}


Zeile 97: Zeile 98:
{{fmbox
{{fmbox
| type  = system / editnotice / warning
| type  = system / editnotice / warning
| image = none / [[Image:Some image.png|40px]]
| image = none / [[Image:Some image.svg|40px]]
| imageright = [[Image:Some image.png|40px]]
| imageright = [[Image:Some image.svg|40px]]
| id = CSS id
| id = CSS id
| class = CSS class names
| class = CSS class names
Zeile 113: Zeile 114:
:'''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.png|40px]]</nowiki></code>
::<code><nowiki>image = [[Image:User-info.svg|40px]]</nowiki></code>
:'''none''' = Means that no image is used.
:'''none''' = Means that no image is used.


Zeile 176: Zeile 177:


=== See also ===
=== See also ===
* {{tl|fmbox warning ruler}} – A horizontal ruler in the same colour as the red border for the warning type. Used inside some system warning notices.
* {{tl|fmbox warning ruler}} – A horizontal ruler in the same colour as the red border for the warning type. Used inside some system warning notices.


{{Mbox templates see also}}
{{Mbox templates see also}}
{{mbox template family}}


<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Kategorie:Vorlagen:Infoboxen]]
[[Category:Wikipedia metatemplates|{{PAGENAME}}]]
</includeonly>
</includeonly>