Module:Find sources/autodoc/config: Difference between revisions
From All Skies Encyclopaedia
imported>Mr. Stradivarius (use $1 instead of %s) |
imported>CaiusSPQR (Reverted to revision 636263729 by Mr. Stradivarius (talk): Made a mistake sorry (TW)) |
||
(2 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]]", |
|||
------------------------------------------------------------------------------- |
------------------------------------------------------------------------------- |
Latest revision as of 16:49, 25 June 2019
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]].'
}