Module:TNT: Διαφορά μεταξύ των αναθεωρήσεων

Περιεχόμενο που διαγράφηκε Περιεχόμενο που προστέθηκε
Yurik (συζήτηση | συνεισφορές)
Χωρίς σύνοψη επεξεργασίας
μ Copying 3 changes by Yurik,Krinkle: "fixed doc link, Try ucfirst to bypass some unknown cache" from mw:Module:TNT
Γραμμή 1:
--
-- INTRO: (!!! DO NOT RENAME THIS PAGE !!!)
-- This module allows any template or module to be copy/pasted between
-- wikis without any translation changes. All translation text is stored
-- in the global Data:*.tab pages on Commons, and used everywhere.
--
-- ATTENTION:
Γραμμή 7 ⟶ 12 :
--
-- DESCRIPTION:
-- This module allows templates to use translations from the shared Datasets on Commons
--
-- The "msg" function uses a Commons dataset to translate a message
-- with a given key (e.g. source-table), plus optional arguments
-- to the wiki markup in the current content language.
-- Use lang=xx to set language. Example:
--
-- {{#invoke:TNT | msg | Original/Template:Graphs.tab | source-table | param1 }}
-- | I18n/Template:Graphs.tab uses<!-- https://commons.wikimedia.org/wiki/Data:OriginalI18n/Template:Graphs.tab -->
-- | source-table <!-- uses a translation message with id = "source-table" -->
-- | param1 }} <!-- optional parameter -->
--
--
-- The "doc" function will generate the <templatedata> parameter documentation for templates.
-- This way all template parameters can be stored and localized in a single Commons dataset.
-- NOTE: "doc" assumes that all documentation is located in Data:Templatedata/* on Commons.
--
-- {{#invoke:TNT | doc | Graph:Lines }}
-- uses https://commons.wikimedia.org/wiki/Data:Templatedata/Graph:Lines.tab
-- if the current page is Template:Graph:Lines/doc
--
 
Ανακτήθηκε από "https://el.wikipedia.org/wiki/Module:TNT"