Template:SemanticInputParser/doc

Summary
This template is a designed for inputting semantic data. It allows for customizable rules such as Regular Expressions, data delimiters and 5 types of linking options.

Description

 * label: This is the display name of the table element
 * value: This is the value passed into the template to be parsed according to the variables LineDelim, SameLineDelim, RegexLineCondition, RegexPrepend, RegexAppend
 * SemanticPropertyName: This is the name of the semantic property to assign the parsed data to
 * SearchByProperty: This boolean property creates a search icon if there are the same values for the this property
 * SemanticPropertyUnit: This is the unit of the semantic property to automatically add
 * linkOptions:
 * default, show no link if the page does not exist
 * none, never show a link
 * Semantic Unit, Show the input with the semantic unit using the display units on the property page.
 * Wikipedia, link to wikipedia if does not exist on this wiki
 * Form:FormName, if there is no page of this name on the wiki, create a form link.
 * LineDelim: This property sets the separator between items before parsing.
 * SameLineDelim: This property sets the separator for items on the same line
 * NewLineDelim: This sets the separator between the items after parsing.
 * RegexLineCondition: This sets a regex condition for each item on a line
 * RegexPrepend: This sets a regex condition for the beginning part of the line to not include in the parsing
 * RegexAppend: This sets a regex condition for the ending part of the line to not include in the parsing
 * PrependText: This value is inserted in front of a line item
 * AppendText: This value is inserted behind a line item
 * Icon Type: This value is used to set the type of icon, as items in different categories may use different naming conventions. If this value is set, the template requires the template to be defined. The iBox/icon template is a place to store naming conventions so that the template can assemble a filename based on the icon type and parsed data.

Requirements

 * 1) http://www.mediawiki.org/wiki/Extension:Regex_Fun
 * 2) http://www.mediawiki.org/wiki/Extension:Variables
 * 3) http://www.mediawiki.org/wiki/Extension:Semantic_Forms (#arraymap parser)
 * 4) http://www.mediawiki.org/wiki/Extension:Semantic_MediaWiki
 * 5) http:///extensions/SemanticMediaWiki/skins/SMW_tooltip.js (for the alert messages)
 * Template:!, Template:iBox/Row, Template:iBox/Box