Модул:Пронађи изворе/autodoc/config
Изглед
{{#switch:
{{#if:
|
| {{#ifeq:Модул|Модул
| module
| other
}}
}}
| module =
{{#switch:
| pre-alpha | prealpha | pa =}} | {{#switch:
| pre-alpha | prealpha | pa = Овај модул је оцењен као pre-alpha. Незавршен је и постоји могућност да је у активном развоју. Не би требало да га се користи на страницама именског простора чланак. Модули остају pre-alpha све док оригинални уредник (или неко ко преузме уређивање ако је оно запостављено одређено време) не буде задовољан основном структуром.{{#switch: config|doc|sandbox= | {{#ifeq: | true | | }} }} | alpha | a = Овај модул је оцењен као alpha. Спреман је за унос од стране трећег лица и може да буде коришћен на неколико страница да би се увиделе евентуалне грешке и проблеми; за то време треба да се надзире. Предлози за нове функције или промене у механизму уноса и исписа су добродошли.{{#switch: config|doc|sandbox= | {{#ifeq: | true | | }} }} | beta | b = Овај модул је оцењен као beta и спреман је за широку употребу. Још увек је нов и треба да га се користи са дозом опреза да би се осигурали очекивани резултати.{{#switch: config|doc|sandbox= | {{#ifeq: | true | | }} }} | release | r | general | g = Овај модул је оцењен као спреман за генералну употребу. Досегао је зрео облик и сматра се да нема никаквих багова те да га се може употребити где год је то потребно. Спреман је за помињање на помоћним страницама и другим Википедијиним изворима као опција за нове кориснике који почињу да уче. Да би се смањило оптерећење сервера и лош излаз података, треба да се побољшава тестирањима у песку, а не константним пуњењем историје покушавајући постићи жељене промене.{{#switch: config|doc|sandbox= | {{#ifeq: | true | | }} }} | protected | protect | p = Овај модул је предмет заштите страница. То је веома коришћен модул у употреби огромног броја страница или се супституише веома често. Због вандализма или грешака које би утицале на много страница или тривијалног уређивања које би могло да изазове проблеме на серверима, модул је заштићен од уређивања.{{#switch: config|doc|sandbox= | {{#ifeq: | true | | }} }} | #default = Ознака модула је неважећа или није наведена.}} |
| other | #default = Овај шаблон треба да буде коришћен на страницама именског простора „Модул”. }}
Usage
{{#invoke:Пронађи изворе/autodoc|function_name}}
{{#ifeq:config|sandbox | |
}}
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:Пронађи изворе documentation]] with data provided by ' ..
'[[Модул:Пронађи изворе/autodoc]]. See ' ..
'[[Модул:Пронађи изворе#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]].'
}