De Família Corsi
Ir para navegação Ir para pesquisar

Para entender a criação desta página visite Especial:Páginas_pedidas


-------------------------------------------------------------------------------
--                    Module:Template test case/config
-- This module holds configuration data for [[Module:Template test case]].
-------------------------------------------------------------------------------

return {

-------------------------------------------------------------------------------
-- Options
-------------------------------------------------------------------------------

-- The magic word used in place of the template name when making nowiki
-- invocations.
templateNameMagicWord = '__TEMPLATENAME__',

-- The subpage that sandboxes are typically stored on. Used when loading
-- wrapper template config and when guessing the sandbox template name.
sandboxSubpage = 'Testes',

-------------------------------------------------------------------------------
-- Messages
-------------------------------------------------------------------------------

msg = {

-- The default header for test cases rendered in columns.
['columns-header'] = 'Comparação lado a lado',

-- The error message to use if a templaten option is missing.
-- $1 - the number of the missing template option.
['missing-template-option-error'] = "uma ou mais opções que terminam em '$1' " ..
    "foram detetadas, mas a opção 'template$1' não foi encontrada",

-- The error message to use if a nowiki invocation is used but the template
-- name magic word is not found.
-- $1 - the value of the template name magic word
['nowiki-magic-word-error'] = "a invocação da predefinição deve incluir '$1' no " .. "lugar do nome da predefinição",

},

-------------------------------------------------------------------------------
-- Wrapper template config.
-- The wrapper template config is a table with wrapper template names as keys,
-- and subtables containing two fields:
--   func - the function name to be used with that template. This must be a
--       function exported by the main module. This is optional: the default
--       value is "table".
--   args - a table of default arguments to be used with that template. This is
--       is optional.
-------------------------------------------------------------------------------

wrappers = {
    ['Predefinição:Exemplo teste'] = {},
    ['Predefinição:Exemplo teste tabela'] = {
        args = {_format = 'columns'}
    },
    ['Predefinição:Exemplo teste linhas'] = {
        args = {_format = 'rows'}
    },
    ['Predefinição:Exemplo teste nowiki'] = {
        func = 'nowiki'
    },
    ['Predefinição:Demo predefinição nowiki'] = {
        func = 'nowiki',
        args = {showheader = false, showtemplate2 = false}
    },
    ['Predefinição:Exemplo teste desmontável'] = {
        args = {_collapsible = true}
    },
    ['Predefinição:Exemplo teste em linha'] = {
        args = {_format = 'inline', _showcode = true}
    },
},

-------------------------------------------------------------------------------
-- End config
-------------------------------------------------------------------------------

}
Cookies nos ajudam a entregar nossos serviços. Ao usar nossos serviços, você concorda com o uso de cookies.