Property:Number Events
Jump to navigation
Jump to search
Tim Holzheim (talk | contribs) |
Tim Holzheim (talk | contribs) |
||
Line 14: | Line 14: | ||
=Freitext= | =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]] | [[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.