« 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:: | [[20181219 HasStandard::Another random standard]] | ||
2) Then, trying to call the standard using: | 2) Then, trying to call the standard using: | ||
; | ; 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=&bull;&ensp; | |||
|valuesep=<br>&bull;&ensp; | |||
}} | |||
</pre> | |||
; Result | |||
{{#show: | |||
{{PAGENAME}} | |||
|?20181219 HasStandard | |||
|format=list | |||
|intro=•  | |||
|valuesep=<br>•  | |||
}} |
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=•  |valuesep=<br>•  }}
- Result
• A random standard
• Another random standard