|
|
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 {{tl|cleanup-image}} 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 <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. |
|
| |
|
| 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 {{tl|isd}}. | | | text = type=<u>speedy</u> – Speedy deletion templates such as <nowiki>{{tl|isd}}</nowiki>. |
| }} | | }} |
| {{imbox | | {{imbox |
| | type = delete | | | type = delete |
| | text = type=<u>delete</u> – Deletion templates such as {{tl|ifd}}. | | | text = type=<u>delete</u> – Deletion templates such as <nowiki>{{tl|ifd}}</nowiki>. |
| }} | | }} |
| {{imbox | | {{imbox |
| | type = content | | | type = content |
| | text = type=<u>content</u> – Major warnings and problems, such as {{tl|non-free reduce}}. | | | text = type=<u>content</u> – Major warnings and problems, such as <nowiki>{{tl|non-free reduce}}</nowiki>. |
| }} | | }} |
| {{imbox | | {{imbox |
| | type = style | | | type = style |
| | text = type=<u>style</u> – Minor warnings and problems, such as {{tl|cleanup-image}}. | | | text = type=<u>style</u> – Minor warnings and problems, such as <nowiki>{{tl|cleanup-image}}</nowiki>. |
| }} | | }} |
| {{imbox | | {{imbox |
Line 179: |
Line 179: |
|
| |
|
| '''style''' | | '''style''' |
| :An optional [[Cascading Style Sheets|CSS]] value used by the entire message box table. Without quotation marks <code>" "</code>. For example: | | :An optional <nowiki>[[Cascading Style Sheets|CSS]]</nowiki> 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 [[Cascading Style Sheets|CSS]] value used by the text cell. For example: | | :An optional <nowiki>[[Cascading Style Sheets|CSS]]</nowiki> value used by the text cell. For example: |
| ::<code>textstyle = text-align: center;</code> | | ::<code>textstyle = text-align: center;</code> |
|
| |
|