Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Guild of Archivists
Search
Editing
Template:Ombox/doc
(section)
From Guild of Archivists
Namespaces
Template
Discussion
More
More
Page actions
Read
Edit source
History
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.
Anti-spam check. Do
not
fill this in!
=== Parameters === List of all parameters: <pre> {{ombox | type = speedy / delete / content / style / notice / move / protection | image = none / [[Image:Some image.svg|40px]] | imageright = [[Image:Some image.svg|40px]] | style = CSS values | textstyle = CSS values | text = The message body text. | small = {{{small|}}} / yes | smallimage = none / [[Image:Some image.svg|30px]] | smallimageright = none / [[Image:Some image.svg|30px]] | smalltext = A shorter message body text. }} </pre> '''type''' :If no '''type''' parameter is given the template defaults to type '''notice'''. That means it gets a gray border. '''image''' :'''No parameter''' = If no '''image''' parameter is given the template uses a default image. Which default image it uses depends on the '''type''' parameter. :'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example: ::<code><nowiki>image = [[Image:Crystal package settings.png|40px]]</nowiki></code> :'''none''' = Means that no image is used. '''imageright''' :'''No parameter''' = If no '''imageright''' parameter is given then no image is shown on the right side. :'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example: ::<code><nowiki>imageright = [[Image:Nuvola apps bookcase.png|40px]]</nowiki></code> :'''Anything''' = Any other object that you want to show on the right side. '''style''' :Optional CSS values used by the entire message box table. Without quotation marks <code>" "</code> but with the ending semicolons <code>;</code>. For example: ::<code>style = margin-bottom: 0.5em;</code> '''textstyle''' :Optional CSS values used by the text cell. For example: ::<code>textstyle = text-align: center;</code> '''text''' :The message body text. ==== The small parameters ==== {{ombox | small = yes | text = small = yes }} {{ombox | type = style | small = yes | text = type = style <br> small = yes }} '''small''' :'''yes''' = Makes it a smaller right floating message box. This also makes the default images smaller. Note that any data fed to the '''smallimage''', '''smallimageright''' and '''smalltext''' parameters is only used if "small=yes". To make it so your template also understands the small parameter you can use this code: ::<code><nowiki>small = {{{small|}}}</nowiki></code> {{ombox | small = yes | image = [[Image:Replacement filing cabinet.svg|50px]] | smallimage = [[Image:Replacement filing cabinet.svg|32px]] | text = small = yes <br> image = <nowiki>[[Image:Replacement filing cabinet.svg|50px]]</nowiki> <br> smallimage = <nowiki>[[Image:Replacement filing cabinet.svg|32px]]</nowiki> }} '''smallimage''' :'''No parameter''' = If no '''smallimage''' parameter is given then this template falls back to use the '''image''' parameter. If the '''image''' parameter also is empty then a small default image is used. :'''An image''' = Should be an image with usual wiki notation. 30px width is usually about right. For example: ::<code><nowiki>smallimage = [[Image:Replacement filing cabinet.svg|30px]]</nowiki></code> :'''none''' = Means that no image is used. This overrides any image fed to '''image''', when "small=yes". {{ombox | small = yes | imageright = [[Image:Nuvola apps bookcase.png|50px]] | smallimageright = none | text = small = yes <br> imageright = <nowiki>[[Image:Nuvola apps bookcase.png|50px]]</nowiki> <br> smallimageright = none }} '''smallimageright''' :'''No parameter''' = If no '''smallimageright''' parameter is given then this template falls back to use the '''imageright''' parameter. If the '''imageright''' parameter also is empty then no image is shown on the right side. :'''An image''' = Should be an image with usual wiki notation. 30px width is usually about right. For example: ::<code><nowiki>smallimageright = [[Image:Nuvola apps bookcase.png|30px]]</nowiki></code> :'''Anything''' = Any other object that you want to show on the right side. :'''none''' = Means that no right side image is used. This overrides any image fed to '''imageright''', when "small=yes". '''smalltext''' :A shorter version of the message body text. If no '''smalltext''' parameter is given then this template falls back to use the '''text''' parameter.
Summary:
Please note that all contributions to Guild of Archivists may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
GoArch:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Navigation
Main Page
Random page
Categories
All pages
Recent changes
Resources
D'ni dictionary
Reference material
Utilities
Community
Forums
Jalak Game Directory
Projects
Apocrypha
Unexplored Branches
All projects
Contribute
Stubs
Wanted
Cleanup
Dead ends
Image requested
Help
Help
Guide
Policies
Wiki tools
Wiki tools
Special pages
Page values
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs