Online:Structure/ResultWidget: Unterschied zwischen den Versionen

(Die Seite wurde neu angelegt: „=== Filter === {| class="wikitable" |- ! Content !! attribute !! Notes !! allowed values |- | up to rank|| max-rank=4 || any integer, if nothing is specified,…“)
 
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 beginning of the URL can be viewed (logged in) on https://fencing.ophardt.online/de/widgets (fencing) or https://iwas.ophardt.online/de/widgets (IWAS). The following attributes are then appended to the URL and separated by &.
 +
 
=== Filter ===
 
=== Filter ===
 
{| class="wikitable"
 
{| class="wikitable"

Version vom 7. Januar 2022, 21:34 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/de/widgets (fencing) or https://iwas.ophardt.online/de/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)