Property:Tournament

From BattleMaster Wiki
Jump to navigation Jump to search
m (testing multi-valued properties)
 
m
Line 1: Line 1:
 
'''This is a test of multi-valued properties. Do not use it! It could get wiped out at any time without warning!'''
 
'''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 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:
+
''Link to multi-valued properties:
[http://semantic-mediawiki.org/wiki/Help:Many-valued_properties http://semantic-mediawiki.org/wiki/Help:Many-valued_properties]
+
[http://semantic-mediawiki.org/wiki/Help:Many-valued_properties http://semantic-mediawiki.org/wiki/Help:Many-valued_properties]''
  
 
Data we need to capture:
 
Data we need to capture:
 
* Island
 
* Island
* City
 
 
* Date
 
* Date
 
* Type (sword, joust, both)
 
* Type (sword, joust, both)
Line 18: Line 17:
 
If this works, you would specify it like this:
 
If this works, you would specify it like this:
  
<nowiki>[[Tournament:: Atamara; Siver; September 2, 2009; Both; 700; 200; 10; Kende Indirik]]</nowiki>
+
<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:
Line 24: Line 23:
  
 
Or, to find all duel event tournaments on East Island with an entry fee of over 10 gold:
 
Or, to find all duel event tournaments on East Island with an entry fee of over 10 gold:
* <pre><nowiki>{{#ask: [[Tournament:: East Island; ?; Both; ?; ?; >10; ?]] }}</nowiki></pre>
+
* <pre><nowiki>{{#ask: [[Tournament:: East Island; Both; ?; ?; >10; ?]] }}</nowiki></pre>
  
 
etc....
 
etc....
  
 
[[has type::Page; Page; Date; String; String; String; String; String]]
 
[[has type::Page; Page; Date; String; String; String; String; String]]

Revision as of 02:28, 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:

  • Island
  • Date
  • 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 duel event tournaments on East Island with an entry fee of over 10 gold:

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

etc....

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

Showing 2 pages using this property.