Difference between revisions of "Develop auto tables"

From geofiction
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
+
*[https://de.wikipedia.org/wiki/Hilfe:Tabellen]
  
 
==Simple tables==
 
==Simple tables==
Line 27: Line 27:
 
{{ #If:{{{collapsible|}}} |
 
{{ #If:{{{collapsible|}}} |
 
{{ #If:{{{collapsed|}}} |
 
{{ #If:{{{collapsed|}}} |
{{{!}} class="wikitable sortable mw-collapsible mw-collapsed;" |
+
{{{!}} class="wikitable sortable mw-collapsible mw-collapsed;" |
{{{!}} class="wikitable sortable mw-collapsible" }} |
+
{{{!}} class="wikitable sortable mw-collapsible" }} |
{{{!}} class="wikitable sortable" }} style="text-align:left; width:{{{width|500}}}px;"
+
{{{!}} class="wikitable sortable" }} style="text-align:left; width:{{{width|500}}}px;"
 
|-  
 
|-  
! class="unsortable" style="background:#{{{bgcolor|CCCCFF}}};" {{ #If:{{{column9tag|}}} |
+
! class="unsortable" style="background:#{{{bgcolor|CCCCFF}}};" {{ #If:{{{column9tag|}}} |
colspan="9" | {{ #If:{{{column8tag|}}} |
+
colspan="9" | {{ #If:{{{column8tag|}}} |
colspan="8" | {{ #If:{{{column7tag|}}} |
+
colspan="8" | {{ #If:{{{column7tag|}}} |
colspan="7" | {{ #If:{{{column6tag|}}} |
+
colspan="7" | {{ #If:{{{column6tag|}}} |
colspan="6" | {{ #If:{{{column5tag|}}} |
+
colspan="6" | {{ #If:{{{column5tag|}}} |
colspan="5" | {{ #If:{{{column4tag|}}} |
+
colspan="5" | {{ #If:{{{column4tag|}}} |
colspan="4" | {{ #If:{{{column3tag|}}} |
+
colspan="4" | {{ #If:{{{column3tag|}}} |
colspan="3" | {{ #If:{{{column2tag|}}} |
+
colspan="3" | {{ #If:{{{column2tag|}}} |
colspan="2" | {{ #If:{{{column1tag|}}} |
+
colspan="2" | {{ #If:{{{column1tag|}}} |
colspan="1" }} }} }} }} }} }} }} }} }} | {{{topic|Table}}}
+
colspan="1" }} }} }} }} }} }} }} }} }} | {{{topic|Table}}}
! class="unsortable" style="background:#{{{bgcolor|CCCCFF}}}; text-align:right; width:50px;" | {{Refresh}}
+
! class="unsortable" style="background:#{{{bgcolor|CCCCFF}}}; text-align:right; width:50px;" | {{Refresh}}
 
|-  
 
|-  
 
{{ #If:{{{column1tag|}}} |
 
{{ #If:{{{column1tag|}}} |
 
{{ #If:{{{column1sort|}}}{{{column1width|}}} |
 
{{ #If:{{{column1sort|}}}{{{column1width|}}} |
 
! {{ #If:{{{column1sort|}}} |
 
! {{ #If:{{{column1sort|}}} |
class="unsortable" }} {{ #If:{{{column1width|}}} |
+
class="unsortable" }} {{ #If:{{{column1width|}}} |
style="width:{{{column1width}}}px;" }} {{!}} | ! }} {{{column1name}}}
+
style="width:{{{column1width}}}px;" }} {{!}} | ! }} {{{column1name}}}
 
{{ #If:{{{column2tag|}}} |
 
{{ #If:{{{column2tag|}}} |
 
{{ #If:{{{column2sort|}}}{{{column2width|}}} |
 
{{ #If:{{{column2sort|}}}{{{column2width|}}} |
 
! {{ #If:{{{column2sort|}}} |
 
! {{ #If:{{{column2sort|}}} |
class="unsortable" }} {{ #If:{{{column2width|}}} |
+
class="unsortable" }} {{ #If:{{{column2width|}}} |
style="width:{{{column2width}}}px;" }} {{!}} | ! }} {{{column2name}}}
+
style="width:{{{column2width}}}px;" }} {{!}} | ! }} {{{column2name}}}
 
{{ #If:{{{column3tag|}}} |
 
{{ #If:{{{column3tag|}}} |
 
{{ #If:{{{column3sort|}}}{{{column3width|}}} |
 
{{ #If:{{{column3sort|}}}{{{column3width|}}} |
 
! {{ #If:{{{column3sort|}}} |
 
! {{ #If:{{{column3sort|}}} |
class="unsortable" }} {{ #If:{{{column3width|}}} |
+
class="unsortable" }} {{ #If:{{{column3width|}}} |
style="width:{{{column3width}}}px;" }} {{!}} | ! }} {{{column3name}}}
+
style="width:{{{column3width}}}px;" }} {{!}} | ! }} {{{column3name}}}
 
{{ #If:{{{column4tag|}}} |
 
{{ #If:{{{column4tag|}}} |
 
{{ #If:{{{column4sort|}}}{{{column4width|}}} |
 
{{ #If:{{{column4sort|}}}{{{column4width|}}} |
 
! {{ #If:{{{column4sort|}}} |
 
! {{ #If:{{{column4sort|}}} |
class="unsortable" }} {{ #If:{{{column4width|}}} |
+
class="unsortable" }} {{ #If:{{{column4width|}}} |
style="width:{{{column4width}}}px;" }} {{!}} | ! }} {{{column4name}}}
+
style="width:{{{column4width}}}px;" }} {{!}} | ! }} {{{column4name}}}
 
{{ #If:{{{column5tag|}}} |
 
{{ #If:{{{column5tag|}}} |
 
{{ #If:{{{column5sort|}}}{{{column5width|}}} |
 
{{ #If:{{{column5sort|}}}{{{column5width|}}} |
 
! {{ #If:{{{column5sort|}}} |
 
! {{ #If:{{{column5sort|}}} |
class="unsortable" }} {{ #If:{{{column5width|}}} |
+
class="unsortable" }} {{ #If:{{{column5width|}}} |
style="width:{{{column5width}}}px;" }} {{!}} | ! }} {{{column5name}}}
+
style="width:{{{column5width}}}px;" }} {{!}} | ! }} {{{column5name}}}
 
{{ #If:{{{column6tag|}}} |
 
{{ #If:{{{column6tag|}}} |
 
{{ #If:{{{column6sort|}}}{{{column6width|}}} |
 
{{ #If:{{{column6sort|}}}{{{column6width|}}} |
 
! {{ #If:{{{column6sort|}}} |
 
! {{ #If:{{{column6sort|}}} |
class="unsortable" }} {{ #If:{{{column6width|}}} |
+
class="unsortable" }} {{ #If:{{{column6width|}}} |
style="width:{{{column6width}}}px;" }} {{!}} | ! }} {{{column6name}}}
+
style="width:{{{column6width}}}px;" }} {{!}} | ! }} {{{column6name}}}
 
{{ #If:{{{column7tag|}}} |
 
{{ #If:{{{column7tag|}}} |
 
{{ #If:{{{column7sort|}}}{{{column7width|}}} |
 
{{ #If:{{{column7sort|}}}{{{column7width|}}} |
 
! {{ #If:{{{column7sort|}}} |
 
! {{ #If:{{{column7sort|}}} |
class="unsortable" }} {{ #If:{{{column7width|}}} |
+
class="unsortable" }} {{ #If:{{{column7width|}}} |
style="width:{{{column7width}}}px;" }} {{!}} | ! }} {{{column7name}}}
+
style="width:{{{column7width}}}px;" }} {{!}} | ! }} {{{column7name}}}
 
{{ #If:{{{column8tag|}}} |
 
{{ #If:{{{column8tag|}}} |
 
{{ #If:{{{column8sort|}}}{{{column8width|}}} |
 
{{ #If:{{{column8sort|}}}{{{column8width|}}} |
 
! {{ #If:{{{column8sort|}}} |
 
! {{ #If:{{{column8sort|}}} |
class="unsortable" }} {{ #If:{{{column8width|}}} |
+
class="unsortable" }} {{ #If:{{{column8width|}}} |
style="width:{{{column8width}}}px;" }} {{!}} | ! }} {{{column8name}}}
+
style="width:{{{column8width}}}px;" }} {{!}} | ! }} {{{column8name}}}
 
{{ #If:{{{column9tag|}}} |
 
{{ #If:{{{column9tag|}}} |
 
{{ #If:{{{column9sort|}}}{{{column9width|}}} |
 
{{ #If:{{{column9sort|}}}{{{column9width|}}} |
 
! {{ #If:{{{column9sort|}}} |
 
! {{ #If:{{{column9sort|}}} |
class="unsortable" }} {{ #If:{{{column9width|}}} |
+
class="unsortable" }} {{ #If:{{{column9width|}}} |
style="width:{{{column9width}}}px;" }} {{!}} | ! }} {{{column9name}}} }} }} }} }} }} }} }} }} }}  
+
style="width:{{{column9width}}}px;" }} {{!}} | ! }} {{{column9name}}} }} }} }} }} }} }} }} }} }}  
! class="unsortable" | Map
+
! class="unsortable" | Map
 
|-
 
|-
 
{{#for_external_table:<nowiki/>
 
{{#for_external_table:<nowiki/>
Line 127: Line 127:
 
[[{{{{{{column9tag|}}}}}}]] | {{{{{{column9tag|}}}}}}
 
[[{{{{{{column9tag|}}}}}}]] | {{{{{{column9tag|}}}}}}
 
}} }} }} }} }} }} }} }} }} }}
 
}} }} }} }} }} }} }} }} }} }}
{{!}} [[File:OGFmapicon.png|18px|link=]] <span class=&quot;plainlinks&quot;>[https://opengeofiction.net/{{{type}}}/{{{{{{type}}}_id}}} map]</span>
+
{{!}} [[File:OGFmapicon.png|18px|link=]] <span class="plainlinks">[https://opengeofiction.net/{{{type}}}/{{{{{{type}}}_id}}} map]</span>
 
{{!}}-
 
{{!}}-
 
}} |}
 
}} |}

