Content deleted Content added
No edit summary |
No edit summary |
||
Line 1:
--[[--------------------------< P A R A M S _ M A I N _ T >----------------------------------------------------
table of k/v_t pair tables where k/v_t in the outer table is:
k – the Wikimedia subdomain (language code; 'en' in 'en.wikipedia.org')
v_t – a k/v table where
the various exported functions are also listed here for completeness and to document them; these are asigned nil▼
k – the non-English parameter name
for a value (same as not present in the table).▼
v – the directly translatable cs1|2 equivalent parameter name. Parameter names that do not have any cs1|2
▲
▲ them; these are asigned nil for a value (same as not present in the table).
All key values (non-English parameter names) are normalized to lowercase.
]]
Line 1,652 ⟶ 1,653:
--[[--------------------------< P A R A M S _ D A T E S _ T >--------------------------------------------------
<date_params_t> is a k/v_t table where k is the
and v_t is a k/v_t table where k identifies the 'date' or 'date-part' and v_t is a sequence table of associated
non-English parameter alias names
non-English parameter names are normalized to lowercase.
Line 1,746 ⟶ 1,748:
--[[--------------------------< P A R A M S _ M I S C _ D A T E S _ T >----------------------------------------
table of k/v_t pairs where k/v_t in the outer table is:
k – the Wikimedia subdomain (language code; 'en' in 'en.wikipedia.org')
v_t – a table of k/v pairs where
k – the non-English parameter name
v – the directly translatable cs1|2 equivalent date-holding parameters that are not |date=, |year=, |month=,
or |day= equivalents.
All key values
]]
Line 1,888 ⟶ 1,897:
['origår'] = 'orig-date', -- actually |orig-year=
['origdatum'] = 'orig-date',
-- ['origmånad'] = nil, -- no cs1|2 equivalent; |orig-month=
['utgivningsdatum'] = 'publication-date',
},
Line 1,921 ⟶ 1,930:
miscellaneous identifiers that, at en.wiki, are grouped together in |id=
k – the Wikimedia subdomain (language code; 'en' in 'en.wikipedia.org')
[1] is the parameter name normalized to lower case▼
v_t – a sequence table of sequence tables where:
[3] is the url-prefix to be attached to the identifier value from the template parameter▼
[4] is the url-postfix to be attached to the identifier value
parameter names are normalized to lowercase.
Line 1,960 ⟶ 1,971:
--[[--------------------------< P A R A M S _ L A N G U A G E _ T >--------------------------------------------
table of
k – the Wikimedia subdomain (language code; 'en' in 'en.wikipedia.org')
v_t – a sequence table of non-English equivalents to the en.wiki |language= parameter
]]
|