Template:Extension db table
Jump to navigation
Jump to search
[[Special:MyLanguage/Extension:/ table#|]]
Usage
<templatedata> {
"description": "Display a link to the Manual page of a MediaWiki database table, optionally linking to the section describing a specific column.", "params": { "1": { "label": "Extension name", "description": "Name of the extension", "required": true, "type": "string" }, "2": { "label": "Table name", "description": "Name of the database table", "required": true, "type": "string" }, "3": { "label": "Column name", "description": "Optional name of the column section to link to", "required": false, "type": "string" }, "4": { "label": "Alternatively displayed text", "description": "Optional text to display instead of the table and/or field name", "required": false, "type": "string" } }
} </templatedata>
Example
{{extension db table|abusefilter|abuse_filter}}
→ abuse_filter{{extension db table|abusefilter|abuse_filter|af_user}}
→ abuse_filter.af_user{{extension db table|abusefilter|abuse_filter|af_user|User ID}}
→ User ID
[[Category:TemplatesTemplate:Translation]]