Szablon:Fancy-image lead: Różnice pomiędzy wersjami
Usunięta treść Dodana treść
Nie podano opisu zmian |
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;">▼
{{{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]] - }}<!--▼
-->[{{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].
==
Przykład zawiera najważniejsze parametry. Pełna dokumentacja znajduje się [[:en:Template:Lead article with large image|tutaj]].
<pre>
{{
|
| | <!--
-->
|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
<!--
-->
|edit=User:Darklama/Headline
|imagemap=
<imagemap>
Image:Nimrod.mr2.arp.jpg|center|375px
default [[
desc none
</imagemap>
<!--
-->
|credit=Vladimir Putin and George W. Bush.jpg
|shadow=white
Linia 24 ⟶ 53:
}}
</pre>
...wyświetla:
{{
|
| | <!--
-->
|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
<!--
-->
|edit=User:Darklama/Headline
|imagemap=
<imagemap>
Image:Nimrod.mr2.arp.jpg|center|375px
default [[
desc none
</imagemap>
<!--
-->
|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]] - }}<!--
▲-->[{{fullurl:{{{edit|Template:Lead article with large image}}}| action=edit}} edit this]</span></div>
▲</noinclude>
|