Predefinição:Codifiednavbar/doc
|
|
Esta é uma subpágina de documentação para a Predefinição:Codifiednavbar. Ela contém informações sobre o seu uso, categorias, bem como todo o conteúdo que não faz parte da predefinição original. |
Função
Propósito
Codifiednavbar (dados Codificados em uma predefinição navegação bar) é uma predefinição para permitir o acesso ao local compartilhado de padronização, possivelmente enciclopédico, o conteúdo utilizado por vários artigos e outras páginas na Wikimotorpedia. A predefinição irá exibir texto com links para visualizar, editar e discutir a codificação de dados.
Comportamentos
No wrap
The text displayed by the template will no text wrap on white space.
This template is mostly backwards compatible with {{Tnavbar}}.
Deficiencies
Default options
The default setting with no options parameters set is not really useful.
For example:
{{Codifiednavbar|Specialist lea type descr}}
Produces:
Parameter checking
The template does not check for mandatory parameters.
Usage
The following skeleton can be copied and edited into an article. For a description of each parameter, see Template parameters, below.
Skeleton
{{Codifiednavbar|codifieddatatemplatename
| nohead=
| notail=
| text=
| nodiv=
}}
Examples
| Situation | Wiki text | Results in |
|---|---|---|
| Normal | ||
| Default | Some text before. {{Codifiednavbar|Specialist lea type descr}} Some text afterwards. | Some text before. Some text afterwards. |
| No head | Some text before. {{Codifiednavbar|Specialist lea type descr|nohead=1}} Some text afterwards. | Some text before. Some text which afterwards. |
| No tail | Some text before. {{Codifiednavbar|Specialist lea type descr|notail=1}} Some text afterwards. | Some text before. Some text afterwards. |
| Different colour | Some text before. {{Codifiednavbar|Specialist lea type descr|fontcolor=olive}} Some text afterwards. | Some text before. Some text afterwards. |
| Inline, and no head | Some text before. {{Codifiednavbar|Specialist lea type descr|nohead=1|nodiv=1}} Some text afterwards. | Some text before. Some text afterwards. |
| Inline, no head, and set text | Some text before. {{Codifiednavbar|Specialist lea type descr|nohead=1|nodiv=1|text=text naming codified data}} Some text afterwards. | Some text before. Some text afterwards. |
| Inline, no tail, and set text | Some text before. {{Codifiednavbar|Specialist lea type descr|notail=1|nodiv=1|text=text naming codified data}} Some text afterwards. | Some text before. Some text afterwards. |
| No head, and no tail | Some text before. {{Codifiednavbar|Specialist lea type descr|plain=1}} Some text afterwards. | Some text before. Some text afterwards. |
| Inline, no tail, and set text | Some text before. {{Codifiednavbar|Specialist lea type descr|plain=1|nodiv=1|text=text naming codified data}} Some text afterwards. | Some text before. Some text afterwards. |
| Mini | ||
| Mini version | Some text before. {{Codifiednavbar|Specialist lea type descr|mini=1}} Some text afterwards. | Some text before. Some text afterwards. |
| Mini version inline | Some text before. {{Codifiednavbar|Specialist lea type descr|mini=1|nodiv=1}} Some text afterwards. | Some text before. Some text afterwards. |
| View only | ||
| No head, no tail, view only | Some text before. {{Codifiednavbar|Specialist lea type descr|viewplain=1}} Some text afterwards. | Some text before. Some text afterwards. |
| Inline, no head, no tail, view only | Some text before. {{Codifiednavbar|Specialist lea type descr|viewplain=1|nodiv=1}} Some text afterwards. | Some text before. Some text afterwards. |
| Mini, view only | Some text before. {{Codifiednavbar|Specialist lea type descr|miniv=1}} Some text afterwards. | Some text before. Some text afterwards. |
Parâmetros da predefinição
| Parâmetro | Requirido | Descrição |
|---|---|---|
| 1 | yes | Nome da predefinição contendo a codificação de dados. |
| nohead | no | Define se texto cabeçalho não será exibido. |
| notail | no | Set if tail text not to be displayed. |
| text | no | Text to be displayed as head text, tail text, and tool tip text. Defaults to 'this codified information. Head text is automatically given a leading capital. Tail text is automatically suffixed with a stop. |
| nodiv | no | If set does not divide the displayed text into a separate paragraph. |
| plain | no | If set is equivalent to setting both nohead and notail. |
| viewonly | no | Set to not display talk and edit links. Only view link is displayed. |
| mini | no | Set to reduce words for links view, talk, edit to the letters v, d, e. Also has the effect of setting plain or setting both nohead and notail. |
| minv | no | If set is equivalent to setting both mini and viewonly. |
| viewplain | no | If set is equivalent to setting both viewonly and plain. |
| fontcolor | no | Sets the font color of the displayed text to the value provided. |
Ver também
- {{Tnavbar}}