Property:Tournament

From BattleMaster Wiki
Jump to navigation Jump to search
m
m (changes)
Line 7: Line 7:
  
 
Data we need to capture:
 
Data we need to capture:
 +
* Date
 
* Island
 
* Island
* Date
 
 
* Type (sword, joust, both)
 
* Type (sword, joust, both)
 
* Top prize
 
* Top prize
Line 17: Line 17:
 
If this works, you would specify it like this:
 
If this works, you would specify it like this:
  
<nowiki>[[Tournament:: Atamara; September 2, 2009; Both; 700; 200; 10; Kende Indirik]]</nowiki>
+
{{CodeInline|<nowiki>[[Tournament:: Atamara; September 2, 2009; Both; 700; 200; 10; Kende Indirik]]</nowiki>}}
  
 
A template could be made to make data entry easier. Once this has been done, we should be able to run queries on this data to, for example, assemble all the tournament winners on Atamara:
 
A template could be made to make data entry easier. Once this has been done, we should be able to run queries on this data to, for example, assemble all the tournament winners on Atamara:
* <pre><nowiki>{{#ask: [[Tournament:: Atamara; ?; ?; ?; ?; ?; ?]] }}</nowiki></pre>
+
{{CodeInline|<nowiki>{{#ask: [[Tournament:: Atamara; ?; ?; ?; ?; ?; ?]] }}</nowiki>}}
  
Or, to find all duel event tournaments on East Island with an entry fee of over 10 gold:
+
Or, to find all dual event tournaments on East Island with an entry fee of over 10 gold:
* <pre><nowiki>{{#ask: [[Tournament:: East Island; Both; ?; ?; >10; ?]] }}</nowiki></pre>
+
{{CodeInline|<nowiki>{{#ask: [[Tournament:: East Island; Both; ?; ?; >10; ?]] }}</nowiki>}}
  
 
etc....
 
etc....
  
[[has type::Page; Page; Date; String; String; String; String; String]]
+
Property values:
 +
{{CodeInline|<nowiki>[[has type::Page; Date; String; String; String; String; String]]</nowiki>}}
 +
 
 +
==Property definition==
 +
[[has type::Page; Date; String; String; String; String; String]]

Revision as of 15:21, 3 September 2009

This is a test of multi-valued properties. Do not use it! It could get wiped out at any time without warning!

This property is intended to allow the specification of data related to tournaments, such as the date, location, type, number of attendees, entry fee, pot, winner, etc. This would go on the city page, so we don't need to specify the city, I think....

Link to multi-valued properties: http://semantic-mediawiki.org/wiki/Help:Many-valued_properties

Data we need to capture:

  • Date
  • Island
  • Type (sword, joust, both)
  • Top prize
  • Second prize
  • Fee
  • Winner

If this works, you would specify it like this:

[[Tournament:: Atamara; September 2, 2009; Both; 700; 200; 10; Kende Indirik]]

A template could be made to make data entry easier. Once this has been done, we should be able to run queries on this data to, for example, assemble all the tournament winners on Atamara:

{{#ask: [[Tournament:: Atamara; ?; ?; ?; ?; ?; ?]] }}

Or, to find all dual event tournaments on East Island with an entry fee of over 10 gold:

{{#ask: [[Tournament:: East Island; Both; ?; ?; >10; ?]] }}

etc....

Property values:

[[has type::Page; Date; String; String; String; String; String]]

Property definition

Page; Date; String; String; String; String; StringThe "Page; Date; String; String; String; String; String" type of this property is invalid

Showing 2 pages using this property.