Online:Structure/ResultWidget: Unterschied zwischen den Versionen
Zeile 1: | Zeile 1: | ||
The Result Widgets can be used to output historical results of a tournament, e.g. to display the winners of previous years on the event website. | The Result Widgets can be used to output historical results of a tournament, e.g. to display the winners of previous years on the event website. | ||
− | The beginning of the URL can be viewed (logged in) on https://fencing.ophardt.online/en/widgets (fencing) or https://iwas.ophardt.online/ | + | The beginning of the URL can be viewed (logged in) on https://fencing.ophardt.online/en/widgets (fencing) or https://iwas.ophardt.online/en/widgets (IWAS). The following attributes are then appended to the URL and separated by &. |
=== Filter === | === Filter === |
Aktuelle Version vom 7. Januar 2022, 21:36 Uhr
The Result Widgets can be used to output historical results of a tournament, e.g. to display the winners of previous years on the event website.
The beginning of the URL can be viewed (logged in) on https://fencing.ophardt.online/en/widgets (fencing) or https://iwas.ophardt.online/en/widgets (IWAS). The following attributes are then appended to the URL and separated by &.
Filter
Content | attribute | Notes | allowed values |
---|---|---|---|
up to rank | max-rank=4 | any integer, if nothing is specified, up to and including rank 4 will be output. | |
sex | gender=<value> | replace <value> with | F = female, M = male |
discipline | discipline=<value> | <value> replace by | E = epee, F = foil, S = sabre |
ageclass | ageclass=<value> | replace <value> with | ID of ageclass (viewable under System > Basic Data > Ageclasses) |
With this query it is possible to select more than one age class or discipline. Please number the attributes starting with 0 in square brackets. Example: &discipline[0]=E&discipline[1]=F (filters on epee or foil)