Module:Category handler/config: Difference between revisions

Content added Content deleted
m (已保护“模块:Category handler/config”:高风险模板([编辑=仅管理员](无限期)[移动=仅管理员](无限期)))
pt>CaiusSPQR
No edit summary
Line 41: Line 41:
-- false Categorisation is suppressed
-- false Categorisation is suppressed
-- nil Categorisation is allowed
-- nil Categorisation is allowed
nocat = 'nocat',
nocat = 'semcat',
categories = 'categories',
categories = 'categoria',
-- The parameter name for the legacy "category2" parameter. This skips the
-- The parameter name for the legacy "category2" parameter. This skips the
Line 48: Line 48:
-- categorisation if present but equal to anything other than
-- categorisation if present but equal to anything other than
-- cfg.category2Yes or cfg.category2Negative.
-- cfg.category2Yes or cfg.category2Negative.
category2 = 'category2',
category2 = 'categoria2',
-- cfg.subpage is the parameter name to specify how to behave on subpages.
-- cfg.subpage is the parameter name to specify how to behave on subpages.
subpage = 'subpage',
subpage = 'subpágina',
-- The parameter for data to return in all namespaces.
-- The parameter for data to return in all namespaces.
all = 'all',
all = 'todos',
-- The parameter name for data to return if no data is specified for the
-- The parameter name for data to return if no data is specified for the
-- namespace that is detected.
-- namespace that is detected.
other = 'other',
other = 'outro',
-- The parameter name used to specify a page other than the current page;
-- The parameter name used to specify a page other than the current page;
-- used for testing and demonstration.
-- used for testing and demonstration.
demopage = 'page',
demopage = 'página',
}
}


Line 107: Line 107:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


cfg.wrappers = 'Template:Category handler'
cfg.wrappers = {'Predefinição:Category handler', 'Predefinição:Cat handler'}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------