Editing Template:Imbox/doc
From Guild of Archivists
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 8: | Line 8: | ||
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. | ||
=== We are deploying! === | |||
After long discussion on the [[Template talk:Imbox|talk page]] of this template and at other places we are finally deploying this template. Feel free to convert any message boxes used on file pages to use this meta-template. If you find any tricky cases then list them on the talk page of this template and you'll get help. | |||
When this template is used to build image message boxes those boxes should contain explanatory texts just like before. (The same texts as before or new improved texts.) If there are more specific images in the boxes or you know a better image, then use them instead of the default images shown here. | |||
=== Usage === | === Usage === | ||
Line 74: | Line 80: | ||
{{imbox | {{imbox | ||
| type = license | | type = license | ||
| text = type=<u>license</u> – License templates such as {{tl| | | text = type=<u>license</u> – License templates such as {{tl|GFDL}}. | ||
}} | }} | ||
{{imbox | {{imbox | ||
Line 89: | Line 95: | ||
| image = [[Image:Gnome-dev-camera.svg|42px]] | | image = [[Image:Gnome-dev-camera.svg|42px]] | ||
| text = type = style <br> image = <nowiki>[[Image:Gnome-dev-camera.svg|42px]]</nowiki> <br> This image is used for {{tl|cleanup-image}}. | | text = type = style <br> image = <nowiki>[[Image:Gnome-dev-camera.svg|42px]]</nowiki> <br> This image is used for {{tl|cleanup-image}}. | ||
}} | |||
{{imbox | |||
| type = move | |||
| image = [[Image:To Commons.svg|52px]] | |||
| text = type = move <br> image = <nowiki>[[Image:To Commons.svg|52px]]</nowiki> <br> This image is used for {{tl|copy to Wikimedia Commons}}. | |||
}} | |||
{{imbox | |||
| type = license | |||
| image = [[Image:Heckert GNU white.svg|48px]] | |||
| text = type = license <br> image = <nowiki>[[Image:Heckert GNU white.svg|48px]]</nowiki> <br> This image is used for the GFDL license templates such as {{tl|GFDL}}. | |||
}} | }} | ||
Line 163: | Line 179: | ||
'''style''' | '''style''' | ||
:An optional CSS 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 CSS 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> | ||