Template:Db table
Template documentation
Usage
Display a link to the Manual page of a MediaWiki database table, optionally linking to the section describing a specific column.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Table name | 1 | Name of the database table | String | required |
Column name | 2 | Optional name of the column section to link to | String | optional |
Alternatively displayed text | 3 | Optional text to display instead of the table and/or field name | String | optional |
Example
{{db table|interwiki}}
→ interwiki{{db table|revision|rev_id}}
→ revision.rev_id{{db table|user|user_id|User ID}}
→ User ID