Type:String
From open-support.info
(Difference between revisions)
Dick6809 (Talk | contribs)
(ページの作成:「{{#switch:{{int:Lang}} | ja = データ型 '''string''' は、単純な数単語の文字列等の、キャラクタ列に対して使用...」)
(ページの作成:「{{#switch:{{int:Lang}} | ja = データ型 '''string''' は、単純な数単語の文字列等の、キャラクタ列に対して使用...」)
Latest revision as of 02:25, 15 April 2011
The datatype string is used for simple words and similar character sequences. It has the following restrictions:
- As for all properties, the sequence "::" is not possible in property values (not even inside nowiki tags).
- values must not be longer than 255 characters (if you use non-latin characters, this number might be smaller). If you need longer strings, use Type:Text.
You can use some wiki markup inside a string property such as runs of ' for bold and italic, and the markup will change the appearance of the string. You cannot embed semantic annotations inside a string property.
Enumerations
You can use the special property Allows value to restrict a property to a particular set of values. For example you could limit "Status" to certain states.
The old Type:Enumeration from SMW versions prior to 1.0 is an alias for Type:String since it has the same behaviour.
This type is among the standard datatypes of this wiki.
Properties of type "String"
Showing 12 properties using this type.
B |
B cont.D |
NPW |