AskAboutDolphins

From semanticweb.org
Jump to: navigation, search

TODO: these tests should be updated for SMW 1.0 maybe it and/or new {{#ask:}} function fixes the problems.

[edit] Example of format=template not working properly

This page does not work due to the following bug or missing feature in the Semantic Mediawiki software: template format not working properly in queries . Whenever the software is updated, check this page again to see if the problem persists.

Some of the examples below use Template:DolphinFormat.

Wiki markup in this page; wiki markup in the template

{|style="border-collapse:collapse;" border="1"
<ask format=template template="DolphinFormat">
[[Category:Dolphins]] [[age:=*]]
</ask>
|}
<ask format=template template="DolphinFormat"> * </ask>

Direct example of wiki markup without using <ask>

{|style="border-collapse:collapse;" border="1"
{{DolphinFormat|[[Blipper]]||}}
{{DolphinFormat|[[Flipper]]|5|}}
{{DolphinFormat|[[Slipper]]|2|}}
|}
Blipper
Flipper 5
Slipper 2

[edit] Examples using HTML markup directly - also not quite properly working

This page does not work due to the following bug or missing feature in the Semantic Mediawiki software: direct HTML markup not working properly in queries . Whenever the software is updated, check this page again to see if the problem persists.

Some of the examples below use Template:DolphinFormatHtml.

HTML markup in this page; HTML markup in the template

<table style="border-collapse:collapse;" border="1">
<ask format=template template="DolphinFormatHtml">
[[Category:Dolphins]] [[age:=*]]
</ask>
</table>
<ask format=template template="DolphinFormatHtml"> * </ask>

Wiki markup in this page; HTML markup in the template

{|style="border-collapse:collapse;" border="1"
<ask format=template template="DolphinFormatHtml">
[[Category:Dolphins]] [[age:=*]]
</ask>
|}
<ask format=template template="DolphinFormatHtml"> * </ask>

HTML markup in this page; wiki markup in template

<table style="border-collapse:collapse;" border="1">
<ask format=template template="DolphinFormat">
[[Category:Dolphins]] [[age:=*]]
</ask>
</table>
<ask format=template template="DolphinFormat"> * </ask>

Direct example of HTML markup without using <ask>

<table style="border-collapse:collapse;" border="1">
{{DolphinFormatHtml|[[Blipper]]||}}
{{DolphinFormatHtml|[[Flipper]]|5 years|}}
{{DolphinFormatHtml|[[Slipper]]|2 years|}}
</table>
Blipper
Flipper 5 years
Slipper 2 years
Personal tools
Namespaces

Variants
Actions
Navigation
services
Toolbox