Difference between revisions of "Template:Table rel"

From geofiction
Jump to navigation Jump to search
m
m
Line 164: Line 164:
 
{{Table rel
 
{{Table rel
 
| relation    = 48497
 
| relation    = 48497
| type        = node
 
| topic        = List of Gobeletplain Cafés
 
| width        = 550
 
| column1sort  = no
 
| column1name  = Name
 
| column1tag  = name
 
| column1width =
 
| column1link  = yes
 
| column2sort  =
 
| column2name  = City
 
| column2tag  = is_in:city
 
| column3sort  =
 
| column3name  = Country
 
| column3tag  = is_in:country
 
| column4sort  = no
 
| column4name  = Note
 
| column4tag  = ldata:note
 
| column5sort  =
 
| column5name  =
 
| column5tag  =
 
| column6sort  =
 
| column6name  =
 
| column6tag  =
 
| column7sort  =
 
| column7name  =
 
| column7tag  =
 
| column8sort  =
 
| column8name  =
 
| column8tag  =
 
| column9sort  =
 
| column9name  =
 
| column9tag  =
 
}}
 
 
=Tests=
 
{{Table rel
 
| search1      = name/Gobeletplain
 
 
| type        = node
 
| type        = node
 
| topic        = List of Gobeletplain Cafés
 
| topic        = List of Gobeletplain Cafés

Revision as of 23:36, 2 August 2022


Usage

{{Table rel
| relation    = ...relation number
| type        = {node,way} ...only ways OR nodes are possible
| topic       = ...topic of table
| width       = ...total width of table
| column1sort = {no, } ...if 1st column is unsortable
| column1name = ...name of 1st column
| column1tag  = ...name of 1st column tag to search for
| column2sort = {no, } ...if 2nd column is unsortable
| column2name = ...name of 2nd column
| column2tag  = ...name of 2nd column tag to search for
| column3sort = {no, } ...if 3rd column is unsortable
| column3name = ...name of 3rd column
| column3tag  = ...name of 3rd column tag to search for
| column4sort = {no, } ...if 4th column is unsortable
| column4name = ...name of 4th column
| column4tag  = ...name of 4th column tag to search for
| column5sort = {no, } ...if 5th column is unsortable
| column5name = ...name of 5th column
| column5tag  = ...name of 5th column tag to search for
| column6sort = {no, } ...if 6th column is unsortable
| column6name = ...name of 6th column
| column6tag  = ...name of 6th column tag to search for
| column7sort = {no, } ...if 7th column is unsortable
| column7name = ...name of 7th column
| column7tag  = ...name of 7th column tag to search for
| column8sort = {no, } ...if 8th column is unsortable
| column8name = ...name of 8th column
| column8tag  = ...name of 8th column tag to search for
| column9sort = {no, } ...if 9th column is unsortable
| column9name = ...name of 9th column
| column9tag  = ...name of 9th column tag to search for
}}

Example: List of Gobeletplain Cafés

{{Table rel
| relation    = 48497
| type        = node
| topic       = List of Gobeletplain Cafés
| width       = 550
| column1name = Name
| column1tag  = name
| column2name = City
| column2tag  = is_in:city
| column3name = Country
| column3tag  = is_in:country
| column4sort = no
| column4name = Note
| column4tag  = ldata:note
}}
List of Gobeletplain Cafés MER-refresh.png
Name City Country Note Map