Mudanças entre as edições de "Predefinição:Tag"
Ir para navegação
Ir para pesquisar
NumBlk>Happy-melon (fix) |
NumBlk>Happy-melon (make content a named param) |
||
Linha 1: | Linha 1: | ||
− | <tt>{{#switch:{{{ | + | <tt>{{#switch:{{{2|pair}}} |
|close | |close | ||
|single = <!--nothing--> | |single = <!--nothing--> | ||
Linha 5: | Linha 5: | ||
|pair | |pair | ||
|#default = <nowiki><</nowiki>{{{1|tag}}}{{#if:{{{params|}}}| {{{params}}}}}<nowiki>></nowiki> | |#default = <nowiki><</nowiki>{{{1|tag}}}{{#if:{{{params|}}}| {{{params}}}}}<nowiki>></nowiki> | ||
− | }}{{#switch:{{{ | + | }}{{#switch:{{{2|pair}}} |
|open | |open | ||
|close | |close | ||
|single = <!--nothing--> | |single = <!--nothing--> | ||
|pair | |pair | ||
− | |#default = {{{ | + | |#default = {{{content|}}} |
− | }}{{#switch:{{{ | + | }}{{#switch:{{{2|pair}}} |
|open | |open | ||
|single = <!--nothing--> | |single = <!--nothing--> | ||
Linha 17: | Linha 17: | ||
|pair | |pair | ||
|#default = <nowiki></</nowiki>{{{1|tag}}}<nowiki>></nowiki> | |#default = <nowiki></</nowiki>{{{1|tag}}}<nowiki>></nowiki> | ||
− | }}{{#switch:{{{ | + | }}{{#switch:{{{2|pair}}} |
|single = <nowiki><</nowiki>{{{1|tag}}}{{#if:{{{params|}}}| {{{params}}}}}<nowiki> /></nowiki> | |single = <nowiki><</nowiki>{{{1|tag}}}{{#if:{{{params|}}}| {{{params}}}}}<nowiki> /></nowiki> | ||
}}</tt><noinclude> | }}</tt><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Edição das 15h12min de 31 de janeiro de 2009
{{#switch:pair
|close |single = |open |pair |#default = <tag{{#if:| {{{params}}}}}>
}}{{#switch:pair
|open |close |single = |pair |#default =
}}{{#switch:pair
|open |single = |close |pair |#default = </tag>
}}{{#switch:pair
|single = <tag{{#if:| {{{params}}}}} />
}} Erro de script: Nenhum módulo desse tipo "documentation".