Jump to content

User:Xioma sg/Sandbox: Difference between revisions

From OpenGeofiction
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
====Route styles====
{{DISPLAYTITLE:User:xioma_sg/Sandbox}}
<span style="padding: 1px 1px 0.3em 1px; color: #000000; background-color: #ffffff; border: 1px solid black; font-weight: normal; font-family: Arial, sans-serif; border-radius:0 0 1em 1em;">1</span> <span style="padding: 1px 1px 0.3em 1px; color: #000000; background-color: #ffffff; border: 1px solid black; font-weight: normal; font-family: Arial, sans-serif; border-radius:0 0 1em 1em;">12</span> <span style="padding: 1px 1px 0.3em 1px; color: #000000; background-color: #ffffff; border: 1px solid black; font-weight: normal; font-family: Arial, sans-serif; border-radius:0 0 1em 1em;">123</span>
{| class="wikitable"
|-
| style="background:#fd6c01; border:1px solid #ca5600; padding:0.5em; margin:auto;"|<small>'''<span class="plainlinks">[https://wiki.opengeofiction.net/index.php/Special:PrefixIndex?prefix=&namespace=2&hideredirects=1 Users]</span>'''</small>
| style="background:#fd7a1a; border:1px solid #ca5600; padding:0.5em; margin:auto;"|<small>/</small>
| style="background:#fd8933; border:1px solid #ca5600; padding:0.5em; margin:auto;"|<small>'''[[User:Xioma sg|xioma_sg]]'''</small>
| style="background:#fd984d; border:1px solid #ca5600; padding:0.5em; margin:auto;"|<small>/</small>
| style="background:#fda666; border:1px solid #ca5600; padding:0.5em; margin:auto;"|<small>'''[[User:Xioma sg/Sandbox|Sandbox]]'''</small>
|-
|}
=== Route styles ===
{|
|-
| historic || <span style="padding: 1px 1px 0.3em 1px; color: #000000; background-color: #ffffff; border: 1px solid black; border-radius:0 0 1em 1em;">9</span> || <span style="padding: 1px 1px 0.3em 1px; color: #000000; background-color: #ffffff; border: 1px solid black; border-radius:0 0 1em 1em;">99</span> || <span style="padding: 1px 1px 0.3em 1px; color: #000000; background-color: #ffffff; border: 1px solid black; border-radius:0 0 1em 1em;">999</span>
|-
| motorway || <span style="padding: 1px 4px 0.4em 4px; color: #ffffff; background-color: #006E39; border-radius:0 0 1em 1em;">9</span> || <span style="padding: 1px 3px 0.4em 3px; color: #ffffff; background-color: #006E39; border-radius:0 0 1em 1em;">99</span> || <span style="padding: 1px 3px 0.4em 3px; color: #ffffff; background-color: #006E39; border-radius:0 0 1em 1em;">999</span>
|-
| national || <span style="padding: 1px 4px 0.4em 4px; color: #ffffff; background-color: #003983; border-radius:0 0 1em 1em;">9</span> || <span style="padding: 1px 3px 0.4em 3px; color: #ffffff; background-color: #003983; border-radius:0 0 1em 1em;">99</span> || <span style="padding: 1px 3px 0.4em 3px; color: #ffffff; background-color: #003983; border-radius:0 0 1em 1em;">999</span>
|-
| regional || <span style="padding: 1px 4px 0.4em 4px; color: #ffffff; background-color: #DD030C; border-radius:0 0 1em 1em;">9</span> || <span style="padding: 1px 3px 0.4em 3px; color: #ffffff; background-color: #DD030C; border-radius:0 0 1em 1em;">99</span> || <span style="padding: 1px 3px 0.4em 3px; color: #ffffff; background-color: #DD030C; border-radius:0 0 1em 1em;">999</span>
|-
| all numbers are unique
|-
|}
=== Line styles ===
==== Long distance and regional ====
<nowiki><span style="padding:0.25em 0.5em; color:TEXTCOLOUR; background-color:BACKGROUNDCOLOUR; font-weight:bold; border-radius:0.8em;"><small>''CATEGORY ''</small>NUMBER</span></nowiki>
{|
|-
| <span style="padding:0.25em 0.5em; color:white; background-color:#800000; font-weight:bold; border-radius:0.8em;"><small>''IN ''</small>1</span> || <span style="padding:0.25em 0.5em; color:white; background-color:#AA4400; font-weight:bold; border-radius:0.8em;"><small>''IC ''</small>17</span> || <span style="padding:0.25em 0.5em; color:black; background-color:#00CCFF; font-weight:bold; border-radius:0.8em;"><small>''IR ''</small>27</span> || <span style="padding:0.25em 0.5em; color:white; background-color:#D35F5F; font-weight:bold; border-radius:0.8em;"><small>''R ''</small>53</span>
|-
|}
==== Local ====
<nowiki><span style="font-weight:bold; white-space:nowrap; padding:0px .4em;background-color: BACKGROUNDCOLOUR; border-radius: 0ex; color:TEXTCOLOUR;"><small>''CATEGORY ''</small>NUMBER</span></nowiki>
{|
|-
| <span style="font-weight:bold; white-space:nowrap; padding:0px .4em;background-color: #FCC837; border-radius: 0ex; color:black;"><small>''B ''</small>72</span>


<span style="padding:1px 0.5em; color:#ffffff; background-color:#006E39; border:none; font-weight:bold; font-family:Arial, sans-serif; -webkit-border-radius:0.2em; -moz-border-radius:0.2em; border-radius:0.2em;">A-1</span> <span style="padding:1px 0.5em; color:#ffffff; background-color:#006E39; border:none; font-weight:bold; font-family:Arial, sans-serif; -webkit-border-radius:0.2em; -moz-border-radius:0.2em; border-radius:0.2em;">A-12</span> <span style="padding:1px 0.5em; color:#ffffff; background-color:#006E39; border:none; font-weight:bold; font-family:Arial, sans-serif; -webkit-border-radius:0.2em; -moz-border-radius:0.2em; border-radius:0.2em;">A-123</span>
<span style="background-color:#898875; color:white; border-top-left-radius: 0.3em; border-bottom-left-radius: 0.3em; padding-left:0.3em; padding-right:0.3em;">Bus</span><span style="font-weight:bold; background-color: orange; color:white; border-top-right-radius: 0.3em; border-bottom-right-radius: 0.3em; padding-right:0.3em; padding-left:0.3em;">A</span>


<span style="padding:1px 0.5em; color:#ffffff; background-color:#003983; border:none; font-weight:bold; font-family:Arial, sans-serif; -webkit-border-radius:0.2em; -moz-border-radius:0.2em; border-radius:0.2em;">N-1</span> <span style="padding:1px 0.5em; color:#ffffff; background-color:#003983; border:none; font-weight:bold; font-family:Arial, sans-serif; -webkit-border-radius:0.2em; -moz-border-radius:0.2em; border-radius:0.2em;">N-12</span> <span style="padding:1px 0.5em; color:#ffffff; background-color:#003983; border:none; font-weight:bold; font-family:Arial, sans-serif; -webkit-border-radius:0.2em; -moz-border-radius:0.2em; border-radius:0.2em;">N-123</span>
=== Table ===


<span style="padding:1px 0.5em; color:#ffffff; background-color:#DD030C; border:none; font-weight:bold; font-family:Arial, sans-serif; -webkit-border-radius:0.2em; -moz-border-radius:0.2em; border-radius:0.2em;">X-1</span> <span style="padding:1px 0.5em; color:#ffffff; background-color:#DD030C; border:none; font-weight:bold; font-family:Arial, sans-serif; -webkit-border-radius:0.2em; -moz-border-radius:0.2em; border-radius:0.2em;">X-12</span> <span style="padding:1px 0.5em; color:#ffffff; background-color:#DD030C; border:none; font-weight:bold; font-family:Arial, sans-serif; -webkit-border-radius:0.2em; -moz-border-radius:0.2em; border-radius:0.2em;">X-123</span>
{{#clear_external_data:}}
====Line styles====
{{#get_web_data:url=https://overpass.ogf.rent-a-planet.com/api/interpreter?data=relation%5B%22type%22%3D%22boundary%22%5D%5B%22admin_level%22%3D%222%22%5D%5B%22ogf%3Awiki%22%5D%0A%3B%0Aout%3B
<span style="padding:1px 0.5em; color:#ffffff; background-color:#C83737; border:none; font-weight:bold; font-family:Arial, sans-serif; -webkit-border-radius:0.2em; -moz-border-radius:0.2em; border-radius:0.2em;"><small>''C ''</small>3</span> <span style="padding:1px 0.5em; color:#ffffff; background-color:#00AA00; border:none; font-weight:bold; font-family:Arial, sans-serif; -webkit-border-radius:0.2em; -moz-border-radius:0.2em; border-radius:0.2em;"><small>''IC ''</small>13</span> <span style="padding:1px 0.5em; color:#ffffff; background-color:#04A5DB; border:none; font-weight:bold; font-family:Arial, sans-serif; -webkit-border-radius:0.2em; -moz-border-radius:0.2em; border-radius:0.2em;"><small>''B ''</small>771</span> <span style="padding:1px 0.5em; color:#000000; background-color:#EAD00E; border:none; font-weight:bold; font-family:Arial, sans-serif; -webkit-border-radius:0.2em; -moz-border-radius:0.2em; border-radius:0.2em;"><small>''Ld ''</small>1099</span>
|format=xml
|data=
relation_id=/osm/relation/@id
,name=/osm/relation/tag[@k='ogf:wiki']/@v
,id=/osm/relation/tag[@k='ogf:id']/@v
,hdi=/osm/relation/tag[@k='economy:hdi']/@v
,currency=/osm/relation/tag[@k='currency']/@v
|use xpath
}}
{| class="wikitable sortable"
! Name
! ID
! HDI
! Currency
{{#for_external_table:<nowiki/>
{{!}}-
{{!}}[[{{{name}}}]]
{{!}}{{{id}}}
{{!}}{{{hdi}}}
{{!}}<code>{{{currency}}}</code>
}}
|}

Latest revision as of 17:07, 17 August 2023

Users / xioma_sg / Sandbox

Route styles

historic 9 99 999
motorway 9 99 999
national 9 99 999
regional 9 99 999
all numbers are unique

Line styles

Long distance and regional

<span style="padding:0.25em 0.5em; color:TEXTCOLOUR; background-color:BACKGROUNDCOLOUR; font-weight:bold; border-radius:0.8em;"><small>''CATEGORY ''</small>NUMBER</span>

IN 1 IC 17 IR 27 R 53

Local

<span style="font-weight:bold; white-space:nowrap; padding:0px .4em;background-color: BACKGROUNDCOLOUR; border-radius: 0ex; color:TEXTCOLOUR;"><small>''CATEGORY ''</small>NUMBER</span>

B 72

BusA

Table

Error while fetching data from URL https://overpass.ogf.rent-a-planet.com/api/interpreter?data=relation%5B%22type%22%3D%22boundary%22%5D%5B%22admin_level%22%3D%222%22%5D%5B%22ogf%3Awiki%22%5D%0A%3B%0Aout%3B: $2.
Error fetching URL: Could not resolve host: overpass.ogf.rent-a-planet.com
There was a problem during the HTTP request: 0 Error
Could not get URL https://overpass.ogf.rent-a-planet.com/api/interpreter?data=relation%5B%22type%22%3D%22boundary%22%5D%5B%22admin_level%22%3D%222%22%5D%5B%22ogf%3Awiki%22%5D%0A%3B%0Aout%3B after 3 tries.

Name ID HDI Currency