User:Kildor/PluginCard-united: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(Future unified PluginCard required HashTables Extention.)
 
No edit summary
Line 1: Line 1:
<!--
<!--Localisation
Localisation
-->{{Localisation/PluginCard}}<!--
-->{{#switch:{{{1|en}}}
| ru =
{{#hashdefine: localisation|noimage=Нет изображения, filename=Имя файла, cat-todo=Требуют скриншота, cat-lang=Плагины, links=Ссылки, plugin-author=Автор плагина,plugin-authors=Авторы плагина,systemreq=Системные <br/>требования,homepage=Страница плагина,download-links=Скачать,download-stable=Стабильная версия,download-latest=Текущая версия,links-other=Другое |,|=}}
| en =
|
{{#hashdefine: localisation|noimage=No image, filename=Filename, cat-todo=Screenshot required, cat-lang=Plugins:English, links=Links, plugin-author=Plugin author,plugin-authors=Plugins authors,systemreq=System <br/>requirements,homepage=Homepage,download-links=Download links,download-stable=Stable version,download-latest=Current version,links-other=Other|,|=}}
}}<!--
 
 
--%>{{DISPLAYTITLE:{{{name|}}} }}{| class="infobox bordered" cellpadding="4" style="margin: 0 0 10px 10px; width: 22em; font-size: 90%; float: right;clear: right; box-shadow:1px 1px 3px #999;"
--%>{{DISPLAYTITLE:{{{name|}}} }}{| class="infobox bordered" cellpadding="4" style="margin: 0 0 10px 10px; width: 22em; font-size: 90%; float: right;clear: right; box-shadow:1px 1px 3px #999;"
| align="center" colspan=2 bgcolor="#ccccff" style="font-size:110%;" | '''''{{{name|{{PAGENAME}}}}}'''''
| align="center" colspan=2 bgcolor="#ccccff" style="font-size:110%;" | '''''{{{name|{{PAGENAME}}}}}'''''
Line 16: Line 7:
{{#if:{{{dll|}}}|{{RowColor|#ccccff|'''{{#hashvalue:localisation|filename|Filename}}'''|{{{dll|}}}}}|}}
{{#if:{{{dll|}}}|{{RowColor|#ccccff|'''{{#hashvalue:localisation|filename|Filename}}'''|{{{dll|}}}}}|}}
<!--am-->{{#if:{{{author|}}}| {{RowColor|#ccccff|'''{{#hashvalue: localisation |plugin-author|Plugin author}}'''|{{Developer|{{{author|}}}}}}}}}
<!--am-->{{#if:{{{author|}}}| {{RowColor|#ccccff|'''{{#hashvalue: localisation |plugin-author|Plugin author}}'''|{{Developer|{{{author|}}}}}}}}}
{{#if:{{{authors|}}}|{{RowColor|#ccccff|'''{{#hashvalue: localisation |plugin-authors|Plugin authors}}'''|{{{authors|}}}}}|}}<!--
{{#if:{{{authors|}}}|{{RowColor|#ccccff|'''{{#hashvalue: localisation |plugin-authors|Plugin authors}}'''|{{{authors|}}}}}|}}<!--/am-->
/am-->
|- valign="top"
|- valign="top"
{{#if:{{{requirements|}}}|{{RowColor|#ccccff|'''{{#hashvalue: localisation |systemreq|System <br/>requirements}}'''|{{{requirements|}}}}}|}}
{{#if:{{{requirements|}}}|{{RowColor|#ccccff|'''{{#hashvalue: localisation |systemreq|System <br/>requirements}}'''|{{{requirements|}}}}}|}}
|-
|-
|-
{{#if:{{{homepage|}}}|[{{{homepage|}}} '''{{#hashvalue: localisation |homepage|Homepage}}''']<br/>|}}
{{#if:{{{homepage|}}}|[{{{homepage|}}} '''{{#hashvalue: localisation |homepage|Homepage}}''']<br/>|}}
Line 26: Line 15:
|-
|-
| align="center" colspan="2" bgcolor="#ccccff" style="font-size:110%;" |
| align="center" colspan="2" bgcolor="#ccccff" style="font-size:110%;" |
'''{{#hashvalue: localisation |download-title|Download links}}:'''
'''{{#hashvalue:localisation |download-title|Download links1}}:'''
{{#if:{{{hideDownloadLinks|}}}| |
{{#if:{{{hideDownloadLinks|}}}| |
{{!}}-
{{!}}-
Line 49: Line 38:
| language code (English if empty or incorrect code)
| language code (English if empty or incorrect code)
| name = Название плагина
| name = Название плагина
| author = Автор плагина
| author         = Автор плагина
| authors              = Авторы плагина
| authors              = Авторы плагина
| screenshot = (н) Скриншот плагина (Поставьте *** (три звезды) если плагину не требуется скриншот)
| screenshot = (н) Скриншот плагина (Поставьте *** (три звезды) если плагину не требуется скриншот)

Revision as of 16:37, 27 February 2013

Template:Localisation/PluginCard

|- valign="top"

|-


|- | align="center" colspan="2" bgcolor="#ccccff" style="font-size:110%;" | Download links1: |- |- style="vertical-align:top;" | style="white-space: nowrap; text-align:right; background-color:#fff;" | Stable version: || x32, x64 |- |- style="vertical-align:top;" | style="white-space: nowrap; text-align:right; background-color:#fff;" | Current version: || x32, x64 |-

|}

Template:Languages/Template Template:-

Использование:

{{PluginCard
| language code (English if empty or incorrect code)
| name			= Название плагина
| author		        = Автор плагина
| authors               = Авторы плагина
| screenshot		= (н) Скриншот плагина (Поставьте *** (три звезды) если плагину не требуется скриншот)
| requirements		= (н) Системные требования (к примеру, необходимые runtime библиотеки)
| dll			= Имя dll плагина (перечисление)
| basename              = Имя dll плагина, без расширения (предпочтительный вариант)
| langpackru		= (н) Перевод плагина (имя файла без .txt в SVN русского лангпака)
| additionalLinks       = (н) Дополнительные ссылки на скачивание, показываемые в карточке плагина
| hideDownloadLinks     = (н) Не показывать дефолтные ссылки на скачивание
| hide-s32              = (н) не показывать ссылку на стейбл-32
| hide-s64              = (н) не показывать ссылку на стейбл-64
| hide-l32              = (н) не показывать ссылку на лейтест-32
| hide-l64              = (н) не показывать ссылку на найтли-64

}}

(н) = указывать необязательно