Difference between revisions of "Develop auto tables"
m |
m |
||
| Line 23: | Line 23: | ||
| + | |||
| + | |||
| + | {{ #If:{{{collapsible|}}} | | ||
| + | {{ #If:{{{collapsed|}}} | | ||
| + | {{{!}} class="wikitable sortable mw-collapsible mw-collapsed;" | | ||
| + | {{{!}} class="wikitable sortable mw-collapsible" }} | | ||
| + | {{{!}} class="wikitable sortable" }} style="text-align:left; width:{{{width|500}}}px;" | ||
| + | |- | ||
| + | ! class="unsortable" style="background:#{{{bgcolor|CCCCFF}}};" {{ #If:{{{column9tag|}}} | | ||
| + | colspan="9" | {{ #If:{{{column8tag|}}} | | ||
| + | colspan="8" | {{ #If:{{{column7tag|}}} | | ||
| + | colspan="7" | {{ #If:{{{column6tag|}}} | | ||
| + | colspan="6" | {{ #If:{{{column5tag|}}} | | ||
| + | colspan="5" | {{ #If:{{{column4tag|}}} | | ||
| + | colspan="4" | {{ #If:{{{column3tag|}}} | | ||
| + | colspan="3" | {{ #If:{{{column2tag|}}} | | ||
| + | colspan="2" | {{ #If:{{{column1tag|}}} | | ||
| + | colspan="1" }} }} }} }} }} }} }} }} }} | {{{topic|Table}}} | ||
| + | ! class="unsortable" style="background:#{{{bgcolor|CCCCFF}}}; text-align:right; width:50px;" | {{Refresh}} | ||
| + | |- | ||
| + | {{ #If:{{{column1tag|}}} | | ||
| + | {{ #If:{{{column1sort|}}}{{{column1width|}}} | | ||
| + | ! {{ #If:{{{column1sort|}}} | | ||
| + | class="unsortable" }} {{ #If:{{{column1width|}}} | | ||
| + | style="width:{{{column1width}}}px;" }} {{!}} | ! }} {{{column1name}}} | ||
| + | {{ #If:{{{column2tag|}}} | | ||
| + | {{ #If:{{{column2sort|}}}{{{column2width|}}} | | ||
| + | ! {{ #If:{{{column2sort|}}} | | ||
| + | class="unsortable" }} {{ #If:{{{column2width|}}} | | ||
| + | style="width:{{{column2width}}}px;" }} {{!}} | ! }} {{{column2name}}} | ||
| + | {{ #If:{{{column3tag|}}} | | ||
| + | {{ #If:{{{column3sort|}}}{{{column3width|}}} | | ||
| + | ! {{ #If:{{{column3sort|}}} | | ||
| + | class="unsortable" }} {{ #If:{{{column3width|}}} | | ||
| + | style="width:{{{column3width}}}px;" }} {{!}} | ! }} {{{column3name}}} | ||
| + | {{ #If:{{{column4tag|}}} | | ||
| + | {{ #If:{{{column4sort|}}}{{{column4width|}}} | | ||
| + | ! {{ #If:{{{column4sort|}}} | | ||
| + | class="unsortable" }} {{ #If:{{{column4width|}}} | | ||
| + | style="width:{{{column4width}}}px;" }} {{!}} | ! }} {{{column4name}}} | ||
| + | {{ #If:{{{column5tag|}}} | | ||
| + | {{ #If:{{{column5sort|}}}{{{column5width|}}} | | ||
| + | ! {{ #If:{{{column5sort|}}} | | ||
| + | class="unsortable" }} {{ #If:{{{column5width|}}} | | ||
| + | style="width:{{{column5width}}}px;" }} {{!}} | ! }} {{{column5name}}} | ||
| + | {{ #If:{{{column6tag|}}} | | ||
| + | {{ #If:{{{column6sort|}}}{{{column6width|}}} | | ||
| + | ! {{ #If:{{{column6sort|}}} | | ||
| + | class="unsortable" }} {{ #If:{{{column6width|}}} | | ||
| + | style="width:{{{column6width}}}px;" }} {{!}} | ! }} {{{column6name}}} | ||
| + | {{ #If:{{{column7tag|}}} | | ||
| + | {{ #If:{{{column7sort|}}}{{{column7width|}}} | | ||
| + | ! {{ #If:{{{column7sort|}}} | | ||
| + | class="unsortable" }} {{ #If:{{{column7width|}}} | | ||
| + | style="width:{{{column7width}}}px;" }} {{!}} | ! }} {{{column7name}}} | ||
| + | {{ #If:{{{column8tag|}}} | | ||
| + | {{ #If:{{{column8sort|}}}{{{column8width|}}} | | ||
| + | ! {{ #If:{{{column8sort|}}} | | ||
| + | class="unsortable" }} {{ #If:{{{column8width|}}} | | ||
| + | style="width:{{{column8width}}}px;" }} {{!}} | ! }} {{{column8name}}} | ||
| + | {{ #If:{{{column9tag|}}} | | ||
| + | {{ #If:{{{column9sort|}}}{{{column9width|}}} | | ||
| + | ! {{ #If:{{{column9sort|}}} | | ||
| + | class="unsortable" }} {{ #If:{{{column9width|}}} | | ||
| + | style="width:{{{column9width}}}px;" }} {{!}} | ! }} {{{column9name}}} }} }} }} }} }} }} }} }} }} | ||
| + | ! class="unsortable" | Map | ||
| + | |- | ||
| + | {{#for_external_table:<nowiki/> | ||
| + | {{ #If:{{{column1tag|}}} | | ||
| + | {{!}} {{ #If:{{{column1link|}}} | | ||
| + | [[{{{{{{column1tag|}}}}}}]] | {{{{{{column1tag|}}}}}} | ||
| + | }} | ||
| + | {{ #If:{{{column2tag|}}} | | ||
| + | {{!}} {{ #If:{{{column2link|}}} | | ||
| + | [[{{{{{{column2tag|}}}}}}]] | {{{{{{column2tag|}}}}}} | ||
| + | }} | ||
| + | {{ #If:{{{column3tag|}}} | | ||
| + | {{!}} {{ #If:{{{column3link|}}} | | ||
| + | [[{{{{{{column3tag|}}}}}}]] | {{{{{{column3tag|}}}}}} | ||
| + | }} | ||
| + | {{ #If:{{{column4tag|}}} | | ||
| + | {{!}} {{ #If:{{{column4link|}}} | | ||
| + | [[{{{{{{column4tag|}}}}}}]] | {{{{{{column4tag|}}}}}} | ||
| + | }} | ||
| + | {{ #If:{{{column5tag|}}} | | ||
| + | {{!}} {{ #If:{{{column5link|}}} | | ||
| + | [[{{{{{{column5tag|}}}}}}]] | {{{{{{column5tag|}}}}}} | ||
| + | }} | ||
| + | {{ #If:{{{column6tag|}}} | | ||
| + | {{!}} {{ #If:{{{column6link|}}} | | ||
| + | [[{{{{{{column6tag|}}}}}}]] | {{{{{{column6tag|}}}}}} | ||
| + | }} | ||
| + | {{ #If:{{{column7tag|}}} | | ||
| + | {{!}} {{ #If:{{{column7link|}}} | | ||
| + | [[{{{{{{column7tag|}}}}}}]] | {{{{{{column7tag|}}}}}} | ||
| + | }} | ||
| + | {{ #If:{{{column8tag|}}} | | ||
| + | {{!}} {{ #If:{{{column8link|}}} | | ||
| + | [[{{{{{{column8tag|}}}}}}]] | {{{{{{column8tag|}}}}}} | ||
| + | }} | ||
| + | {{ #If:{{{column9tag|}}} | | ||
| + | {{!}} {{ #If:{{{column9link|}}} | | ||
| + | [[{{{{{{column9tag|}}}}}}]] | {{{{{{column9tag|}}}}}} | ||
| + | }} }} }} }} }} }} }} }} }} }} | ||
| + | {{!}} [[File:OGFmapicon.png|18px|link=]] <span class="plainlinks">[https://opengeofiction.net/{{{type}}}/{{{{{{type}}}_id}}} map]</span> | ||
| + | {{!}}- | ||
| + | }} |} | ||
| + | {{#clear_external_data:}} | ||
| + | |} | ||
| Line 28: | Line 137: | ||
==x== | ==x== | ||
| + | |||
| + | {{MER-autoTable_rfrsh | ||
| + | | relation = 311781 | ||
| + | | type = node | ||
| + | | topic = Rivers in Mergania: nodes | ||
| + | | width = 550 | ||
| + | | column1name = Name | ||
| + | | column1tag = name | ||
| + | }} | ||
| + | |||
| + | {{MER-autoTable_rfrsh | ||
| + | | relation = 311781 | ||
| + | | type = way | ||
| + | | topic = Rivers in Mergania: ways | ||
| + | | width = 550 | ||
| + | | column1name = Name | ||
| + | | column1tag = name | ||
| + | }} | ||
| + | |||
| + | {{MER-autoTable_rfrsh | ||
| + | | relation = 311781 | ||
| + | | type = relation | ||
| + | | topic = Rivers in Mergania: relations | ||
| + | | width = 550 | ||
| + | | column1name = Name | ||
| + | | column1tag = name | ||
| + | }} | ||
{{clear}} | {{clear}} | ||
Revision as of 13:54, 31 July 2022
Simple tables
| A | B | C |
|---|---|---|
| aaaaaaa | bbbbbbbbbbbbbbb | ccccccccccc |
| A | B | C |
|---|---|---|
| aaaaaaa | bbbbbbbbbbbbbbb | ccccccccccc |
| Table | |
|---|---|
| Map |
|}
x
| Rivers in Mergania: nodes | |
|---|---|
| Name | Map |
| Rivers in Mergania: ways | |
|---|---|
| Name | Map |
| Farau Way | |
| Farau Way |
| Rivers in Mergania: relations | |
|---|---|
| Name | Map |
| Farau Relation |
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 |
|---|