m (Clarify wording) |
(Marked this version for translation) |
||
Line 9: | Line 9: | ||
-- Text displayed when a switch is given an unknown value |
-- Text displayed when a switch is given an unknown value |
||
− | p.unknownType = [=[<translate> |
+ | p.unknownType = [=[<translate><!--T:3--> |
+ | Unknown value</translate>]=] |
||
-- In theory, displayed when an infobox definition can't be loaded. |
-- In theory, displayed when an infobox definition can't be loaded. |
||
− | p.loadFailure = [=[<translate> |
+ | p.loadFailure = [=[<translate><!--T:4--> |
+ | Couldn't load module:</translate>]=] |
||
-- In the documentation page, word that separates alternate choices for things like argument names |
-- In the documentation page, word that separates alternate choices for things like argument names |
Revision as of 20:10, 4 January 2015
--
local p = {} -- automatically appended when expanding image arguments p.imageParameters = "" -- Default maximum width of images. Override by setting maxWidth in the image arg. p.maxImageSize = 260 -- Text displayed when a switch is given an unknown value p.unknownType = [=[Unknown value]=] -- In theory, displayed when an infobox definition can't be loaded. p.loadFailure = [=[Couldn't load module:]=] -- In the documentation page, word that separates alternate choices for things like argument names p.nameorname = [=[or]=] -- Text appended to the description of switch arguments, just before the list of possible values. p.switchdoc = [=[Can be any of the following. Anything else will add the page to a list of pages with type errors.]=] return p --