Predefinição:Chave/doc
Predefinição:Subpágina de documentação
Uso
- Parâmetro 1 determina a orientação da chave: l (left/esquerda - { ), r (right/direita - } ), o (over/acima - ⏞ ) or u (under/abaixo - ⏟⏟ ).
- Parâmetro 2 determina a parte da chave:
- t: top end: Predefinição:Chave
- b: bottom end: Predefinição:Chave
- m: middle (for chaves with odd number of sections): Predefinição:Chave
- mt: middle, top (for chaves with even numbers of segments): Predefinição:Chave
- mb: middle, bottom (for chaves with even numbers of segments): Predefinição:Chave
- s: span (between middle and end): Predefinição:Chave
- ht: half-chave top (for 2-segment chaves) Predefinição:Chave
- hb: half-chave bottom (for 2-segment chaves) Predefinição:Chave
- l: left end: Predefinição:Chave
- r: right end: Predefinição:Chave
- ml: middle, left (for chaves with even numbers of segments): Predefinição:Chave
- mr: middle, right (for chaves with even numbers of segments): Predefinição:Chave
- hl: half-chave left (for 2-segment chaves) Predefinição:Chave
- hr: half-chave right (for 2-segment chaves) Predefinição:Chave
- O parâmetro 3 é uma largura opcional para os ladrilhos do segmento (o padrão é 25) em pixels. Todos os tiles em uma chave devem ser iguais para alinhamento.
- No caso de chave horizontal (abaixo e acima), a esquerda é o "topo" e a direita a "parte inferior"
Exemplo
| Ovo | Predefinição:Chave | {{chave|r|t}} |
| Pão | Predefinição:Chave | {{chave|r|s}} |
| Queijo | Predefinição:Chave | {{chave|r|mt}} |
| Presunto | Predefinição:Chave | {{chave|r|mb}} |
| Manteiga | Predefinição:Chave | {{chave|r|s}} |
| Alface | Predefinição:Chave | {{chave|r|m}} |
| Cebola | Predefinição:Chave | {{chave|r|b}} |
| Hambúrguer | Predefinição:Chave | {{chave|r|ht}} |
| Mostarda | Predefinição:Chave | {{chave|r|hb}} |
Usar nas configuções da tabela: cellspacing=0 cellpadding=0 style="background-color:transparent;line-height:1em;"
Alternativas
Alternativas incluem o uso de imagens (que satisfazem até determinado tamanho; acima de um certo valor, a chave fica muito grossa) Veja as chaves disponiveis em
Outra opção é usar a sintaxe em latex para gerar chaves de tamanho genéricos:
<math>\left. \begin{matrix}\ \\ \\ \end{matrix} \right\}</math>
que resulta em
<math>\left\{ \begin{matrix}\ \\ \\ \end{matrix} \right.</math>
que resulta em
Adicionando quebras de linha, as chaves se estende:
<math>\left. \begin{matrix}\ \\ \\ \\ \end{matrix} \right\}</math>
que resulta em