| 9 | | There are base rules (e.g. [source:trunk/data/validator/geometry.mapcss Geometry] or [source:trunk/data/validator/highway.mapcss Highways]) that cover dedicated features each. They can be combined with add-on rules that cover more special topics: |
| | 8 | There are base rules (e.g. [source:/trunk/resources/data/validator/geometry.mapcss Geometry] or [source:/trunk/resources/data/validator/highway.mapcss Highways]) that cover dedicated features each. They can be combined with add-on rules that cover more special topics: |
| | 9 | |
| | 10 | {{{#!comment |
| | 11 | For following macro, [[Styles]], the first argument is a language code which needs to be adjusted in translation and the second is the type, "rules" (for Rules), which should remain unchanged. |
| | 12 | The rest are the names of the table's header which should be translated. |
| | 13 | See https://josm.openstreetmap.de/wiki/WikiMacros#Styles-macro |
| | 14 | }}} |
| 15 | | If you want to add new rule sets to this list create a new wiki based rule page here or edit [wiki:RulesSource this page] and insert a link to your file into the page. |
| | 20 | == Create new rules == |
| | 21 | If you want to add your rules to this list use one of the two options: |
| | 22 | * Simply create a page in this wiki with your rule, e.g. [wikitr:/Rules/MyRuleName]. This is similar to [wikitr:/Styles#Makeyourstyleavailabletootherusers Styles] and [wikitr:/Presets#Createnewpresets Presets]. See there for more information about this topic. |
| | 23 | * Externally hosted rule URLs can be entered when editing the [wiki:/RulesSource RulesSource page]. |
| | 24 | If your rule applies to a limited area, use [wikitr:/Help/Styles/MapCSSImplementation#Territoryselector Territory selectors], to limit the execution to the area. |