Khác biệt giữa bản sửa đổi của “Mô đun:Thử”

Nội dung được xóa Nội dung được thêm vào
Không có tóm lược sửa đổi
Không có tóm lược sửa đổi
Dòng 115:
{arg = 'species', image = 'Wikispecies-logo.svg', prefix = 'wikispecies', display = 'Danh mục các loài', from = 'Wikispecies'},
{arg = 'voy', image = 'Wikivoyage-Logo-v3-icon.svg', prefix = 'voy', display = 'Cẩm nang du lịch', from = 'Wikivoyage'},
{arg = 'n', image = 'Wikinews-logo.svg', prefixlang = 'vi.', prefix = 'wikinews', display = 'Tin tức', from = 'Wikinews'},
{arg = 'wikt', image = 'Wiktionary-logo-v2.svg', prefixlang = 'vi.', prefix = 'wiktionary', postfix = 'tiếng Việt', display = 'Định nghĩa', from = 'Wiktionary'},
{arg = 'b', image = 'Wikibooks-logo.svg', prefixlang = 'vi.', prefix = 'wikibooks', display = 'Sách giáo khoa', from = 'Wikibooks'},
{arg = 'q', image = 'Wikiquote-logo.svg', prefixlang = 'vi.', prefix = 'wikiquote', display = 'Trích dẫn', from = 'Wikiquote'},
{arg = 's', image = 'Wikisource-logo.svg', prefixlang = 'vi.', prefix = 'wikisource', display = 'Văn bản gốc', from = 'Wikisource'},
{arg = 'v', image = 'Wikiversity-logo.svg', prefix = 'wikiversity', display = 'Học liệu', from = 'Wikiversity'},
{arg = 'd', image = 'Wikidata-logo.svg', prefix = 'wikidata', display = 'Dữ liệu', from = 'Wikidata'},
Dòng 130:
local image = mw.ustring.format('[[File:%s|30x30px|alt=|link=]]', t.image)
-- Get the text value.
local lang = t.lang
local prefix = t.prefix
local search = args[t.arg .. '-search'] or mw.title.getCurrentTitle().text