Module:Miramoji/doc

M o  d  u  l  e  :  M  i  r  a  m  o  j  i

The module is for Template:Miramoji. It displays the emoji with the name corresponding to the name given from the parameter (what the user entered).

This template uses if-elseif-else instead of a switch or switch case function because lua doesn't have a switch function like java: int abc = 3; switch (abc) { case 1: System.out.println("One"); break; case 2: System.out.println("Two"); break; case 3: System.out.println("Three"); break; }, C:   int main { int num = 3; switch (num) { case 1: printf("One"); break; case 2: printf("Two"); break; case 3: printf("Three"); break; default: printf("Not one, two, or three"); break; }       return 0; }, Python: print(figureoutnumber(3)) def figureoutnumber(c): return { 1: 'One', 2: 'Two', 3: 'Three', }[c] , or Wikitext
 * 1) include 