User:Flashjay/templates/GCDissueTOCtest01: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
<li>About the author</li> | <li>About the author</li> | ||
<li style="background-color: #ddd;">Foreword to the first edition</li> | <li style="background-color: #ddd;">Foreword to the first edition</li> | ||
<li style="background-color: {{{testcolour}}};">Foreword to the second edition</li> | <li style="background-color: {{{testcolour|yellow}}};">Foreword to the second edition</li> | ||
</ol> | </ol> | ||
{{User:Flashjay/templates/GCDissueTOCtest01 | {{User:Flashjay/templates/GCDissueTOCtest01 | ||
|testcolour=red | |testcolour=red | ||
}} | }} | ||
<nowiki>{{User:Flashjay/templates/GCDissueTOCtest01 | |||
|testcolour=red | |||
}}</nowiki> |
Revision as of 23:35, 23 December 2019
Divide 0 by 2 = remainder 0 Even false
Divide 2 by 2 = remainder 0 Even false
Divide 3 by 2 = remainder 1 Odd true
{{#ifeq: {{#expr: expression }} | 0 | value if false | value if true }}
Zero is false, any number is true
Even false
- About the author
- Foreword to the first edition
- Foreword to the second edition
Divide 0 by 2 = remainder 0 Even false
Divide 2 by 2 = remainder 0 Even false
Divide 3 by 2 = remainder 1 Odd true
{{#ifeq: {{#expr: expression }} | 0 | value if false | value if true }}
Zero is false, any number is true
Even false
- About the author
- Foreword to the first edition
- Foreword to the second edition
Template loop detected: User:Flashjay/templates/GCDissueTOCtest01
{{User:Flashjay/templates/GCDissueTOCtest01
|testcolour=red
}}
{{User:Flashjay/templates/GCDissueTOCtest01
|testcolour=red
}}