|
|
| (9 intermediate revisions by 3 users not shown) |
| Line 1: |
Line 1: |
| {{TemplateBox | | {{Documentation|doc|[[commons:Template:Polling template]]}}{{TOC right}} |
| |1=lang | | This is a list of '''polling templates'''. They are typically used on [[talk page]]s when trying to reach a consensus via various people discussing how to improve an [[article]], or even weather to delete an article. |
| |1d=<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|lang=xx}}</nowiki> (where xx is ISO 639-2 language code) for output in the specified language | | ---- |
| |1stat=optional-
| | :This template provides a common {{tag|Documentation templates|documentation}} for various templates such as {{template|Support}}. |
|
| |
|
| |2=1
| | ==Examples== |
| |2d={{LangSwitch | | *<tt><nowiki>{{</nowiki>Support<nowiki>}}</nowiki></tt> — will display the icon and name: {{Support}} |
| |cs=Výjimečně používaný volitelný parametr, který umožňuje přepisovat standardní zprávu.
| | *<tt><nowiki>{{</nowiki>Support<nowiki>|hello}}</nowiki></tt> — will keep the icon but replaces name with own message (entered after the 'pipe'): {{Support|hello}} |
| |en=Rarely used optional parameter allows to overwrite the default text message
| | *<tt><nowiki>{{</nowiki>Support<nowiki>|}}</nowiki></tt> — will keep the icon but have no text message: {{Support|}} |
| |ru=Необязательный параметр, заменяет текст сообщения.
| |
| }} | |
| |2stat=optional-
| |
|
| |
|
| |name={{PAGENAME}}
| | ==Specific polling templates== |
| |desc={{LangSwitch
| | <div style="-moz-column-count:2; column-count:2; width:95%"> |
| |cs=Toto je '''hlasovací šablona'''. Neváhejte přidat překlady šablony. O jakoukoliv pomoc s editací těchto překladů můžete žádat na [[Commons:Administrators' noticeboard|nástěnce správců]].
| | *{{Support}} — <code>{{template|Support}}</code> |
| |en=This is a '''polling template'''. Feel free to add language translations. Any help in updating these translations may be requested at the [[Commons:Administrators' noticeboard|Administrators' Noticeboard]].
| | *{{Strong support}} — <code>{{template|Strong support}}</code> |
| |pl=To jest '''szablon głosowania'''. Możesz pomóc przetłumaczyć go na inne języki. W wypadku zabezpieczonych szablonów o umieszczeniu tłumaczenia można prosić na [[Commons:Administrators' noticeboard|stronie próśb do administratorów]].
| | *{{Vote keep}} — <code>{{template|Vote keep}}</code> |
| |pt=Esta é uma '''predefinição de votação'''. Sinta-se livre para adicionar traduções notras línguas. Qualquer ajuda na actualização destas traduções pode ser solicitada nos [[Commons:Administrators' noticeboard|pedidos aos administradores]].
| | *{{Agree}} — <code>{{template|Agree}}</code> |
| |ru=Это '''шаблон для голосования'''. Вы можете помочь, добавив язык в шаблон, а если шаблон защищён, напишите на [[Commons:Administrators' noticeboard|странице запросов к администраторам]].
| | *{{Done}} — <code>{{template|Done}}</code> |
| }} | | *{{Comment}} — <code>{{template|Comment}}</code> |
| |namespace=all | | *{{Oppose}} — <code>{{template|Oppose}}</code> |
| |usergroup=all | | *{{Strong oppose}} — <code>{{template|Strong oppose}}</code> |
| |usage-notes= | | *{{Vote delete}} — <code>{{template|Vote delete}}</code> |
| |type= | | *{{Neutral}} — <code>{{template|Neutral}}</code> |
| |example= | | </div><includeonly>[[Category:Templates|{{PAGENAME}}]]</includeonly><noinclude> |
| |i18n-method=switch | |
| |i18n-desc= | |
| |seealso= | |
| |setscats= | |
| |lines=one | |
| |shorthand= | |
| }}<includeonly> | |
|
| |
|
| == Examples ==
| | [[Category:Templates]]</noinclude> |
| :<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki> – {{LangSwitch|cs=Zobrazí název šablony v závislosti na uživatelském nastavení jazyka:|en=Will display the name in the language specified by user's preferences:}} {{{{PAGENAME}}|lang=}}
| |
| :<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|lang=pl}}</nowiki> – {{LangSwitch|cs=Vždy zobrazí název v polštině:|en=Will always display the name in Polish:}} {{{{PAGENAME}}|lang=pl}}
| |
| :<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|hello}}</nowiki> – {{LangSwitch|cs=Ponechá ikonu, ale zobrazí vlastní text:|en=Will keep the icon but add own message:}} {{{{PAGENAME}}|{{LangSwitch|cs=Ahoj|en=hello}}}}
| |
| :<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|}}</nowiki> – {{LangSwitch|cs=Zobrazí ikonu bez textu:|en=Will keep the icon and have no text message:}} {{{{PAGENAME}}|}}</includeonly>
| |
| | |
| == {{LangSwitch|cs=Viz také|en=See also|pl=Zobacz także|pt=Veja também|ru=См. также}} ==
| |
| <div style="-moz-column-count:2; column-count:2; width: 95%;">
| |
| * {{Support}} – <code>{{tl|Support}}</code>
| |
| * {{Strong support}} – <code>{{tl|Strong support}}</code>
| |
| * {{Weak support}} – <code>{{tl|Weak support}}</code>
| |
| * {{Vote keep}} – <code>{{tl|Vote keep}}</code>
| |
| * {{Agree}} – <code>{{tl|Agree}}</code>
| |
| * {{Done}} – <code>{{tl|Done}}</code>
| |
| * {{Comment}} – <code>{{tl|Comment}}</code>
| |
| * {{Info}} – <code>{{tl|Info|Optional alt. text}}</code>
| |
| * {{Request}} – <code>{{tl|Request}}</code>
| |
| * {{Question}} – <code>{{tl|Question}}</code>
| |
| * {{Withdraw}} – <code>{{tl|Withdraw}}</code>
| |
| * {{Oppose}} – <code>{{tl|Oppose}}</code>
| |
| * {{Strong oppose}} – <code>{{tl|Strong oppose}}</code>
| |
| * {{Weak oppose}} – <code>{{tl|Weak oppose}}</code>
| |
| * {{Delist}} – <code>{{tl|Delist}}</code>
| |
| * {{Delistandreplace}} – <code>{{tl|Delistandreplace}}</code>
| |
| * {{Vote delete}} – <code>{{tl|Vote delete}}</code>
| |
| * {{Disagree}} – <code>{{tl|Disagree}}</code>
| |
| * {{Not done}} – <code>{{tl|Not done}}</code>
| |
| * {{Neutral}} – <code>{{tl|Neutral}}</code>
| |
| * {{On hold}} – <code>{{tl|On hold}}</code>
| |
| * {{Abstain}} – <code>{{tl|Abstain}}</code>
| |
| </div>
| |
| <includeonly>[[Category:Polling templates|{{PAGENAME}}]][[Category:Internationalization templates using LangSwitch|{{PAGENAME}}]][[Category:Internationalised message templates]]</includeonly><noinclude>
| |
| ----
| |
| {{LangSwitch|cs=Tato šablona poskytuje společnou dokumentaci šablon jako např. {{tl|Support}}.|en=This template provides a common documentation for various templates like {{tl|Support}}.}}
| |
| [[Category:Internationalised_documentation_templates]]
| |
| [[Category:Template namespace templates]]</noinclude> | |