<#ftl encoding="utf-8">

<#list exchanges as exchange>

- By ${(exchange.user1.pseudo)!}

  ### ${(exchange.pkm1.name)!}

  ${(exchange.pkm1.lvl)!}

  <#if exchange.dataPkm2?has_content>

  By ${(exchange.user2.pseudo)!}

  ### ${(exchange.dataPkm2.name)!}

  ${(exchange.dataPkm2.lvl)!}

  <#else> <#if exchange.idPkm2?? && exchange.idPkm2.id == 0>
  <#else> <#if exchange.idPkm2?? && exchange.idPkm2.name?has_content> <#if exchange.idPkm2.shiny>

  ### Shiny ${(exchange.idPkm2.name)!}

  <#else>

  ### ${(exchange.idPkm2.name)!}

  <#else>

  ### Any pokemon

  <#if exchange.idPkm2?? && exchange.idPkm2.lvl == 0>

  ### Any level

  <#else>

  ### At least level ${(exchange.idPkm2.lvl)!}