Шаблон:Инвертировать-свойство: различия между версиями

Содержимое удалено Содержимое добавлено
Новая страница: «<noinclude> This template takes a property name and its inverse property name. It queries for the inverse property name and produces wiki text with the inverted…»
 
Нет описания правки
Строка 4:
Usage: <nowiki>{{Invert-property|Derived property name|Its inverse property name}}</nowiki>
 
This hides the annotation by specifying blank as the alternate text. Since "<tt>| </tt>" in a template confuses parsing, it uses a subtemplate [[TemplateШаблон:InvertИнвертировать-propertyсвойство/SeparatorСепаратор]] for the separator.
 
See [[https://www.semantic-mediawiki.org/wiki/Demo:California California]] for use of this template.
 
(Credit goes to Semantic MediaWiki user DanTMan for this technique.)
[[Category:Sample pages]]
</noinclude><includeonly>[[{{{2}}}::{{#ask:[[{{{1}}}::{{PAGENAMEE}}]]|link=none|sep={{InvertИнвертировать-propertyсвойство/SeparatorСепаратор|{{{2}}}}}}}|
]]</includeonly>