Changes between Initial Version and Version 1 of Da:Presets


Ignore:
Timestamp:
2017-09-12T13:40:24+02:00 (7 years ago)
Author:
Hylle
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Da:Presets

    v1 v1  
     1''Hvis du vil vide hvordan du installerer prædefinitioner, så se [Help/Preferences/Map#TaggingPresets "Tagging Presets" tab in Preferences > Map Settings]''[[br]]
     2''Hvis du ønsker at udvide prædefinitionerne med dine egne, så se - [wiki:TaggingPresets TaggingPresets]''[[br]]
     3''Hvis du ønsker at udvide listen nedenfor - [#Createnewpresets følg vejledningen under listen]''
     4
     5[[TranslatedPages(revision=1)]]
     6[[PageOutline(2-10,Indholdsfortegnelse)]]
     7
     8= JOSM prædefinitioner =
     9[[Styles(da|prædefinition|kort beskrivelse|forfatter|beskrivelse|version|Flere detaljer]]
     10
     11== Opret nye prædefinitioner ==
     12Se [wiki:TaggingPresets] for en forklaring af syntaksen og flere oplysninger hvis du ønsker at oprette dine egne prædefinitioner.
     13{{{
     14#!comment
     15Note for translators:
     16 - The reference below to change the source of this page should be modified, so it tells the reader to modify the English page.
     17}}}
     18* In order to add a new wiki based preset, simply create a new wiki page similar to the [#List existing wiki presets].
     19 * i.e. go to http://josm.openstreetmap.de/wiki/Presets/MyPresetName (Change the URL so it matches the name of your preset. Change only the last part after `...Presets/`.)
     20 * click 'create this page'
     21 * add content similar to existing preset wikis, e.g. [wiki:Presets/OneClick]
     22 * don't forget to enclose your preset code by a code block (`#!preset` needs to be on a new line after `{{{`):
     23  * `{{{`
     24  * `#!preset`
     25  * ...
     26  * `}}}`
     27 * save the wiki page
     28 * after a few minutes the new wiki preset will show up in the list and in JOSM automatically
     29 * for automatic version adjustment you should use two internal variables:
     30  * {{{[[revision]]}}} - is the latest version number of the wiki page
     31  * {{{[[date]]}}} - is the date of the last edit
     32  * e.g. {{{"1.[[revision]]_[[date]]"}}} converts to e.g. {{{1.13_2014-02-24}}}
     33* New externally hosted preset URLs can be entered when editing [[PresetsSource|this page]]. (JOSM wiki based Presets (see above) is the preferred method.)
     34 * **Note**: Only URLs with file-extension (e.g. *.mapcss, *.xml, *.zip, *.php) are supported.
     35
     36See [wiki:Styles#CreateStyle] for a description how the JOSM wiki helps to create own styles or presets and how attached files and icons are handled.
     37
     38
     39== Updating presets in JOSM ==
     40Once a preset was updated in the wiki (or another external source) it can take up to 10 days until the preset gets updated in JOSM automatically. To immediately force an update you can do the following steps:
     41* Open the [wiki:Help/Action/Preferences Preferences]
     42* Make sure [wiki:Help/ExpertMode Expert Mode] is enabled
     43* Open the [wiki:Help/Preferences/Advanced Advanced Preferences]
     44* Search for keys starting with: `mirror.https://josm.openstreetmap.de/josmfile?page_Presets/` (or `mirror.` for other external sources)
     45* Select the preset you want to update
     46* Click on Reset at the bottom of the window
     47* Click on OK to save the changes (and to close the preference window)
     48* Restart JOSM
     49
     50
     51== Presets managed in JOSM wiki ==#List
     52[[TitleIndex(Presets/)]]
     53
     54
     55----
     56Back to [wiki:/Help main help][[BR]]
     57Back to [wiki:Help/Menu/Presets Presets menu]