Key:fee:conditional
Jump to navigation
Jump to search
![]() |
Description |
---|
To indicate if money is charged to use this facility using rules more complex than "yes" and "no". ![]() |
Group: properties |
Used on these elements |
Status: in use |
Tools for this tag |
|
The fee:conditional tag is for specifying whether a fee is usually charged for a service or for access, and specifies rules that override the default specified in fee=*
.
See charge:conditional=*
if the amount of money depends on the rules.
Usage
- See also conditional restrictions and
fee=*
pages.
For example:
fee=yes
+fee:conditional=no @ customers
- to mark that fee is waived for customersfee=no
+fee:conditional=yes @ 08:00-08:20
- to mark something as free, except between 8:00 and 8:20fee=yes
+fee:conditional=no @ We
- paid, but free on Wednesdaysfee=no
+fee:conditional=yes @ stay > 2 hours
- parking with stay up to two hours free[1]fee=yes
+fee:conditional=no @ stay < 2 hours
- also, parking with stay up to two hours free (difference is what will be a default value, used by data consumers not supporting conditional restrictions)fee=yes
+fee:conditional=no @ stay < 90 minutes
- parking with stay up 90 minutes free (some parking lots describe parking times in minutes)fee=yes
+fee:conditional=no @ age < 12
- to mark something as free for children under the age of 12.fee=no
+fee:conditional=yes @ stay > 2 hours AND Mo-Fr 07:00-19:00; yes @ stay > 2 hours AND Sa 07:00-13:00
- No fee, except if staying for more than 2 hours on Mon-Fri from 7:00-19:00 or on Sat from 07:00-13:00.fee=no
+fee:conditional=yes @ Mo-Fr 09:00-19:00; yes @ Sa 09:00-13:00
- No fee, except on Mon-Fri from 9:00-19:00 or on Sat from 09:00-13:00.
- Note: although the syntax is similar to
opening_hours=*
there is a difference, for example:- Mo-Fr 09:00-19:00; Sa 09:00-13:00 (syntax in opening_hours)
- yes @ Mo-Fr 09:00-19:00; yes @ Sa 09:00-13:00 (syntax in fee:conditional, after ";" the condition must be repeated).
- yes @ Mo-Fr 09:00-19:00; Sa 09:00-13:00 (wrong syntax in fee:conditional).
fee:disabled=*
is also available to directly specify whether a fee applies to handicapped users; e.g., where a fee is waived for them.
See also
charge=*
andcharge:conditional=*
- The dual tofee=*
andfee:conditional=*
that express the actual amount of money.