Module:Find sources/autodoc/config: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Mr. Stradivarius
(add two error messages)
meta>Mr. Stradivarius
(use $1 instead of %s)
Line 40: Line 40:
['link-table-notes-header'] = 'Notes',
['link-table-notes-header'] = 'Notes',


-- Error for invalid link config pages. The string %s is the page name.
-- Error for invalid link config pages. The string $1 is the page name.
['invalid-link-config-error'] = 'Invalid link configuration detected on page [[%s]].',
['invalid-link-config-error'] = 'Invalid link configuration detected on page [[$1]].',


-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Line 65: Line 65:
['template-table-autodoc-config-link-display'] = 'documentation',
['template-table-autodoc-config-link-display'] = 'documentation',


-- Error for invalid template config pages. The string %s is the page name.
-- Error for invalid template config pages. The string $1 is the page name.
['invalid-template-config-error'] = 'Invalid template configuration detected on page [[%s]].'
['invalid-template-config-error'] = 'Invalid template configuration detected on page [[$1]].'


}
}

Revision as of 15:10, 29 September 2014

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(),

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

}