Vorlage:Imbox/Doku: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
imported>Rocket000
(→‎Examples: - duplicated notice)
imported>Davidgothberg
(Updated the doc since the template now has hard coded styles and can be used for testing.)
Zeile 8: Zeile 8:
=== Under construction ===
=== Under construction ===


This template coding was copied from {{tl|ambox}} and is currently being adapted for use in image space. The box you see above is currently a mockup. It can't yet be used to build actual boxes with the design you see below.
This template coding was copied from {{tl|ambox}} and is currently being adapted for use in image space. Don't use this meta-template for real image message boxes yet, but you can use it for testing. It works almost exactly like {{tl|ambox}}, see full documentation there. This template currently uses hard coded styles.


=== Examples ===
=== Examples ===
Zeile 14: Zeile 14:
Too discuss these boxes and too see or make more examples go to the [[Template talk:Imbox|talk page]].
Too discuss these boxes and too see or make more examples go to the [[Template talk:Imbox|talk page]].


{{ambox
{{imbox
| style = margin: 3px 10%; border:4px solid #b22222; background:#fee;
| type = speedy
| image = [[Image:Ambox warning pn2.svg|40x40px]]
| text = speedy
| text = speedy
}}
}}
{{ambox
{{imbox
| style = margin: 3px 10%; border:4px solid #b22222;
| type = delete
| image = [[Image:Ambox warning pn2.svg|40x40px]]
| text = delete
| text = delete
}}
}}
{{ambox
{{imbox
| style = margin: 3px 10%; border:4px solid #f28500;
| type = content
| image = [[Image:Ambox content.png|40x40px]]
| text = content
| text = content
}}
}}
{{ambox
{{imbox
| style = margin: 3px 10%; border:4px solid #f4c430;
| type = style
| image = [[Image:Broom icon.svg|40x40px]]
| text = style
| text = style
}}
}}
{{ambox
{{imbox
| style = margin: 3px 10%; border:4px solid #1e90ff;
| type = notice
| image = [[Image:Ambox notice.png|40x40px]]
| text = notice
| text = notice
}}
}}
{{ambox
{{imbox
| style = margin: 3px 10%; border:4px solid #9932cc;
| type = move
| image = [[Image:Merge-split-transwiki default.svg|40x40px]]
| text = move
| text = move
}}
}}
{{ambox
{{imbox
| style = margin: 3px 10%; border:4px solid #bba;
| type = protection
| image = [[Image:Padlock-silver-medium.svg|40x40px]]
| text = protection
| text = protection
}}
}}

Version vom 1. Mai 2008, 13:44 Uhr

This is the {{imbox}} or image message box meta-template.

It is used to create message box templates for image pages, such as {{cleanup-image}} etc.

Under construction

This template coding was copied from {{ambox}} and is currently being adapted for use in image space. Don't use this meta-template for real image message boxes yet, but you can use it for testing. It works almost exactly like {{ambox}}, see full documentation there. This template currently uses hard coded styles.

Examples

Too discuss these boxes and too see or make more examples go to the talk page.

See also

  • {{ambox}} – The meta-template for article message boxes.
  • {{cambox}} – The meta-template for category message boxes.