Predefinição:SeparadorIf

Permanently protected template
Origem: Wikipédia, a enciclopédia livre.
Documentação da predefinição[ver] [editar] [histórico] [purgar]

Coloca separador entre trechos de texto quando ambos existem.

Exemplos:

  • {{SeparadorIf | texto1 | - | texto2}} => texto1 - texto2
  • {{SeparadorIf |Aaaaa|-|Bbbbb}} => Aaaaa-Bbbbb
  • {{SeparadorIf | texto1| # }} => texto1
  • {{SeparadorIf || - | texto2}} => texto2
  • {{SeparadorIf | texto1| , | texto2 }} => texto1, texto2
  • {{SeparadorIf | texto1| ( | texto2 | ) }} => texto1 ( texto2 )
  • {{SeparadorIf |Xxxx| (|Yyyy|)}} ou {{SeparadorIf | 1=Xxxx| 2= (| 3=Yyyy| 4=)}}
=>Xxxx (Yyyy)
  • {{SeparadorIf | 1=Aaaa| 2= (| 3=| 4=))}} => Aaaa