Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Mbox/doc: Difference between revisions

Template page
m moved Template:TS/gibox/doc to Template:Mbox/doc: people continue to use these *mboxes, there's no way to escape it... it's time to at least commonsify them. this will be the style for everything but categories (for now).
No edit summary
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
This is the '''Gallery and Image message box''' template. It could be used to construct image and gallery message box templates.
This is the '''Gallery and File message box''' template. It could be used to construct file and gallery message box templates.
 
<big>Please note that at this moment there is no consensus on the use of these. Things ''may'' change. See [[Commons:Template standardization]] for more info. Do not use in a production environment just yet.</big>


==Parameters==
==Parameters==
Line 10: Line 8:
*imageright - Show an image on the right side
*imageright - Show an image on the right side
*textalign - Override default centering of text with left or right.
*textalign - Override default centering of text with left or right.
*Style - Override in custom style overrides for the template using CSS.
*style - Override in custom style overrides for the template using CSS.


==Examples==
==Examples==
{{gibox
{{mbox
|text=warning - for speedy deletion and other serious notices
|text=warning - for speedy deletion and other serious notices
|type=warning
|type=warning
}}
}}
{{gibox
{{mbox
|text=serious - for deletion notices
|text=serious - for deletion notices
|type=serious
|type=serious
}}
}}
{{gibox
{{mbox
|text=issue - for larger issues
|text=issue - for larger issues
|type=issue
|type=issue
}}
}}
{{gibox
{{mbox
|text=query - for minor issues
|text=query - for minor issues
|type=query
|type=query
}}
}}
{{gibox
{{mbox
|text=style - for cleanup (only difference is different icon)
|text=style - for cleanup (only difference is different icon)
|type=style
|type=style
}}
}}
{{gibox
{{mbox
|text=notice
|text=notice
|type=notice
|type=notice
}}
}}
{{gibox
{{mbox
|text=license - for licenses (please note, the icon is an example, templates will still use their current icons where applicable)
|text=license - for licenses (please note, the icon is an example, templates will still use their current icons where applicable)
|type=license
|type=license
}}
}}
{{gibox
{{mbox
|text=legal - for legal disclaimers such as {{tl|Trademark}}
|text=legal - for legal disclaimers such as {{tl|Trademark}}
|type=legal
|type=legal
}}
}}
{{gibox
{{mbox
|text=protection - for protection notices
|text=protection - for protection notices
|type=protection
|type=protection
}}
}}
{{gibox
{{mbox
|text=honor - for honors such as featured image
|text=honor - for honors such as featured image
|type=honor
|type=honor
}}
}}
{{gibox
{{mbox
|text=growth - for other "good" notices
|text=growth - for other "good" notices
|type=growth
|type=growth
}}
}}
{{gibox
{{mbox
|text=move - for move requests
|text=move - for move requests
|type=move
|type=move
}}
}}
<br>
<br>
{{gibox
{{mbox
|text=message - emulates {{tl|notice}}
|text=message - emulates {{tl|notice}}
|type=message
|type=message
}}
}}<includeonly>


<includeonly>[[Category:Message box templates|gibox]]</includeonly>
[[Category:Message box templates|{{PAGENAME}}]]
</includeonly>

Revision as of 04:47, 29 August 2010

This is the Gallery and File message box template. It could be used to construct file and gallery message box templates.

Parameters

  • text - The text to be displayed
  • type - Changes the color depending on the message needed. Each has its own preset image
  • image - Override the image
  • imageright - Show an image on the right side
  • textalign - Override default centering of text with left or right.
  • style - Override in custom style overrides for the template using CSS.

Examples


Cookies help us deliver our services. By using our services, you agree to our use of cookies.