Template:Ambox/doc

From Feed The Beast Wiki
Jump to: navigation, search
Template-info.png Documentation

This is the article message box metatemplate, it is used to build article message boxes like {{Stub}}.

Parameters[edit source]

  • small: (Optional) Creates a small article message box with the css float property set to the specified value.
  • icon: (Default: Ambox {{{type}}}.png) Sets the icon displayed on the left of the message box.
  • type: (Default: notice) Sets the color of the left bar, the icon is also chosen depending on this value if icon isn't set. Acceptable values, and respective colors and default icons, are listed below:
  • date: (Optional) Date tag to display in the bottom right corner.
  • text: The text to display in the message box.

Examples[edit source]

Code Result
{{Ambox|type=notice|text=Hello}}
{{Ambox|type=notice|text=Hello|date={{subst:#time:F Y}}}}
{{Ambox|type=notice|text=Hello|small=left}}
{{Ambox|type=notice|text=Hello|small=left|date={{subst:#time:F Y}}}}



This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.

Other languages:
English • ‎français • ‎русский