« HasStandard » : différence entre les versions

De Semantic MediaWiki - Sandbox

(chg)
(form)
 
(6 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 8 : Ligne 8 :
</pre>
</pre>
[[20181219 HasStandard::A random standard]]
[[20181219 HasStandard::A random standard]]
[[20181219 HasStandard::A random DEFCON]]
[[20181219 HasStandard::Another random standard]]


2) Then, trying to call the standard using:
2) Then, trying to call the standard using:
; Syntax
; Query
<pre>
<pre>
{{#show: {{PAGENAME}} | ?20181219 HasStandard}}
{{#show: {{PAGENAME}} |?20181219 HasStandard }}
</pre>
</pre>
; Result
; Result
{{#show: {{PAGENAME}} | ?20181219 HasStandard }}
{{#show: {{PAGENAME}} |?20181219 HasStandard }}
 
3) Now trying to get this into a bulleted list
; Query
<pre>
{{#show:
{{PAGENAME}}
|?20181219 HasStandard
|format=list
|intro=&amp;bull;&amp;ensp;
|valuesep=<br>&amp;bull;&amp;ensp;
}}
</pre>
; Result
{{#show:
{{PAGENAME}}
|?20181219 HasStandard
|format=list
|intro=&bull;&ensp;
|valuesep=<br>&bull;&ensp;
}}

Dernière version du 20 décembre 2018 à 23:59

So, I am trying to reference standards in an info box ...

1) I am labeling the standard as:

Data
[[20181219 HasStandard::A random standard]]
[[20181219 HasStandard::Another random standard]]

A random standard Another random standard

2) Then, trying to call the standard using:

Query
{{#show: {{PAGENAME}} |?20181219 HasStandard }}
Result

A random standard, Another random standard

3) Now trying to get this into a bulleted list

Query
{{#show:
 {{PAGENAME}}
 |?20181219 HasStandard
 |format=list
 |intro=&bull;&ensp;
 |valuesep=<br>&bull;&ensp;
}}
Result

• A random standard
• Another random standard

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.