« Issue/Datatables markup » : différence entre les versions
De Semantic MediaWiki - Sandbox
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 3 : | Ligne 3 : | ||
* Yes, for broadtable with class=datatable. | * Yes, for broadtable with class=datatable. | ||
==' | =='foaf:name'-field for the subobject on this page== | ||
{{#show:{{FULLPAGENAME}}|? | Will hyperlinks and markup be shown in a datatable? | ||
{{#set: | * No, for SRF 4.0.2 (d519672) 2023-03-09T09:12:34 on SMW 4.1.2 (5c94879) 2023-07-29T20:01:41. | ||
{{#subobject: | * Yes, for broadtable with class=datatable. | ||
| | |||
=='foaf:name'-field for the subobject on this page== | |||
{{#show:{{FULLPAGENAME}}|?foaf:name}} | |||
{{#set:foaf:name= and <a href="/index.php?title=Sp%C3%A9cial:D%C3%A9connexion&returnto=User:Joris">logs you straight out<img src="https://www.noraonline.nl/images/noraonline/a/a9/Binnenhof.jpg" alt=external image</img></a>.}} | |||
| | |||
| | |||
{{#subobject: | |||
| | |Has population=1 | ||
|foaf:name=This is MW syntax '''bold''', and this is [https://archixl.nl an external hyperlink]. | |||
|Has population= | * item | ||
* item | |||
|foaf:name=This is <b>bold in html</b>, and this <em>emphasised</em>. <a href="https://spamsite.org">This is an external hyperlink</a> | |||
<ul><li>item</li><li style="background-color:lightgreen">2nd item</li></ul> | |||
|Has population=1234567 | |||
|population=7654321 | |||
|population=2 | |||
}} | |||
==Format=datatables== | |||
{{#ask:[[foaf:name::+]] OR [[population::+]] OR [[Athens]] | |||
|?foaf:name | |||
|?Population | |||
|?Has population | |||
|format=datatables | |||
}} | |||
==Format=Broadtable, class=datatable== | |||
{{#ask:[[foaf:name::+]] OR [[population::+]] OR [[Athens]] | |||
|?foaf:name | |||
|?Population | |||
|?Has population | |||
|format=broadtable | |||
|class=datatable | |||
}} | |||
{{#subobject: | {{#subobject: | ||
|Has population=1 | |Has population=1 | ||
| | |foaf:name=This is MW syntax '''bold''', and this is [https://archixl.nl an external hyperlink]. | ||
* item | * item | ||
* item | * item | ||
| | |foaf:name=This is <b>bold in html</b>, and this <em>emphasised</em>. <a href="https://spamsite.org">This is an external hyperlink</a> | ||
<ul><li>item</li><li style="background-color:lightgreen">2nd item</li></ul> | <ul><li>item</li><li style="background-color:lightgreen">2nd item</li></ul> | ||
Ligne 33 : | Ligne 61 : | ||
==Format=datatables== | ==Format=datatables== | ||
{{#ask: | {{#ask: [[population::+]] OR [[Athens]] | ||
|? | |?foaf:name | ||
|?Population | |?Population | ||
|?Has population | |?Has population | ||
Ligne 42 : | Ligne 70 : | ||
==Format=Broadtable, class=datatable== | ==Format=Broadtable, class=datatable== | ||
{{#ask:[[ | {{#ask:[[foaf:name::+]] OR [[population::+]] OR [[Athens]] | ||
|? | |?foaf:name | ||
|?Population | |?Population | ||
|?Has population | |?Has population |
Dernière version du 29 août 2023 à 22:43
Will hyperlinks and markup be shown in a datatable?
- No, for SRF 4.0.2 (d519672) 2023-03-09T09:12:34 on SMW 4.1.2 (5c94879) 2023-07-29T20:01:41.
- Yes, for broadtable with class=datatable.
'foaf:name'-field for the subobject on this page
Will hyperlinks and markup be shown in a datatable?
- No, for SRF 4.0.2 (d519672) 2023-03-09T09:12:34 on SMW 4.1.2 (5c94879) 2023-07-29T20:01:41.
- Yes, for broadtable with class=datatable.
'foaf:name'-field for the subobject on this page
and <a href="/index.php?title=Sp%C3%A9cial:D%C3%A9connexion&returnto=User:Joris">logs you straight out<img src="https://www.noraonline.nl/images/noraonline/a/a9/Binnenhof.jpg" alt=external image</img></a>.
Format=datatables
Format=Broadtable, class=datatable