Vorlage:Imbox/Doku: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
imported>Davidgothberg
(→‎Examples: Changing to showing the "license" type that now is in the imbox code.)
imported>Davidgothberg
(Updated and extended the doc. Added category. Changed link to "cambox" -> "cmbox" since that one is going to be moved. This doc might need a work over from a native English speaker.)
Zeile 1: Zeile 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
__NOTOC__
This is the {{tl|imbox}} or '''image message box''' meta-template.


This is the {{tl|imbox}} or '''image message box''' meta-template.
It is used to build message box templates for image pages, such as {{tl|cleanup-image}} etc.


It is used to create message box templates for image pages, such as {{tl|cleanup-image}} etc.
This template works exactly like {{tl|ambox}} and uses the same parameters, see full documentation there.  


=== Under construction ===
=== Suggested style standard ===


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.
The styles of image space message boxes and the usage of this template is currently being standardised and discussed on the [[Template talk:Imbox|talk page]] of this template. Thus don't use this meta-template for real image message boxes yet, but feel free to use it for testing.  


=== Examples ===
=== Examples ===


To discuss these boxes and to see or make more examples go to the [[Template talk:Imbox|talk page]].
These examples show the colours and styles that this meta-template currently produces. When this template is used to build actual image message boxes they should contain the same (long) texts as before, with links to explanations and they can use more specific images than the default images shown here.


{{imbox
{{imbox
Zeile 46: Zeile 48:
| text = license
| text = license
}}
}}
To discuss these boxes and to see or make more examples go to the [[Template talk:Imbox|talk page]].
=== Technical details ===
This template currently uses hard coded styles. Later it will use CSS classes enabling it to be skinned.


=== See also ===
=== See also ===


* {{tl|ambox}} – The meta-template for article message boxes.
* {{tl|ambox}} – The meta-template for article message boxes.
* {{tl|cambox}} – The meta-template for category message boxes.
* {{tl|cmbox}} – The meta-template for category message boxes.


<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Wikipedia metatemplates|{{PAGENAME}}]]


</includeonly>
</includeonly>

Version vom 5. Mai 2008, 15:38 Uhr

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

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

This template works exactly like {{ambox}} and uses the same parameters, see full documentation there.

Suggested style standard

The styles of image space message boxes and the usage of this template is currently being standardised and discussed on the talk page of this template. Thus don't use this meta-template for real image message boxes yet, but feel free to use it for testing.

Examples

These examples show the colours and styles that this meta-template currently produces. When this template is used to build actual image message boxes they should contain the same (long) texts as before, with links to explanations and they can use more specific images than the default images shown here.

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

Technical details

This template currently uses hard coded styles. Later it will use CSS classes enabling it to be skinned.

See also

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