Property:Number Events
Jump to navigation
Jump to search
Tim Holzheim (talk | contribs) (Created page with "{{Property}} Test of dynamic property values assigend by template") |
Tim Holzheim (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{Property}} | + | =Property= |
+ | |||
+ | {{Property | ||
+ | |name=Number Events | ||
+ | |label=Number Events | ||
+ | |type=Special:Types/Number | ||
+ | |primaryKey=No | ||
+ | |mandatory=No | ||
+ | |uploadable=No | ||
+ | |showInGrid=No | ||
+ | |isLink=No | ||
+ | |nullable=No | ||
+ | }} | ||
+ | =Freitext= | ||
Test of dynamic property values assigend by template | Test of dynamic property values assigend by template | ||
+ | == Idea == | ||
+ | The value of the property is assigned by the template as follows: | ||
+ | <syntaxhighlight lang="smw" line='line'> | ||
+ | [[Number Events::{{#ask: [[Event in series::{{PAGENAME}}]]|mainlabel=-|format=count|default=0}} ]] | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | The value will not always be correct since is it is likely that the value will only change a few time in the year the automatic page reload should deliver sufficient results. | ||
+ | |||
+ | [[has type::Text]] |
Latest revision as of 00:42, 12 March 2021
Property
Property | |
---|---|
name | Number Events |
label | Number Events |
type | Special:Types/Number |
index | |
sortPos | |
primary key | No |
mandatory | No |
namespace | |
size | |
uploadable | No |
default | |
inputType | |
allowedValues | |
documentation | |
values from | |
showInGrid | No |
isLink | No |
allow nulls? | No |
topic | |
placeholder | |
regex |
Freitext
Test of dynamic property values assigend by template
Idea
The value of the property is assigned by the template as follows:
[[Number Events::{{#ask: [[Event in series::{{PAGENAME}}]]|mainlabel=-|format=count|default=0}} ]]
The value will not always be correct since is it is likely that the value will only change a few time in the year the automatic page reload should deliver sufficient results.