Online:Structure/CalendarWidget: Unterschied zwischen den Versionen

Zeile 141: Zeile 141:
 
agemax = maximum years
 
agemax = maximum years
  
 +
or use ageclasses as defined in the database, you may combien several ageclasses like:
 +
ageclass[]=10&ageclass[]=20
 +
 +
1 > without
 +
10 > Seniors
 +
15 > U23
 +
20 > U20
 +
30 > U17
 +
35> U15
 +
40 > U14
 +
41 > U14+U13
 +
42 > U13+U12
 +
45 > U13
 +
51 > U12+U11
 +
53 > U10+U9
 +
54 > U12
 +
55 > U11
 +
56 > U10
 +
59 > U11+U10
 +
60 > U9
 +
61 > U8
 +
112 > U18
 +
 +
18 > O25
 +
70 > Veterans
 +
71 > O30
 +
72 > O35
 +
73 > O40
 +
74 > O50
 +
75 > O60
 +
76 > O70
 +
98 > O75
 +
114 > O80
  
 
<u>nation = NOC Code</u>
 
<u>nation = NOC Code</u>

Version vom 8. Februar 2021, 13:28 Uhr

We have implement a Calendar Widget with different options:

(for Fencing https://ophardt.online, for Wheelchair fencing https://iwas.ophardt.online)

Here you can find some examples and the available attributes.


Kalender in json z.B. Deutschland

https://fencing.ophardt.online/fr/widget/calendar-json/GER?


calendar in json z.B. Germany

https://fencing.ophardt.online/fr/widget/calendar-json/GER?


Calendar for nations for example Sweden - swedish:

https://fencing.ophardt.online/sv/widget/calendar/SWE

https://fencing.ophardt.online/sv/widget/calendar-small/SWE


Calendar for region for example Nordrhein - german:

https://fencing.ophardt.online/de/widget/calendar/ger/NR

https://fencing.ophardt.online/de/widget/calendar/ger/NR


Calendar for regions for example Nordrhein and Westfalen - english

https://fencing.ophardt.online/en/widget/calendar/ger/NR?add-region[]=WE

https://fencing.ophardt.online/en/widget/calendar-small/ger/NR?add-region[]=WE

Calendar for National and regional competitions by country - english

https://fencing.ophardt.online/en/widget/calendar/bel/FF?add-region[]=VS&group[]=NC&group[]=NT&group[]=RT&group[]=RC&group[]=TTdays=365


The Widget includs several options:

calendar

calendar-small

json

(please be aware that for some funtions of the calendar-small (notice letter A) the user needs to be logged in to Ophardt Online - sometimes with the correct user function) 

[] to build groups of competition

for example:

https://fencing.ophardt.online/de/widget/calendar/ger/NR?add-region[]=NW&add-region[]=WE&group[]=RT&group[]=RC&days=365


Please filter tournaments in which wheelchair fencers are permitted using the following addition:
wheelchair=1


results = results

shows the youngest competitions on top ( standard 90 days backward) 

for example: https://fencing.ophardt.online/en/search/results?date=90&nation=BEL


group= Tournamentclassgroups  (please use the following short names)

IG = International Games

IC = International Championships

IT = International Tournaments

IP = International Referee Examen

NC = National Championships

NL = National Training Camp

NT = National Tournaments

NP = National Referee Examen

NF= National Coach Course

NU= National Cup

RC = Regional Championships

RL = Regional Trainingscamp

RT = Regional Tournaments

PR =Regional Referee Examen

RA = Regional Referee  Course

RF= Regional Coach Course

S = Regional Coach Course

TR = TRP Tournament Examen

TT = Tournaments

TA = Training Tournaments

KP = Continental Referee Examen

ZG =Continental Games

ZC = Continental Championships

ZT = Continental Tournaments


discipline (please use the following short names)

E = Epee

F = Foil

S = Sabre


gender (please use the following short names)

M = Male

F = Female


ageclass (please use the age f.ex. 12 = 12 year)

agemin = minimun years

agemax = maximum years

or use ageclasses as defined in the database, you may combien several ageclasses like: ageclass[]=10&ageclass[]=20

1 > without 10 > Seniors 15 > U23 20 > U20 30 > U17 35> U15 40 > U14 41 > U14+U13 42 > U13+U12 45 > U13 51 > U12+U11 53 > U10+U9 54 > U12 55 > U11 56 > U10 59 > U11+U10 60 > U9 61 > U8 112 > U18

18 > O25 70 > Veterans 71 > O30 72 > O35 73 > O40 74 > O50 75 > O60 76 > O70 98 > O75 114 > O80

nation = NOC Code


region = regional short names = SY Sydsvenska, HE= Hessen

for several regions:  add to the URL for example

NR?add-region[]=WE    or   we?add-region[]=NR&add-region[]=MR-


City = please use the spelling of the english name in Ophardt Online


days=365
365 days in the future


days = from today up to x days in future

days90 = from today 90 days in the future

days30 = from today 30 days in the  future