Mô đun:Shortcut/config

Đây là một phiên bản cũ của trang này, do Admin (thảo luận | đóng góp) sửa đổi vào lúc 18:20, ngày 6 tháng 8 năm 2026 (Đã nhập 1 phiên bản). Địa chỉ URL hiện tại là một liên kết vĩnh viễn đến phiên bản này của trang, có thể khác biệt rất nhiều so với phiên bản hiện hành.

(khác) ← Phiên bản cũ | Phiên bản mới nhất (khác) | Phiên bản mới → (khác)
-- This module holds configuration data for [[Mô đun:Shortcut]].

return {

-- The heading at the top of the shortcut box. It accepts the following parameter:
-- $1 - the total number of shortcuts. (required)
['shortcut-heading'] = '[[Wikipedia:Viết tắt|Viết tắt]]',

-- The heading when |redirect=yes is given. It accepts the following parameter:
-- $1 - the total number of shortcuts. (required)
['redirect-heading'] = '[[Wikipedia:Trang đổi hướng|Đổi hướng]]',

-- The error message to display when a shortcut is invalid (is not a string, or
-- is the blank string). It accepts the following parameter:
-- $1 - the number of the shortcut in the argument list. (required)
['invalid-shortcut-error'] = 'viết tắt #$1 không hợp lệ (các viết tắt phải là ' ..
	'chuỗi gồm ít nhất một ký tự)',

-- The error message to display when no shortcuts or other displayable content
-- were specified. (required)
['no-content-error'] = 'Lỗi: không có viết tắt nào được chỉ định và tham số ' ..
	mw.text.nowiki('|msg=') ..
	' không được thiết lập.',

-- A category to add when the no-content-error message is displayed. (optional)
['no-content-error-category'] = 'Bản mẫu viết tắt thiếu tham số',
}