Template:SoftwareTable



From OpenStreetMap Wiki



Jump to navigation  Jump to search  
Logo.png
This page describes a historic artifact in the history of OpenStreetMap. It does not reflect the current situation, but instead documents the historical concepts, issues, or ideas.


This table in the past was generated automatically by a bot. Learn more.

[Edit] [Purge] Template-info.svg Template documentation

Logo.png
This page describes a historic artifact in the history of OpenStreetMap. It does not reflect the current situation, but instead documents the historical concepts, issues, or ideas.



This template is an anchor for automatically generated software tables. It tells bot software where tables should be placed and what information should be displayed there.

Note that tables will not be created and updated instantly. You will need to wait for the next bot run to see the results.

Usage

The template is called like this:

 {{SoftwareTable|cols=...|lang=...}}

Arbitrary additional parameters can be added besides cols and lang.

lang

The lang parameter chooses a table's localization. This feature isn't supported yet. All tables will be in English!

cols

The value of cols is a comma-separated, ordered list that selects the columns and column groups making up the table.

Available columns and groups

This list is generated automatically by a bot. The information is based on the bot's internal configuration.

Other parameters

All additional parameters are filters that determine the lines of the table. The key (part before the '=') is a key from Template:Software2. The value can either be a single allowed value or a regular expression (Java style) describing the set of allowed values. An entry must match all requirements in order to show up in the table.

If you need a pipe character | in the regular expression, you can use a slash / instead. The pipe character is used by MediaWiki to separate template parameters.

Example

 {{SoftwareTable|cols=name,tracking_cols|lang=en|tracking=yes|platform=.*[aA]ndroid.*}}

This use of the template requests generation of a table with a column for the programs' names and a set of columns that contain details about track making features. If possible, labels should be in English. The table will only contain programs that, according to the "tracking" field of Template:Software2, support tracking and have "android" or "Android" listed within their "platform" field (with arbitrary characters before and after that word).

See What links here for a list of sites using the template; they can serve as additional examples.

Retrieved from "https://wiki.openstreetmap.org/w/index.php?title=Template:SoftwareTable&oldid=2627228"

Categories: 
Software
Templates for Table
Historic artifacts
 


Navigation menu


Personal tools  



English
Create account
Log in
 

Namespaces  



Template
Discussion