Jump to content

Template:Ambox/doc: Difference between revisions

fix images / remove examples not used in FS Research Wiki
m (Text replace - 'parser functions' to '{{mw|Help:Extension:ParserFunctions|parser functions}}')
(fix images / remove examples not used in FS Research Wiki)
Line 5: Line 5:
This is the {{tl|ambox}} or '''article message box''' meta-template.
This is the {{tl|ambox}} or '''article message box''' meta-template.


It is used to build ''article message box'' templates such as {{tl|wikify}}. It offers several different colours, uses default images if no image parameter is given and it has some other features.
It is used to build ''article message box'' templates such as {{tl|source}}. It offers several different colours, uses default images if no image parameter is given and it has some other features.


This meta-template uses the ambox CSS classes in [[MediaWiki:Common.css]]. The classes can also be used directly in a [[Help:Table|wikitable]] if special functionality is needed. See the [[Wikipedia:Ambox CSS classes|how-to guide]] for that.
This meta-template uses the ambox CSS classes in [[MediaWiki:Common.css]]. The classes can also be used directly in a [[Help:Table|wikitable]] if special functionality is needed. See the [[Wikipedia:Ambox CSS classes|how-to guide]] for that.
Line 72: Line 72:
| type  = move
| type  = move
| text  = type=<u>move</u> – Merge, split and transwiki proposals, such as {{tl|split}} and {{tl|copy to wiktionary}}.
| text  = type=<u>move</u> – Merge, split and transwiki proposals, such as {{tl|split}} and {{tl|copy to wiktionary}}.
}}
{{ambox
| type  = protection
| text  = type=<u>protection</u> – Protection notices, such as {{tl|pp-vandalism}} and {{tl|pp-semi-protected}}.
}}
}}


Line 84: Line 80:
{{ambox
{{ambox
| type  = content
| type  = content
| image = [[File:Unbalanced scales.svg|40px|link=|alt=]]
| image = [[File:POV.png|40px|link=|alt=]]
| text  = type = content <br> image = <nowiki>[[File:Unbalanced scales.svg|40px|link=|alt=]]</nowiki> <br> This image is often used for {{tl|POV}} and similar issues.
| text  = type = content <br> image = <nowiki>[[File:POV.png|40px|link=|alt=]]</nowiki> <br> This image is often used for {{tl|POV}} and similar issues.
}}
{{ambox
| type  = style
| image = [[File:Wikitext.svg|50px|link=|alt=]]
| text  = type = style <br> image = <nowiki>[[File:Wikitext.svg|50px|link=|alt=]]</nowiki> <br> This image is often used for {{tl|wikify}} etc.
}}
}}
{{ambox
{{ambox
| type  = move
| type  = move
| image = [[File:Merge-arrows.svg|50px|link=|alt=]]
| image = [[File:Merge.png|50px|link=|alt=]]
| text  = type = move <br> image = <nowiki>[[File:Merge-arrows.svg|50px|link=|alt=]]</nowiki> <br> This image is used for {{tl|merge}} etc.
| text  = type = move <br> image = <nowiki>[[File:Merge.png|50px|link=|alt=]]</nowiki> <br> This image is used for {{tl|merge}} etc.
}}
}}


Line 108: Line 99:
| image = none
| image = none
| text  = No type and '''image=none''' – No image is used and the '''text''' uses the whole message box area.
| text  = No type and '''image=none''' – No image is used and the '''text''' uses the whole message box area.
}}
{{ambox
| image = [[File:Gnome globe current event.svg|42px|alt=Clock over a larger globe]]
| imageright = [[File:Nuvola apps bookcase.svg|40px|alt=Three stacked books]]
| text  = image = <nowiki>[[File:Gnome globe current event.svg|42px|alt=Clock over a larger globe]]</nowiki> <br> imageright = <nowiki>[[File:Nuvola apps bookcase.svg|40px|alt=Three stacked books]]</nowiki>
}}
{{ambox
| image = [[File:Gnome globe current event.svg|42px|alt=Clock over a larger globe]]
| imageright = [[File:Shuttle.svg|20px|link=|alt=]]
| text  = '''This article or section documents a current [[spaceflight]].'''
<br>Content may change as the mission progresses.
}}
}}


Line 199: Line 177:
{{ambox
{{ambox
| small = left
| small = left
| image      = [[File:Replacement filing cabinet.svg|50px|link=|alt=]]
| image      = [[File:Filing_cabinet.png|50px|link=|alt=]]
| smallimage = [[File:Replacement filing cabinet.svg|25px|link=|alt=]]
| smallimage = [[File:Filing_cabinet.png|25px|link=|alt=]]
| text =
| text =
small = left <br> image = <nowiki>[[File:Replacement filing cabinet.svg|50px|link=|alt=]]</nowiki> <br> smallimage = <nowiki>[[File:Replacement filing cabinet.svg|25px|link=|alt=]]</nowiki>
small = left <br> image = <nowiki>[[File:Filing_cabinet.png|50px|link=|alt=]]</nowiki> <br> smallimage = <nowiki>[[File:Filing_cabinet.png|25px|link=|alt=]]</nowiki>
}}
}}


90,866

edits