Module:Infobox/strings

From Feed The Beast Wiki
Jump to: navigation, search
This page is a translated version of the page Module:Infobox/strings and the translation is 100% complete.

Documentation for this module may be created at Module:Infobox/strings/zh-cn/doc

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

-- Default link text
p.linkText = [=[链接]=]

------
-- Error-related messages
------

-- Text displayed when a parameter is wrong
p.badParameterName = [=[未识别参数]=]

-- Text displayed when a switch is given an unknown value
p.unknownType = [=[未知值]=]

-- Displayed when a module can't be loaded at all.
p.loadFailure = [=[无法加载Module:]=]

-- Message to inform a translation admin.
p.informTranslationAdmin = [=[请在翻译需要更新时,联系翻译管理员进行标记。]=]

-- Displayed if the definition has no "format" entry
p.errNoFormat = "The infobox definition has no <code>format</code> entry."

-- Displayed if the definition has a format which is empty
p.errEmptyInfoboxFormat = "The infobox definition contains no non-<code>docOnly</code> sections and thus would be invisible."

-- Displayed if an argument table lacks an arg key or it's not a string or table
p.errArgMissingArgName = "Argument table lacks a usable <code>arg</code> key."

-- Displayed regarding the position of an error in a cell.
p.errCellLocation = "Section ${section}, subsection ${subsection}, row ${row}, cell ${cell}"

-- Displayed regarding the position of a troublesome section title
p.errSectionLocation = "Section ${section} title"

-- Displayed if a section isn't a table.
p.errBadSection = "Section ${section} is not a table."

-- Displayed if a section *has* no title
p.errSectionNoTitle = "Section ${section} has no title!"

-- Displayed if a switch parameter has no allowedValues entry.
p.errArgMissingSwitchValues = "Argument table lacks a usable <code>allowedValues</code> key."

-- Displayed if a subsection isn't a table.
p.errBadSection = "Subsection ${subsection} of section ${section} is not a table."

-- Displayed if a subsection isn't a table.
p.errBadRow = "Section ${section}, subsection ${subsection}, row ${row} is not a table."

-- Displayed if there's no output for infobox()
p.errNoOutput = "With the supplied parameters, there is nothing to show."

------
-- Strings used in documentation generation.
------

-- In the documentation page, word that separates alternate choices for things like argument names
p.nameorname = [=[或]=]

-- 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.]=]

-- Text appended to the description of image arguments
p.imagedoc = [=[使用''全部''文件名,例:"'''Block sand.png'''"]=]

-- Template-supporting wikitext used to form the hatnote pointing to the relevant subpage of Module:Infobox. ${template} becomes the name of that page.
p.generatedFrom = [=[此模版和它的说明文档已使用定义生成在[[${template}]]]=]

-- Template-supporting wikitext placed as the lead of the documentation (as is docLead from the infobox definition)
p.docLead = [=[本模版用于在条目右侧中创建一个信息框。]=]

-- Heading of the parameters section
p.parameters = [=[参数]=]

-- Template-supporting wikitext that starts the parameters section
p.parameterLead = [=[:''A blank infobox is provided on the right for quicker reference, the infobox will be collapsed on actual articles.'']=]

-- Heading of the examples section
p.examples = [=[例子]=]

-- Heading of the "Code" column in example section
p.exampleCode = [=[代码]=]

-- Heading of the "Result" column in the example section
p.exampleResult = [=[结果]=]

-- Message displayed when there are no examples
p.noExamples = [=[没有为此模版准备的范例。]=]

return p