Jump to content

Template:Imbox/doc: Difference between revisions

m
Text replacement - "Ambox warning yellow.svg|" to "Ambox warning yellow.svg.png|"
No edit summary
m (Text replacement - "Ambox warning yellow.svg|" to "Ambox warning yellow.svg.png|")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
This is the {{tl|imbox}} or '''image message box''' meta-template.
This is the {{tl|imbox}} or '''image message box''' meta-template.


It is used to build message box templates for file (image) pages, such as <nowiki>{{tl|cleanup-image}}</nowiki> etc. 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 message box templates for file (image) pages, such as {{tl|cleanup-image}} etc. It offers several different colours, uses default images if no image parameter is given and it has some other features.


This template works almost exactly like {{tl|ambox}} and uses the same parameters.
This template works almost exactly like {{tl|ambox}} and uses the same parameters.
Line 52: Line 52:
{{imbox
{{imbox
| type = speedy
| type = speedy
| text = type=<u>speedy</u> – Speedy deletion templates such as <nowiki>{{tl|isd}}</nowiki>.
| text = type=<u>speedy</u> – Speedy deletion templates such as {{tl|isd}}.
}}
}}
{{imbox
{{imbox
| type = delete
| type = delete
| text = type=<u>delete</u> – Deletion templates such as <nowiki>{{tl|ifd}}</nowiki>.
| text = type=<u>delete</u> – Deletion templates such as {{tl|ifd}}.
}}
}}
{{imbox
{{imbox
| type = content
| type = content
| text = type=<u>content</u> – Major warnings and problems, such as <nowiki>{{tl|non-free reduce}}</nowiki>.
| text = type=<u>content</u> – Major warnings and problems, such as {{tl|non-free reduce}}.
}}
}}
{{imbox
{{imbox
| type = style
| type = style
| text = type=<u>style</u> – Minor warnings and problems, such as <nowiki>{{tl|cleanup-image}}</nowiki>.
| text = type=<u>style</u> – Minor warnings and problems, such as {{tl|cleanup-image}}.
}}
}}
{{imbox
{{imbox
Line 121: Line 121:
{{imbox
{{imbox
| type = license
| type = license
| image = image:Imbox license.svg|40px <br> image:Ambox warning yellow.svg|40px
| image = image:Imbox license.svg|40px <br> image:Ambox warning yellow.svg.png|40px
| imageright = image:Shuttle.svg|30px
| imageright = image:Shuttle.svg|30px
| text  = type = license <br> image = <nowiki>image:Imbox license.svg|40px br> image:Ambox warning yellow.svg|40px</nowiki> <br> imageright = <nowiki>[[Image:Shuttle.svg|30px]]</nowiki>
| text  = type = license <br> image = <nowiki>image:Imbox license.svg|40px br> image:Ambox warning yellow.svg.png|40px</nowiki> <br> imageright = <nowiki>[[Image:Shuttle.svg|30px]]</nowiki>
}}
}}


{{imbox
{{imbox
| type = license
| type = license
| image = image:Imbox license.svg|40px <br> image:Ambox warning yellow.svg|40px
| image = image:Imbox license.svg|40px <br> image:Ambox warning yellow.svg.png|40px
| imageright = Image:Shuttle.svg|30px
| imageright = Image:Shuttle.svg|30px
| text  = '''This file is in the [[public domain]] because it was created by [[NASA]].'''
| text  = '''This file is in the [[public domain]] because it was created by [[NASA]].'''
Line 179: Line 179:


'''style'''
'''style'''
:An optional <nowiki>[[Cascading Style Sheets|CSS]]</nowiki> value used by the entire message box table. Without quotation marks <code>" "</code>. For example:
:An optional [[Cascading Style Sheets|CSS]] value used by the entire message box table. Without quotation marks <code>" "</code>. For example:
::<code>style = margin-bottom: 0.5em;</code>
::<code>style = margin-bottom: 0.5em;</code>


'''textstyle'''
'''textstyle'''
:An optional <nowiki>[[Cascading Style Sheets|CSS]]</nowiki> value used by the text cell. For example:
:An optional [[Cascading Style Sheets|CSS]] value used by the text cell. For example:
::<code>textstyle = text-align: center;</code>
::<code>textstyle = text-align: center;</code>


Approver, Batcheditor, Moderator, Patroller, Protector, Reviewer, Bots, Bureaucrats, editor, Interface administrators, pagecreator, pagedeleter, Page Ownership admin, Push subscription managers, smwadministrator, smwcurator, smweditor, Suppressors, Administrators, Upload Wizard campaign editors, Widget editors
795,753

edits