Revision as of 14:18, 31 July 2022

Simple tables

A B C
aaaaaaa bbbbbbbbbbbbbbb ccccccccccc
A B C
aaaaaaa bbbbbbbbbbbbbbb ccccccccccc



Table MER-refresh.png
Map

|}


x

Rivers in Mergania: nodes MER-refresh.png
Name Map
OGFmapicon.png map
OGFmapicon.png map
OGFmapicon.png map
OGFmapicon.png map
OGFmapicon.png map


Rivers in Mergania: ways MER-refresh.png
Name Map
Farau Way OGFmapicon.png map
Farau Way OGFmapicon.png map


Rivers in Mergania: relations MER-refresh.png
Name Map
Farau Relation OGFmapicon.png map


Overpass testing

Error while fetching data from URL https://ogfoverpass.rent-a-planet.com/api/interpreter?data=%28area%5B%22admin_level%22%5D%5B%22ogf%3Aid%22%3D%22UL02a%22%5D%3B%29-%3E.bndarea%3B%0A%28nwr%28area.bndarea%29%5Breligion%3D%27christian%27%5D%288.450638800331001%2C29.970703124999996%2C35.96022296929667%2C64.7314453125%29%3B%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B: $2.
Error fetching URL: Could not resolve host: ogfoverpass.rent-a-planet.com
There was a problem during the HTTP request: 0 Error
Could not get URL https://ogfoverpass.rent-a-planet.com/api/interpreter?data=%28area%5B%22admin_level%22%5D%5B%22ogf%3Aid%22%3D%22UL02a%22%5D%3B%29-%3E.bndarea%3B%0A%28nwr%28area.bndarea%29%5Breligion%3D%27christian%27%5D%288.450638800331001%2C29.970703124999996%2C35.96022296929667%2C64.7314453125%29%3B%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B after 3 tries.

Name City Map