| mustache script | html output |
|---|---|
| {{message}} | こんにちわ世界 |
| mustache script | html output |
|---|---|
| {{html output}} | <font color="red">さようなら世界</font> |
| {{{html output}}} | さようなら世界 |
| {{& html output}} | さようなら世界 |
| mustache script | html output |
|---|---|
|
{{#flag1}} Flag1 ON {{/flag1}} |
Flag1 ON |
|
{{#flag2}} Flag2 ON {{/flag2}} {{^flag2}} Flag2 OFF {{/flag2}} |
Flag2 OFF |
| mustache script | html output |
|---|---|
|
<ul> {{#team1}} <li> {{title}} {{name}} </li> {{/team1}} </ul> |
|
|
<ul> {{#team2}} <li> {{title}} {{name}} </li> {{/team2}} {{^team2}} <li>NO MEMBER</li> {{/team2}} </ul> |
|
| mustache script | html output |
|---|---|
|
{{#copyrights}} Copyright © yyyy ACME Co. LTD All rights reserved {{/copyrights}} |
Copyright © 2015 ACME Co. LTD All rights reserved |
|
{{#copyrights}} {{message}}<br> Copyright © yyyy ACME Co. LTD All rights reserved {{/copyrights}} |
こんにちわ世界 Copyright © 2015 ACME Co. LTD All rights reserved |
| mustache script | html output |
|---|---|
| {{! Comment}} |
| mustache script | html output |
|---|---|
| {{ }} | {{ }} |