Feed The Beast Wiki

Follow the Feed The Beast Wiki on Discord or Mastodon!

READ MORE

Feed The Beast Wiki
Advertisement

Documentation for this module may be created at Module:Infobox/strings/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 = [=[<translate><!--T:16--> Link</translate>]=]

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

-- Text displayed when a parameter is wrong
p.badParameterName = [=[<translate><!--T:15--> Unrecognised parameter:</translate>]=]

-- Text displayed when a switch is given an unknown value
p.unknownType = [=[<translate><!--T:3--> Unknown value</translate>]=]

-- Displayed when a module can't be loaded at all.
p.loadFailure = [=[<translate><!--T:4--> Couldn't load module:</translate>]=]

-- Message to inform a translation admin.
p.informTranslationAdmin = [=[<translate><!--T:12--> Please inform a translation admin as the translation markings probably need updating.</translate>]=]

-- 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 = [=[<translate><!--T:1--> or</translate>]=]

-- Text appended to the description of switch arguments, just before the list of possible values.
p.switchdoc = [=[<translate><!--T:2--> Can be any of the following. Anything else will add the page to a list of pages with type errors.</translate>]=]

-- Text appended to the description of image arguments
p.imagedoc = [=[<translate><!--T:14--> Use the ''complete'' filename, like "'''Block sand.png'''".</translate>]=]

-- 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 = [=[<translate><!--T:5--> This template and its documentation are generated using the definition at [[${template}]]</translate>]=]

-- Template-supporting wikitext placed as the lead of the documentation (as is docLead from the infobox definition)
p.docLead = [=[<translate><!--T:6--> This template is used to create an info box that aligns to the right side of the article it is embedded in.</translate>]=]

-- Heading of the parameters section
p.parameters = [=[<translate><!--T:7--> Parameters</translate>]=]

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

-- Heading of the examples section
p.examples = [=[<translate><!--T:9--> Examples</translate>]=]

-- Heading of the "Code" column in example section
p.exampleCode = [=[<translate><!--T:10--> Code</translate>]=]

-- Heading of the "Result" column in the example section
p.exampleResult = [=[<translate><!--T:11--> Result</translate>]=]

-- Message displayed when there are no examples
p.noExamples = [=[<translate><!--T:13--> There are no examples for this template.</translate>]=]

return p
Advertisement