Predefinição:Cabeçalho: diferenças entre revisões

Conteúdo apagado Conteúdo adicionado
Giro720 (discussão | contribs)
 
Giro720 (discussão | contribs)
Sem resumo de edição
Linha 1:
<div style="padding: 1px;">{{#if:{{{1|{{{esquerda|}}}}}} |
#REDIRECIONAMENTO [[Predefinição:Cabeçalho PA]]
<span style="float: left; display: block;">
{{{1|{{{esquerda}}}}}}
</span>}}{{#if:{{{3|{{{direita|}}}}}}|
<span style="float: right; display: block;">
{{{3|{{{direita}}}}}}
</span>}}{{#if:{{{2|{{{centro|}}}}}} |
<div style="text-align: center;">
{{{2|{{{centro|}}}}}}
</div>}}
<div style="clear: both;"></div>
</div><noinclude>
 
==Uso==
 
Intended to simplify the display of running headers (can also be used for footers) when transcribing scanned text pages. Many texts include running headers (chapter names, etc.) centered at the top of a page, with accompanying page numbers on the left or right side (depending on whether the page number is even or odd). The template accepts three arguments, corresponding to the left, center, and right sides of the running header.
 
The template may be called using implicit parameters, in which case the order is left, center, right. For example:
<nowiki>{{RunningHeader|left|center|right}}</nowiki>
yields
{{cabeçalho|esquerda|centro|direita}}
 
Alternatively, it may be called with explicit parameter names. For example:
<nowiki> {{cabeçalho|esquerda=ESQUERDA|centro=CENTRO|direita=DIREITA}}</nowiki>
resulta em
{{cabeçalho|esquerda=ESQUERDA|centro=CENTRO|direita=DIREITA}}
The use of explicit parameter names is especially useful in cases where one or more parameters are to be omitted.
 
[[Categoria:!Predefinições de formatação]]
 
[[it:Template:Running header]]
[[da:Skabelon:Hoved]]
[[en:Template:Running header]]
[[id:Templat:RunningHeader]]
[[fr:Modèle:Numérotation]]
[[sv:Mall:Huvud]]