Predloga:Anotacija
Predloga ustvari anotacije za anotirane slike, npr.: v diagramu na desni oznake za dogodke izumrtja generira Predloga:Anotacija:
- Opredelite pozicijo znotraj slike na kateri se vsaka oznaka pojavi.
- Anotacija je lahko povezava, vključno z wikipovezavami.
Uporaba
| This template will malfunction unless used within the templates {{Anotirana slika}} or {{Anotirana slika 4}}. |
{{Anotacija | left (in px)| top (in px) | text | text-align=left | font-size=12 | font-weight=bold | font-family=Times New Roman | background-color=#ffcccee | color=blue}}
where:
- There are no keywords for the top, left and text parameters, which are mandatory and must appear in the order given above. The other parameters are optional, must be identified by their keywords (e.g. font-size=...), and may appear in any order.
- left and top specify the annotation's position relative to the top left corner of the box that contains the image. i.e. the box' top left corner is 0,0. The box will usually be larger than the actual image, to make room for the annotations.
- text is the text that will be displayed.
- text-align can be set to left, center or right, and is only noticeable when the annotation spans multiple lines.
- font-size is in px (pixel) units – CSS relative sizes are not supported.
- font-weight is bold or normal.
- font-family is the CSS name for the font, e.g. Times New Roman or Verdana
- background-color defaults to transparent.
- color is the color of the text and defaults to black, which is the default text color in most Wikipedia style sheets. In particular, it's best to use blue only for links.
Extended parameter names for use in other templates
Some of the parameters have alternative names that are used by containing templates to call Predloga:Anotacija. The alternative names are provided in case the containing templates call other templates that use similar parameters.
These alternative names are provided so that the containing templates can provide default values for the corresponding parameters in Predloga:Anotacija, and should not be used for any other purpose. Values specified using the basic parameter names listed above will over-ride the alternative names that are used by containing templates.
Here are the alternative names and the basic Predloga:Anotacija parameters for which they set defaults:
| Alternativno ime | Osnovno ime |
|---|---|
| annot-text-align | text-align |
| annot-font-size | font-size |
| annot-font-weight | font-weight |
| annot-font-family | font-family |
| annot-background-color | background-color |
| annot-color | color |
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.










