Template:Compatibility

From Linux Web Expert

This template can show a Platform compatibility table and/or a Database support table. It is also possible to add a comment beneath the header(s). The template does a {{#ask:[[Category:SMW releases]][[Language code::en]] on this wiki and with the default configuration only shows the top 3 SMW releases with the most recent release dates. It can also do {{#ask:[[Semantic MediaWiki x.x.x]]| to show only a specific release.

Usage

If you don't want to use an option leave empty.

{{Compatibility
| showrelease =      // Show a specific SMW release like "Semantic MediaWiki 1.9.0".
| lookback =         // Shows the last n SMW release(s). Default is 3. 
| showplatcom =      // Set to yes to show the '''Platform compatibility''' table.
| platcomcomment =   // Optional, comment underneath the '''Platform compatibility''' header.
| showdbsup =        // Set to yes to show the '''Database support''' table.
| dbsupcomment =     // Optional, comment underneath the '''Database support''' header.
}}

Example

The following example shows the Platform compatibility table and the Database support table only for Semantic MediaWiki 1.8.0 with a comment for both.

{{Compatibility
| showrelease = Semantic MediaWiki 1.8.0
| showplatcom = yes
| showdbsup = yes
| platcomcomment = Put your comment here.
| dbsupcomment = Put your comment here.
}}

Platform compatibility

Put your comment here.

Relational database support

Put your comment here.