Différences entre les versions de « Issue/IntroProblem »
De Semantic MediaWiki - Sandbox
Balise : Éditeur de wikicode 2017 |
(new) |
||
Ligne 1 : | Ligne 1 : | ||
− | == Ask: XXX == | + | == Example 1 - Ask: XXX == |
− | {{#ask:[[XXX]] | + | <pre> |
− | |intro=Here are the results: {{#set:Result1=INTRO}} | + | {{#ask: |
− | |outro=These were the results! {{#set:Result1=OUTRO}} | + | [[XXX]] |
− | |default=There are NO results! {{#set:Result1=DEFAULT}} | + | |intro=Here are the results: {{#set:Result1=INTRO}} |
+ | |outro=These were the results! {{#set:Result1=OUTRO}} | ||
+ | |default=There are NO results! {{#set:Result1=DEFAULT}} | ||
+ | }} | ||
+ | </pre> | ||
+ | {{#ask: | ||
+ | [[XXX]] | ||
+ | |intro=Here are the results: {{#set:Result1=INTRO}} | ||
+ | |outro=These were the results! {{#set:Result1=OUTRO}} | ||
+ | |default=There are NO results! {{#set:Result1=DEFAULT}} | ||
}} | }} | ||
− | == Ask: Category:City == | + | == Example 2 - Ask: Category:City == |
− | {{#ask:[[Category:City]] | + | <pre> |
− | |intro=Here are the results: {{#set:Result2=INTRO}} | + | {{#ask: |
− | |outro=These were the results! {{#set:Result2=OUTRO}} | + | [[Category:City]] |
− | |default=There are NO results! {{#set:Result2=DEFAULT}} | + | |intro=Here are the results: {{#set:Result2=INTRO}} |
+ | |outro=These were the results! {{#set:Result2=OUTRO}} | ||
+ | |default=There are NO results! {{#set:Result2=DEFAULT}} | ||
+ | }} | ||
+ | </pre> | ||
+ | {{#ask: | ||
+ | [[Category:City]] | ||
+ | |intro=Here are the results: {{#set:Result2=INTRO}} | ||
+ | |outro=These were the results! {{#set:Result2=OUTRO}} | ||
+ | |default=There are NO results! {{#set:Result2=DEFAULT}} | ||
}} | }} | ||
__SHOWFACTBOX__ | __SHOWFACTBOX__ | ||
+ | |||
+ | [[Category:Issue]] |
Version du 24 janvier 2019 à 16:29
Example 1 - Ask: XXX
{{#ask: [[XXX]] |intro=Here are the results: {{#set:Result1=INTRO}} |outro=These were the results! {{#set:Result1=OUTRO}} |default=There are NO results! {{#set:Result1=DEFAULT}} }}
There are NO results!
Example 2 - Ask: Category:City
{{#ask: [[Category:City]] |intro=Here are the results: {{#set:Result2=INTRO}} |outro=These were the results! {{#set:Result2=OUTRO}} |default=There are NO results! {{#set:Result2=DEFAULT}} }}
Here are the results:Activeicon Test, Angoulême, Athens, Bangalore, Beijing, Berlin, Capelle aan den IJssel, Chengdu, Gdańsk, Hamburg, Helsinki, Issue/M/236, Issue/SRF/623, Jakarta, Karlsruhe, Katowice, Kraków, Köln, London, Lublin, Maidstone, Sacramento (CA), Seattle, Shanghai, Vbbvcbvcb, Warszawa, Whats Nearby/Dynamic embedded (nolocation), WhatsNearby/sort results by geodistance, WrocławThese were the results!