Шаблон:Coord — различия между версиями
ru>Putnik (возврат к варианту, вызывающему Модуль:Coordinates: добавлена поддержка параметров dim, globe, scale, region, source и type) |
ru>Мастер теней (упрощение; см.: Обсуждение шаблона:Coord#Вопросы по новому коду) |
||
Строка 1: | Строка 1: | ||
− | <includeonly>{{#invoke:Coordinates|coord}}<!-- | + | <includeonly>{{#invoke:Coordinates|coord}}<!-- см. mw:Extension:GeoData → |
-->{{#coordinates:{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}} | -->{{#coordinates:{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}} | ||
|{{#switch:{{{display|}}} | |{{#switch:{{{display|}}} | ||
|inline,title | |inline,title | ||
− | |||
− | |||
− | |||
|title,inline | |title,inline | ||
− | |title={{# | + | |title={{#if:{{NAMESPACE}}||primary}} |
− | |||
− | |||
− | |||
− | |||
|#default= | |#default= | ||
}} | }} | ||
|name={{{name|}}} | |name={{{name|}}} | ||
− | }}</includeonly><noinclude> | + | }}</includeonly><noinclude>{{doc}}</noinclude> |
− | {{doc}} | ||
− | </noinclude> |
Версия 00:51, 14 апреля 2014
<templatestyles src="Шаблон:Doc/styles.css" />{{#if: || }}
Документация
{{#if: || <templatestyles src="Шаблон:Действия для страницы/styles.css" />[Ошибка скрипта: Модуля «Separated entries» не существует.]
}}
{{#if:|{{#ifexist:{{{1}}}|{{{{{1}}}||||}}|{{#ifexist:Шаблон:{{{1}}}|{{{{{1}}}||||}}|Шаблон:Документировать}}}}|{{#ifexist:Шаблон:Coord/doc|Шаблон:Coord/doc|Шаблон:Документировать}}}}
<templatestyles src="Шаблон:Doc/styles.css" />{{#ifexpr: 10 mod 2 = 1
| Шаблон:^
|
}}