Plantilla:Fancy-image lead: diferència entre les revisions
[canvi no comprovat] | [canvi no comprovat] |
Contingut suprimit Contingut afegit
m +en |
Cap resum de modificació |
||
Línia 1: | Línia 1: | ||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | <div style="position:absolute;width:{{{text-width|{{{width|0px}}}}}};left:{{{x|0em}}};top:{{{y|0em}}};margin:{{{box-offset|5px}}};padding:{{{text-offset|5px}}};text-align:center;background:{{{shadow|transparent}}};filter:alpha(opacity={{{opacity|50}}});-moz-opacity:.{{{opacity|50}}};opacity:.{{{opacity|50}}};"><!-- |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
<noinclude> |
<noinclude> |
||
Una plantilla per mostrar les històries més recents amb una imatge i un enllaç. |
Una plantilla per mostrar les històries més recents amb una imatge i un enllaç. |
||
Línia 60: | Línia 45: | ||
|color=darkblue |
|color=darkblue |
||
}} |
}} |
||
[[en:Template:Fancy-image lead]] |
|||
</noinclude> |
</noinclude> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | <div style="position:absolute;width:{{{text-width|{{{width|0px}}}}}};left:{{{x|0em}}};top:{{{y|0em}}};margin:{{{box-offset|5px}}};padding:{{{text-offset|5px}}};text-align:center;background:{{{shadow|transparent}}};filter:alpha(opacity={{{opacity|50}}});-moz-opacity:.{{{opacity|50}}};opacity:.{{{opacity|50}}};"><!-- |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ |
Revisió del 22:30, 21 des 2012
Una plantilla per mostrar les històries més recents amb una imatge i un enllaç.
Ús
Aquest codi
{{fancy-image lead | width=375px | x=45px | y=217px <!-- should be identical to the default link in the imagemap --> |link=Bush and Putin suggest potential for World War III <!-- what the news should read --> |news=Bush and Putin suggest potential for World War III <!-- the edit link should always point here --> |edit=User:Darklama/Headline |imagemap= <imagemap> Image:Nimrod.mr2.arp.jpg|center|375px default [[ Leaked emails show UK RAF were aware of Nimrod problems prior to fatal crash]] desc none </imagemap> <!-- should be identical to name of image used in the image map --> |credit=Vladimir Putin and George W. Bush.jpg |shadow=white |color=darkblue }}
Fa això: