Hoppa till innehållet

Mall:Snyggbild mall

Från Wikinews, den fria nyhetstjänsten

A template for displaying a news story that includes an image and a link to the story for easy editing.

Usage

[redigera]
{{Snyggbild_mall
| width=300px | x=-5px | y=20px | text-width=300px <!-- text-width should be less than other widths-->
<!--
  text-offset and box-offset can be set (margin and padding on text).
  defaults 5 px goes top right bottom left or 1 value for all. USE UNITS (px).
-->
| text-offset=0px
<!--
  Uses css colours (proper name like black, or rgb value like rgb(128,255,10)
  (amount red green and blue from 0 (none) to 255 (full), or other forms like
  #7F0. probably either want to use black or white to darken/lighten image in
  combo with transparency (opacity). shadow and opacity are optional.
-->
| shadow=black| color=white| opacity=40 <!-- As percent. -->
<!-- link should be identical to the default link in the imagemap. Use news= if text should be different from link -->
| link=Sopproblemet fortsätter, två poliser skadade
| news=Sopproblemet fortsätter, två poliser skadade
<!-- change the font style, font size, etc for the news link -->
| font=bold 19px/1em veranda,sans-serif;
| imagemap=
<imagemap>
Image:Napoli01_flickr.jpg‎|center|300px|
default [[Sopproblemet fortsätter, två poliser skadade]]
desc none
</imagemap>
<!-- should be identical to name of image used in the image map -->
| credit=Napoli01_flickr.jpg‎}}

Warning: Not all things listed here. just important ones. see Template:Lead article with large image and source of this page.

Makes:

[redigera]