Mudanças entre as edições de "Predefinição:Tag"
Ir para navegação
Ir para pesquisar
NumBlk>Edokter (Established convention uses "..." to seperate begin- and end tags with no content.) |
NumBlk>Anomie (Not that I see the point of substing this, but let's make it not dump parser functions all over the place when it is.) |
||
Linha 1: | Linha 1: | ||
− | <code style="white-space:nowrap;">{{#switch:{{{2|pair}}} | + | <code style="white-space:nowrap;">{{{{{|safesubst:}}}#switch:{{{2|pair}}} |
|c|close = <!--nothing--> | |c|close = <!--nothing--> | ||
|s|single | |s|single | ||
|o|open | |o|open | ||
− | |p|pair = <{{{1|tag}}}{{#if:{{{params|}}}| {{{params}}}}} | + | |p|pair = <{{{1|tag}}}{{{{{|safesubst:}}}#if:{{{params|}}}| {{{params}}}}} |
− | }}{{#switch:{{{2|pair}}} | + | }}{{{{{|safesubst:}}}#switch:{{{2|pair}}} |
|c|close = {{{content|}}} | |c|close = {{{content|}}} | ||
|s|single =  /> | |s|single =  /> | ||
|o|open = >{{{content|}}} | |o|open = >{{{content|}}} | ||
|p|pair = >{{{content|...}}} | |p|pair = >{{{content|...}}} | ||
− | }}{{#switch:{{{2|pair}}} | + | }}{{{{{|safesubst:}}}#switch:{{{2|pair}}} |
|s|single | |s|single | ||
|o|open = <!--nothing--> | |o|open = <!--nothing--> |
Edição das 23h54min de 20 de novembro de 2011
{{safesubst:#switch:pair
|c|close =
|s|single
|o|open
|p|pair = <tag{{safesubst:#if:| {{{params}}}}}
}}{{safesubst:#switch:pair
|c|close =
|s|single = />
|o|open = >
|p|pair = >...
}}{{safesubst:#switch:pair
|s|single
|o|open =
|c|close
|p|pair = </tag>
}}
Erro de script: Nenhum módulo desse tipo "documentation".