Difference between revisions of "Template:Atab table"
Jump to navigation
Jump to search
(Created page with "<includeonly>{{ #if:{{{collapsible|}}} | {{ #if:{{{collapsed|}}} | {{{!}} class="wikitable sortable mw-collapsible mw-collapsed;" | {{{!}} class="wikitable sort...") |
m |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{ #if:{{{collapsible|}}} | | <includeonly>{{ #if:{{{collapsible|}}} | | ||
{{ #if:{{{collapsed|}}} | | {{ #if:{{{collapsed|}}} | | ||
| − | {{{!}} class= | + | {{{!}} class="wikitable sortable mw-collapsible mw-collapsed;" | |
| − | {{{!}} class= | + | {{{!}} class="wikitable sortable mw-collapsible" }} | |
| − | {{{!}} class= | + | {{{!}} class="wikitable sortable" }} style="text-align:left; width:{{{width|500}}}px;" |
|- | |- | ||
| − | ! class= | + | ! class="unsortable" style="background:#{{{bgcolor|CCCCFF}}};" {{ #if:{{{column9tag|}}} | |
| − | colspan= | + | colspan="9" | {{ #if:{{{column8tag|}}} | |
| − | colspan= | + | colspan="8" | {{ #if:{{{column7tag|}}} | |
| − | colspan= | + | colspan="7" | {{ #if:{{{column6tag|}}} | |
| − | colspan= | + | colspan="6" | {{ #if:{{{column5tag|}}} | |
| − | colspan= | + | colspan="5" | {{ #if:{{{column4tag|}}} | |
| − | colspan= | + | colspan="4" | {{ #if:{{{column3tag|}}} | |
| − | colspan= | + | colspan="3" | {{ #if:{{{column2tag|}}} | |
| − | colspan= | + | colspan="2" | {{ #if:{{{column1tag|}}} | |
| − | colspan= | + | colspan="1" }} }} }} }} }} }} }} }} }} | {{{topic|Table}}} |
| − | ! class= | + | ! 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= | + | class="unsortable" }} {{ #if:{{{column1width|}}} | |
| − | style= | + | style="width:{{{column1width}}}px;" }} {{!}} | ! }} {{{column1name|{{{column1tag}}}}}} |
{{ #if:{{{column2tag|}}} | | {{ #if:{{{column2tag|}}} | | ||
{{ #if:{{{column2sort|}}}{{{column2width|}}} | | {{ #if:{{{column2sort|}}}{{{column2width|}}} | | ||
! {{ #if:{{{column2sort|}}} | | ! {{ #if:{{{column2sort|}}} | | ||
| − | class= | + | class="unsortable" }} {{ #if:{{{column2width|}}} | |
| − | style= | + | style="width:{{{column2width}}}px;" }} {{!}} | ! }} {{{column2name|{{{column2tag}}}}}} |
{{ #if:{{{column3tag|}}} | | {{ #if:{{{column3tag|}}} | | ||
{{ #if:{{{column3sort|}}}{{{column3width|}}} | | {{ #if:{{{column3sort|}}}{{{column3width|}}} | | ||
! {{ #if:{{{column3sort|}}} | | ! {{ #if:{{{column3sort|}}} | | ||
| − | class= | + | class="unsortable" }} {{ #if:{{{column3width|}}} | |
| − | style= | + | style="width:{{{column3width}}}px;" }} {{!}} | ! }} {{{column3name|{{{column3tag}}}}}} |
{{ #if:{{{column4tag|}}} | | {{ #if:{{{column4tag|}}} | | ||
{{ #if:{{{column4sort|}}}{{{column4width|}}} | | {{ #if:{{{column4sort|}}}{{{column4width|}}} | | ||
! {{ #if:{{{column4sort|}}} | | ! {{ #if:{{{column4sort|}}} | | ||
| − | class= | + | class="unsortable" }} {{ #if:{{{column4width|}}} | |
| − | style= | + | style="width:{{{column4width}}}px;" }} {{!}} | ! }} {{{column4name|{{{column4tag}}}}}} |
{{ #if:{{{column5tag|}}} | | {{ #if:{{{column5tag|}}} | | ||
{{ #if:{{{column5sort|}}}{{{column5width|}}} | | {{ #if:{{{column5sort|}}}{{{column5width|}}} | | ||
! {{ #if:{{{column5sort|}}} | | ! {{ #if:{{{column5sort|}}} | | ||
| − | class= | + | class="unsortable" }} {{ #if:{{{column5width|}}} | |
| − | style= | + | style="width:{{{column5width}}}px;" }} {{!}} | ! }} {{{column5name|{{{column5tag}}}}}} |
{{ #if:{{{column6tag|}}} | | {{ #if:{{{column6tag|}}} | | ||
{{ #if:{{{column6sort|}}}{{{column6width|}}} | | {{ #if:{{{column6sort|}}}{{{column6width|}}} | | ||
! {{ #if:{{{column6sort|}}} | | ! {{ #if:{{{column6sort|}}} | | ||
| − | class= | + | class="unsortable" }} {{ #if:{{{column6width|}}} | |
| − | style= | + | style="width:{{{column6width}}}px;" }} {{!}} | ! }} {{{column6name|{{{column6tag}}}}}} |
{{ #if:{{{column7tag|}}} | | {{ #if:{{{column7tag|}}} | | ||
{{ #if:{{{column7sort|}}}{{{column7width|}}} | | {{ #if:{{{column7sort|}}}{{{column7width|}}} | | ||
! {{ #if:{{{column7sort|}}} | | ! {{ #if:{{{column7sort|}}} | | ||
| − | class= | + | class="unsortable" }} {{ #if:{{{column7width|}}} | |
| − | style= | + | style="width:{{{column7width}}}px;" }} {{!}} | ! }} {{{column7name|{{{column7tag}}}}}} |
{{ #if:{{{column8tag|}}} | | {{ #if:{{{column8tag|}}} | | ||
{{ #if:{{{column8sort|}}}{{{column8width|}}} | | {{ #if:{{{column8sort|}}}{{{column8width|}}} | | ||
! {{ #if:{{{column8sort|}}} | | ! {{ #if:{{{column8sort|}}} | | ||
| − | class= | + | class="unsortable" }} {{ #if:{{{column8width|}}} | |
| − | style= | + | style="width:{{{column8width}}}px;" }} {{!}} | ! }} {{{column8name|{{{column8tag}}}}}} |
{{ #if:{{{column9tag|}}} | | {{ #if:{{{column9tag|}}} | | ||
{{ #if:{{{column9sort|}}}{{{column9width|}}} | | {{ #if:{{{column9sort|}}}{{{column9width|}}} | | ||
! {{ #if:{{{column9sort|}}} | | ! {{ #if:{{{column9sort|}}} | | ||
| − | class= | + | class="unsortable" }} {{ #if:{{{column9width|}}} | |
| − | style= | + | style="width:{{{column9width}}}px;" }} {{!}} | ! }} {{{column9name|{{{column9tag}}}}}} }} }} }} }} }} }} }} }} }} |
! class="unsortable" | Map | ! class="unsortable" | Map | ||
|- | |- | ||
| Line 101: | Line 101: | ||
[[{{{{{{column9tag|}}}}}}]] | {{{{{{column9tag|}}}}}} | [[{{{{{{column9tag|}}}}}}]] | {{{{{{column9tag|}}}}}} | ||
}} }} }} }} }} }} }} }} }} }} | }} }} }} }} }} }} }} }} }} }} | ||
| − | {{!}} [[File:OGFmapicon.png|18px|link=]] <span class= | + | {{!}} [[File:OGFmapicon.png|18px|link=]] <span class="plainlinks">[https://opengeofiction.net/{{{type}}}/{{{obj_id}}} map]</span> |
{{!}}- | {{!}}- | ||
}} |} | }} |} | ||
| Line 108: | Line 108: | ||
==Test 1== | ==Test 1== | ||
{| | {| | ||
| − | {{Requestdata test|relation=312195|type=way|column1tag=name}} | + | {{Requestdata test|relation=312195|type=way|column1tag=name|column2tag=name}} |
{{Template:Atab table|type=way}} | {{Template:Atab table|type=way}} | ||
{{#clear_external_data:}} | {{#clear_external_data:}} | ||