Editing Template:Imbox/doc
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.
Latest revision | Your text | ||
Line 5: | Line 5: | ||
{{Mbox templates (small)}} | {{Mbox templates (small)}} | ||
− | This is the {{tl|Imbox}} (['''I''']mage ['''m''']essage ['''box''']) | + | This is the {{tl|Imbox}} (['''I''']mage ['''m''']essage ['''box''']) metatemplate. |
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 {{tl|cleanup-image}} etc. It offers several different colours, uses default images if no image parameter is given and it has some other features. | ||
Line 87: | Line 87: | ||
{{Imbox | {{Imbox | ||
| type = style | | type = style | ||
− | | image = [[File: | + | | image = [[File:Gnome-dev-camera.svg|42px]] |
| text = type = style<br/>image = <nowiki>[[File:Gnome-dev-camera.svg|42px]]</nowiki><br/>This image is used for {{tl|cleanup-image}}. | | text = type = style<br/>image = <nowiki>[[File:Gnome-dev-camera.svg|42px]]</nowiki><br/>This image is used for {{tl|cleanup-image}}. | ||
}} | }} | ||
Line 136: | Line 136: | ||
<pre> | <pre> | ||
{{Imbox | {{Imbox | ||
− | |||
| type = speedy / delete / content / style / notice / | | type = speedy / delete / content / style / notice / | ||
move / protection / license / featured | move / protection / license / featured | ||
Line 148: | Line 147: | ||
}} | }} | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
'''type''' | '''type''' | ||
Line 187: | Line 183: | ||
===Technical details=== | ===Technical details=== | ||
− | Namespace " | + | Namespace "File:" was renamed to "File:" on 11 December 2008. This template was created long before that, and that is why it is named "imbox" as in "image message box". |
If you need to use special characters in the text parameter then you need to escape them like this: | If you need to use special characters in the text parameter then you need to escape them like this: | ||
− | < | + | <pre> |
{{Imbox | {{Imbox | ||
| text = <div> | | text = <div> | ||
Equal sign = and a start and end brace { } work fine as they are. | Equal sign = and a start and end brace { } work fine as they are. | ||
− | But here is a pipe {{!}} and two end braces | + | But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>. |
− | And now a pipe and end braces | + | And now a pipe and end braces <nowiki>|}}</nowiki>. |
</div> | </div> | ||
}} | }} | ||
− | </ | + | </pre> |
{{Imbox | {{Imbox | ||
| text = <div> | | text = <div> | ||
Line 218: | Line 214: | ||
{{Mbox templates see also}} | {{Mbox templates see also}} | ||
− | <includeonly>{{ | + | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
| <!-- CATEGORIES BELOW THIS LINE, PLEASE --> | | <!-- CATEGORIES BELOW THIS LINE, PLEASE --> | ||
[[Category:Mbox and messagebox templates]] | [[Category:Mbox and messagebox templates]] | ||
[[Category:File namespace templates|*]] | [[Category:File namespace templates|*]] | ||
}}</includeonly> | }}</includeonly> |