Template:Extension db table

From Linux Web Expert

[[Special:MyLanguage/Extension:/ table#|]]

Template documentation

Usage

<templatedata> {

 "description": {

"en": "Display a link to the Manual page of a MediaWiki database table, optionally linking to the section describing a specific column.", "cs": "Zobrazí odkaz na stránku s příručkou tabulky databáze MediaWiki, volitelně odkazující na sekci popisující konkrétní sloupec." },

 "params": {
   "1": {
     "label": {

"en": "Extension name", "cs": "Název rozšíření" },

     "description": {

"en": "Name of the extension", "cs": "Název rozšíření" },

     "required": true,
     "type": "string"
   },
   "2": {
     "label": {

"en": "Table name", "cs": "Název tabulky" },

     "description": {

"en": "Name of the database table", "cs": "Název databázové tabulky" },

     "required": true,
     "type": "string"
   },
   "3": {
     "label": {

"en": "Column name", "cs": "Název sloupce" },

     "description": {

"en": "Optional name of the column section to link to", "cs": "Volitelný název sekce sloupce k propojení" },

     "required": false,
     "type": "string"
   },
   "4": {
     "label": {

"en": "Alternatively displayed text", "cs": "Alternativně zobrazený text" },

     "description": {

"en": "Optional text to display instead of the table and/or field name", "cs": "Volitelný text k zobrazení namísto názvu tabulky a/nebo pole" },

     "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