« Issue/1146 » : différence entre les versions
De Semantic MediaWiki - Sandbox
Aucun résumé des modifications |
Aucun résumé des modifications |
||
(2 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 3 : | Ligne 3 : | ||
| description = Example to show further link to match property values | | description = Example to show further link to match property values | ||
| keywords = property value match; further link; set parser; ask parser;template use;template output;#set | | keywords = property value match; further link; set parser; ask parser;template use;template output;#set | ||
| other links = [[Template:SetFurtherLinkViaAsk]] | | other links = https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/1146,[[Template:SetFurtherLinkViaAsk]], [[Template:SetFurtherLinkViaSpecial]] | ||
}} | }} | ||
Dernière version du 1 octobre 2015 à 10:55
Description | Example to show further link to match property values |
Parent topic | Parser examples |
Extension(s) | Semantic MediaWiki |
Keyword(s) | property value match·further link·set parser·ask parser·template use·template output·#set |
Other link(s) | https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/1146,Template:SetFurtherLinkViaAsk, Template:SetFurtherLinkViaSpecial |
{{#set: |SomeProperty=SomeValue |template=SetFurtherLinkViaSpecial }}
<includeonly>[[Special:SearchByProperty/{{{property}}}/{{{value}}}|{{{value}}}]]</includeonly>
{{#set: |SomeProperty=SomeOtherValue |template=SetFurtherLinkViaAsk }}
<includeonly>{{#ask: [[{{{property}}}::{{{value}}}]]|limit=0|searchlabel={{{value}}} }}</includeonly>