Module:Find sources/autodoc/config: Difference between revisions
From All Skies Encyclopaedia
imported>CaiusSPQR No edit summary |
imported>CaiusSPQR (Reverted to revision 636263729 by Mr. Stradivarius (talk): Made a mistake sorry (TW)) |
||
Line 2: | Line 2: | ||
-- The search term used in example template invocations. |
-- The search term used in example template invocations. |
||
['example-search-term'] = ' |
['example-search-term'] = 'Example', |
||
-- The blurb used in the end box in the template documentation for individual |
-- The blurb used in the end box in the template documentation for individual |
||
-- source-finding templates. |
-- source-finding templates. |
||
['end-box-blurb'] = ' |
['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.', |
|||
'[[Módulo:Encontre fontes#Documentação automática]] para uma visão geral.', |
|||
-- The separator used to separate links to the main config and the |
-- The separator used to separate links to the main config and the |
||
Line 17: | Line 17: | ||
-- Error for invalid template names. $1 is the name we were passed, and $2 is |
-- Error for invalid template names. $1 is the name we were passed, and $2 is |
||
-- the name of the template module that is missing. |
-- the name of the template module that is missing. |
||
['invalid-template-name-error'] = " |
['invalid-template-name-error'] = "invalid template name '$1'; no template config found at [[$2]]", |
||
------------------------------------------------------------------------------- |
------------------------------------------------------------------------------- |
||
Line 24: | Line 24: | ||
-- Code column header. |
-- Code column header. |
||
['link-table-code-header'] = ' |
['link-table-code-header'] = 'Code', |
||
-- Description column header. |
-- Description column header. |
||
['link-table-description-header'] = ' |
['link-table-description-header'] = 'Description', |
||
-- Example column header. |
-- Example column header. |
||
['link-table-example-header'] = ' |
['link-table-example-header'] = 'Example', |
||
-- Configuration column header. |
-- Configuration column header. |
||
['link-table-config-header'] = ' |
['link-table-config-header'] = 'Configuration', |
||
-- Display value for the wikilink to the main configuration page. |
-- Display value for the wikilink to the main configuration page. |
||
['link-table-main-config-link-display'] = ' |
['link-table-main-config-link-display'] = 'main', |
||
-- Display value for the wikilink to the documentation configuration page. |
-- Display value for the wikilink to the documentation configuration page. |
||
['link-table-autodoc-config-link-display'] = ' |
['link-table-autodoc-config-link-display'] = 'documentation', |
||
-- Notes column header. |
-- Notes column header. |
||
['link-table-notes-header'] = ' |
['link-table-notes-header'] = 'Notes', |
||
-- Error for invalid link config pages. The string $1 is the page name. |
-- Error for invalid link config pages. The string $1 is the page name. |
||
['invalid-link-config-error'] = ' |
['invalid-link-config-error'] = 'Invalid link configuration detected on page [[$1]].', |
||
------------------------------------------------------------------------------- |
------------------------------------------------------------------------------- |
||
Line 52: | Line 52: | ||
-- Template column header. |
-- Template column header. |
||
['template-table-template-header'] = ' |
['template-table-template-header'] = 'Template', |
||
-- Description column header. |
-- Description column header. |
||
['template-table-description-header'] = ' |
['template-table-description-header'] = 'Description', |
||
-- Example column header. |
-- Example column header. |
||
['template-table-example-header'] = ' |
['template-table-example-header'] = 'Example', |
||
-- Configuration column header. |
-- Configuration column header. |
||
['template-table-config-header'] = ' |
['template-table-config-header'] = 'Configuration', |
||
-- Display value for the wikilink to the main configuration page. |
-- Display value for the wikilink to the main configuration page. |
||
['template-table-main-config-link-display'] = ' |
['template-table-main-config-link-display'] = 'main', |
||
-- Display value for the wikilink to the documentation configuration page. |
-- Display value for the wikilink to the documentation configuration page. |
||
['template-table-autodoc-config-link-display'] = ' |
['template-table-autodoc-config-link-display'] = 'documentation', |
||
-- Error for invalid template config pages. The string $1 is the page name. |
-- Error for invalid template config pages. The string $1 is the page name. |
||
['invalid-template-config-error'] = ' |
['invalid-template-config-error'] = 'Invalid template configuration detected on page [[$1]].' |
||
} |
} |
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]].'
}