Semantic Forms

From Nat's Scratch Pad

Jump to: navigation, search

Not only does this form capture structured data in the wiki, it also creates a semantic index between all the form data entered.

add title=Add an opinion item Item

Author: author
Source: source
Date: date
URL: url
Quote: quote

{{{end template}}}

Opinion Topic: 1

Position: 2

Stance: 3 {{{end template}}}

Reference Item name: 1 {{{end template}}}

Free text:

free text


summary

minor edit watch

save preview changes cancel


Data type Default input type Default size Other allowed input types
Page http://semantic-mediawiki.org/index.php/Type:Page text (with autocompletion) 35 textarea
String http://semantic-mediawiki.org/index.php/Type:String text 35 textarea
Text http://semantic-mediawiki.org/index.php/Type:Text textarea 5 x 30 text
Code: http://semantic-mediawiki.org/index.php/Type:Code textarea 5 x 30 text
URL http://semantic-mediawiki.org/index.php/Type:URL text 100 textarea
Number http://semantic-mediawiki.org/index.php/Type:Number text 10 textarea
Date http://semantic-mediawiki.org/index.php/Type:Date date datetime (includes hours, minutes, seconds and AM/PM indicator),

datetime with timezone (includes all of those, and a timezone),

year (year only)
Enumeration (any property with defined "<a href="http://semantic-mediawiki.org/index.php/Property:Allows_value" class="external text" title="http://semantic-mediawiki.org/index.php/Property:Allows_value" rel="nofollow">allowed values</a>") dropdown radiobutton
<a href="http://semantic-mediawiki.org/index.php/Type:Boolean" class="external text" title="http://semantic-mediawiki.org/index.php/Type:Boolean" rel="nofollow">Boolean</a> checkbox