Template:Annotation/doc: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> |
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> |
||
{{annotated |
{{annotated Image/Extinction|caption=The Permian–Triassic extinction event, labelled "P-Tr" here, is the most significant extinction event in this plot for marine [[genus|genera]].}} |
||
Creates an annotation for [[Template:Annotated image|annotated images]], for example in the diagram on the right the labels for the various extinctions are generated by Template:Annotation: |
Creates an annotation for [[Template:Annotated image|annotated images]], for example in the diagram on the right the labels for the various extinctions are generated by Template:Annotation: |
||
*You specify the position within the image at which each annotations is to appear. |
*You specify the position within the image at which each annotations is to appear. |
||
| Line 8: | Line 8: | ||
== Usage == |
== Usage == |
||
{{Warning|This template will malfunction unless used within the templates {{tlbare|Annotated |
{{Warning|This template will malfunction unless used within the templates {{tlbare|Annotated Image}} or {{tlbare|Annotated Image 4}}.}} |
||
<code><nowiki>{{Annotation | left (in px)| top (in px) | text | text-align=left | font-size-css=85% | font-weight=bold | font-family=Times New Roman | background-color=#ffcccee | color=blue |line-height=1}}</nowiki></code><br />where: |
<code><nowiki>{{Annotation | left (in px)| top (in px) | text | text-align=left | font-size-css=85% | font-weight=bold | font-family=Times New Roman | background-color=#ffcccee | color=blue |line-height=1}}</nowiki></code><br />where: |
||