Module:Find sources/autodoc/config: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Mr. Stradivarius (add two error messages) |
m (6 revisions imported) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
-- documentation config in the link and template tables. | -- documentation config in the link and template tables. | ||
['table-config-separator'] = mw.message.new('Comma-separator'):plain(), | ['table-config-separator'] = mw.message.new('Comma-separator'):plain(), | ||
-- Error for invalid template names. $1 is the name we were passed, and $2 is | |||
-- the name of the template module that is missing. | |||
['invalid-template-name-error'] = "invalid template name '$1'; no template config found at [[$2]]", | |||
------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||
Line 40: | Line 44: | ||
['link-table-notes-header'] = 'Notes', | ['link-table-notes-header'] = 'Notes', | ||
-- Error for invalid link config pages. The string | -- Error for invalid link config pages. The string $1 is the page name. | ||
['invalid-link-config-error'] = 'Invalid link configuration detected on page [[ | ['invalid-link-config-error'] = 'Invalid link configuration detected on page [[$1]].', | ||
------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||
Line 65: | Line 69: | ||
['template-table-autodoc-config-link-display'] = 'documentation', | ['template-table-autodoc-config-link-display'] = 'documentation', | ||
-- Error for invalid template config pages. The string | -- Error for invalid template config pages. The string $1 is the page name. | ||
['invalid-template-config-error'] = 'Invalid template configuration detected on page [[ | ['invalid-template-config-error'] = 'Invalid template configuration detected on page [[$1]].' | ||
} | } |
Latest revision as of 04:29, 3 September 2020
Documentation for this module may be created at Module:Find sources/autodoc/config/doc
return { -- The search term used in example template invocations. ['example-search-term'] = 'Example', -- The blurb used in the end box in the template documentation for individual -- source-finding templates. ['end-box-blurb'] = 'This documentation is generated by ' .. '[[Template:Find sources documentation]] with data provided by ' .. '[[Module:Find sources/autodoc]]. See ' .. '[[Module:Find sources#Automatic documentation]] for an overview.', -- The separator used to separate links to the main config and the -- documentation config in the link and template tables. ['table-config-separator'] = mw.message.new('Comma-separator'):plain(), -- Error for invalid template names. $1 is the name we were passed, and $2 is -- the name of the template module that is missing. ['invalid-template-name-error'] = "invalid template name '$1'; no template config found at [[$2]]", ------------------------------------------------------------------------------- -- Link table ------------------------------------------------------------------------------- -- Code column header. ['link-table-code-header'] = 'Code', -- Description column header. ['link-table-description-header'] = 'Description', -- Example column header. ['link-table-example-header'] = 'Example', -- Configuration column header. ['link-table-config-header'] = 'Configuration', -- Display value for the wikilink to the main configuration page. ['link-table-main-config-link-display'] = 'main', -- Display value for the wikilink to the documentation configuration page. ['link-table-autodoc-config-link-display'] = 'documentation', -- Notes column header. ['link-table-notes-header'] = 'Notes', -- Error for invalid link config pages. The string $1 is the page name. ['invalid-link-config-error'] = 'Invalid link configuration detected on page [[$1]].', ------------------------------------------------------------------------------- -- Template table ------------------------------------------------------------------------------- -- Template column header. ['template-table-template-header'] = 'Template', -- Description column header. ['template-table-description-header'] = 'Description', -- Example column header. ['template-table-example-header'] = 'Example', -- Configuration column header. ['template-table-config-header'] = 'Configuration', -- Display value for the wikilink to the main configuration page. ['template-table-main-config-link-display'] = 'main', -- Display value for the wikilink to the documentation configuration page. ['template-table-autodoc-config-link-display'] = 'documentation', -- Error for invalid template config pages. The string $1 is the page name. ['invalid-template-config-error'] = 'Invalid template configuration detected on page [[$1]].' }