website for lusty lavender: http://eln.ja13.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

badges.html 482B

12345678
  1. m4_define([[ll_badges]], [[<div class="badges">
  2. ll_each_badge($@)
  3. </div>]])m4_dnl
  4. m4_define([[ll_each_badge]], [[m4_ifelse([[$#$1]], [[1]], [[]], [[$#]], [[0]], [[]], [[ll_badge($1)
  5. $0(m4_shift($@))]])]])m4_dnl
  6. m4_define([[ll_badge]], [[m4_ifelse([[$4]], [[]], [[<div]], [[<a href="$4"]]) class="badge" m4_ifelse([[$3]], [[]], [[]], [[style="$3"]])>
  7. <img src="m4_ifelse([[$2]], [[]], [[img/placeholder.png]], [[$2]])"/><p>$1</p>
  8. </m4_ifelse([[$4]], [[]], [[div]], [[a]])>]])m4_dnl