Template:Db table: Difference between revisions
Appearance
m Protected "Template:Db table" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)) |
m 1 revision imported: Initial Setup |
||
(No difference)
| |||
Latest revision as of 11:17, 17 April 2026
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