Predefinição:Exemplo teste/Exemplos para testes
Esta é a página de exemplos para testes de predefinições para a página de testes de Predefinição:Exemplo teste. para atualizar os exemplos. Se houver muitos exemplos de uma predefinição complicada, os últimos poderão deixar de funcionar devido aos limites do MediaWiki, veja o comentário HTML "NewPP limit report" na página renderizada. Também pode utilizar Especial:Expandir predefinições para examinar o resultado dos usos da predefinição. Pode testar como esta página aparece em diferentes skins com estes links: |
Default format with default headings[editar código-fonte]
{{Exemplo teste |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/Tests |text=Lorem ipsum dolor sit amet}}
- Predefinição principal {{Exemplo teste}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}
Lorem ipsum dolor sit amet |
{{ombox}}
Lorem ipsum dolor sit amet |
{{ombox/Testes}}
Lorem ipsum dolor sit amet |
- Predefinição testes {{Exemplo teste/Testes}}
{{Exemplo teste}}
{{Exemplo teste}}
Erro: expandTemplate: template loop detected
Erro: expandTemplate: template loop detected
Erro: expandTemplate: template loop detected
Default format with custom headings[editar código-fonte]
Note: In default format, the following parameter values are not displayed: _caption, _rowheader, _heading0, _before, _after
{{Exemplo teste |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/Testes |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}}
- Predefinição principal {{Exemplo teste}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
_heading1
_before
Lorem ipsum dolor sit amet |
_after
_heading2
_before
Lorem ipsum dolor sit amet |
_after
_heading3
_before
Lorem ipsum dolor sit amet |
_after
- Predefinição testes {{Exemplo teste/Testes}}
{{Exemplo teste}}
{{Exemplo teste}}
Erro: expandTemplate: template loop detected
Erro: expandTemplate: template loop detected
Erro: expandTemplate: template loop detected
Rows format with default headings[editar código-fonte]
{{Exemplo teste |_format=rows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/Testes |text=Lorem ipsum dolor sit amet}}
- Predefinição principal {{Exemplo teste}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}} | ||
| ||
{{ombox}} | ||
| ||
{{ombox/Testes}} | ||
|
- Predefinição testes {{Exemplo teste/Testes}}
{{Exemplo teste}}
{{Exemplo teste}}
Erro: expandTemplate: template loop detected
Erro: expandTemplate: template loop detected
Erro: expandTemplate: template loop detected
Rows format with custom headings[editar código-fonte]
Note: In rows format, the following parameter values are not displayed: _rowheader, _heading0, _before, _after
{{Exemplo teste |_format=rows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/Testes |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}}
- Predefinição principal {{Exemplo teste}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
_heading1 | ||
_before
| ||
_heading2 | ||
_before
| ||
_heading3 | ||
_before
|
- Predefinição testes {{Exemplo teste/Testes}}
{{Exemplo teste}}
{{Exemplo teste}}
Erro: expandTemplate: template loop detected
Erro: expandTemplate: template loop detected
Erro: expandTemplate: template loop detected
Columns format with default headings[editar código-fonte]
{{Exemplo teste |_format=columns |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/Testes |text=Lorem ipsum dolor sit amet}}
- Predefinição principal {{Exemplo teste}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}} | {{ombox}} | {{ombox/Testes}} | ||||||
---|---|---|---|---|---|---|---|---|
|
|
|
- Predefinição testes {{Exemplo teste/Teste}}
{{Exemplo teste}}
{{Exemplo teste}}
Erro: expandTemplate: template loop detected
Erro: expandTemplate: template loop detected
Erro: expandTemplate: template loop detected
Columns format with custom headings[editar código-fonte]
{{Exemplo teste |_format=columns |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/Testes |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=<div style="border: 1px solid grey">''_before'' |_after=''_after''</div> |text=Lorem ipsum dolor sit amet}}
- Predefinição principal {{Exemplo teste}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
_heading0 | _heading1 | _heading2 | _heading3 | ||||||
---|---|---|---|---|---|---|---|---|---|
_rowheader |
_before
|
_before
|
_before
|
- Predefinição testes {{Exemplo teste/Testes}}
{{Exemplo teste}}
{{Exemplo teste}}
Erro: expandTemplate: template loop detected
Erro: expandTemplate: template loop detected
Erro: expandTemplate: template loop detected
Inline format[editar código-fonte]
The inline format does not currently display headings (default or custom). The names of template1/2/3 are shown in the code (when showcode=yes), unlike the default, rows, or column formats where only the name of template1 is shown in the code.
{{Exemplo teste |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/Testes |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}}
- Predefinição principal {{Exemplo teste}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
→ _before
_afterLorem ipsum dolor sit amet {{ombox|text=Lorem ipsum dolor sit amet}}
→ _before
_afterLorem ipsum dolor sit amet {{ombox/Testes|text=Lorem ipsum dolor sit amet}}
→ _before
_afterLorem ipsum dolor sit amet
- Predefinição testes {{Exemplo teste/Testes}}
{{Exemplo teste}}
{{Exemplo teste}}
Erro: expandTemplate: template loop detected
Erro: expandTemplate: template loop detected
Erro: expandTemplate: template loop detected