Szablon:Fancy-image lead: Różnice pomiędzy wersjami

Usunięta treść Dodana treść
Przykuta (dyskusja | edycje)
Nie podano opisu zmian
DrPZ (dyskusja | edycje)
m dr. red., dr. tech., tłum., kat.
 
Linia 1:
<div style="width:{{{width|0px}}}; margin:auto; background:transparent; overflow:hidden;" class="nounderlines plainlinks">
<noinclude>
<div style="position:relative;">
A template for displaying a news story that includes an image and a link to the story for easy editing.
{{{imagemap}}}
<div style="position:absolute;width:{{{size|{{{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}}};"><!--
-->{{#ifexist:{{{link|}}}|<span style="color:{{{shadow|{{{color|white}}}}}}; font:{{{font|bold 18px veranda,sans-serif; line-height:1em;}}};"><!--
-->{{{news|{{{link}}}}}}</span>}}</div>
<div style="position:absolute;width:{{{size|{{{width|0px}}}}}};left:{{{x|0em}}};top:{{{y|0em}}};margin:{{{box-offset|5px}}};padding:{{{text-offset|5px}}};text-align:center;background:transparent;"><!--
-->{{#ifexist:{{{link|}}}|[[{{{link}}}|<span style="color:{{{color|white}}}; font:{{{font|bold 18px veranda,sans-serif; line-height:1em;}}};"><!--
-->{{{news|{{{link}}}}}}</span>]]}}</div>
{{{extra|}}}
</div>
<div style="width:100%; font-size:x-small; background:#ccc; text-align:right;"><span style="padding-right:0.5em;"><!--
-->{{#if:{{{credit|}}}|[[:Image:{{{credit}}}|image credit]] - &nbsp;}}<!--
-->[{{fullurl:{{{edit|Template:Lead article with large image}}}| action=edit}} edit this]</span></div>
</div><noinclude>
 
== Opis ==
Szablon wyświetlający zdjęcie linkujące do wiadomości, z bezpośrednim linkiem do strony edycji.
 
'''Uwaga:''' Szablon pierwotnie funkcjonujący w anglojęzycznej wiki, w kwietniu 2008 roku [http://en.wikinews.org/w/index.php?title=Template%3ALead_article_with_large_image&action=historysubmit&diff=624018&oldid=580443 uznany za nieaktualny].
 
==Usage Wywołanie ==
Przykład zawiera najważniejsze parametry. Pełna dokumentacja znajduje się [[:en:Template:Lead article with large image|tutaj]].
<pre>
{{fancyFancy-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
Linia 24 ⟶ 53:
}}
</pre>
 
'''Warning:''' Not all things listed here. just important ones. see [[Template:Lead article with large image]] and source of this page.
...wyświetla:
===Makes:===
{{fancyFancy-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
}}
</noinclude>
<div style="width:{{{width|0px}}}; margin:auto; background:transparent; overflow:hidden;" class="nounderlines plainlinks">
<div style="position:relative;">
{{{imagemap}}}
<div style="position:absolute;width:{{{size|{{{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}}};"><!--
-->{{#ifexist:{{{link|}}}|<span style="color:{{{shadow|{{{color|white}}}}}}; font:{{{font|bold 18px veranda,sans-serif; line-height:1em;}}};"><!--
-->{{{news|{{{link}}}}}}</span>}}</div>
<div style="position:absolute;width:{{{size|{{{width|0px}}}}}};left:{{{x|0em}}};top:{{{y|0em}}};margin:{{{box-offset|5px}}};padding:{{{text-offset|5px}}};text-align:center;background:transparent;"><!--
-->{{#ifexist:{{{link|}}}|[[{{{link}}}|<span style="color:{{{color|white}}}; font:{{{font|bold 18px veranda,sans-serif; line-height:1em;}}};"><!--
-->{{{news|{{{link}}}}}}</span>]]}}</div>
{{{extra|}}}
</div>
<div style="width:100%; font-size:x-small; background:#ccc; text-align:right;"><span style="padding-right:0.5em;"><!--
-->{{#if:{{{credit|}}}|[[:Image:{{{credit}}}|image credit]] - &nbsp;}}<!--
-->[{{fullurl:{{{edit|Template:Lead article with large image}}}| action=edit}} edit this]</span></div>
</div>
 
<noinclude>[[Kategoria:Szablony graficznetypu Obrazek|{{PAGENAME}}]]</noinclude>
 
</noinclude>