Property:Sourcecode lang
Jump to navigation
Jump to search
Property | |
---|---|
name | lang |
label | lang |
type | Special:Types/text |
index | 2 |
sortPos | 2 |
primary key | false |
mandatory | false |
namespace | |
size | 50 |
uploadable | false |
default | |
inputType | dropdown |
allowedValues | |
documentation | The language of the sourcecode |
values from | property=Sourcecode_lang |
showInGrid | |
isLink | false |
allow nulls? | |
topic | Concept:Sourcecode |
placeholder | |
regex |
text This is a Property with type Special:Types/text
Languages
smw
If smw is defined as language of Concept:Sourcecode it is expected that the text of the sourcecode contains only the selection and variable assignment and NOT the definition that the query is a ASK query. The query MUST be embedded between pre-tags to avoid syntax errors with the definition as sourcecode.
Example
Valid smw query for a Concept:Sourcecode:
<pre>
[[Concept:Topic]]
|mainlabel=Topic
| ?Topic name = name
| ?Topic pluralName = pluralName
| ?Topic icon = icon
| ?Topic iconUrl = iconUrl
| ?Topic documentation = documentation
| ?Topic wikiDocumentation = wikiDocumentation
| ?Topic defaultstoremode = defaultstoremode
| ?Topic listLimit = listLimit
| ?Topic cargo = cargo
| ?Topic headerTabs = headerTabs
| ?Topic context = context
}}
</pre>