User:Flashjay/templates/GCDissueTOCtest01: Difference between revisions

From GCD
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
   <li style="margin: 0; padding-left: 10px; background-color: {{#ifeq: {{#expr:{{{tocnumber|3}}}mod2 }} | 0 | yellow | {{#var:testcolour}} }};">{{{tocnumber|3}}}. Foreword to the second edition</li>
   <li style="margin: 0; padding-left: 10px; background-color: {{#ifeq: {{#expr:{{{tocnumber|3}}}mod2 }} | 0 | yellow | {{#var:testcolour}} }};">{{{tocnumber|3}}}. Foreword to the second edition</li>
</ol>
</ol>
</div>{{#vardefine:whatever|yep whatever}}
</div>
'''Active test finish'''<!--
'''Active test finish'''<!--
--></includeonly><!--
--></includeonly><!--
Line 22: Line 22:
|testcolour=red
|testcolour=red
}}</nowiki>
}}</nowiki>
{{#vardefine:whatever|yep whatever}}
{{User:Flashjay/templates/GCDissueTOCtest03|{{#var:whatever}} }}


{{#vardefine:toctitle.1|First title}}
{{#vardefine:toctitle.1|First title}}

Revision as of 13:43, 26 December 2019


{{User:Flashjay/templates/GCDissueTOCtest01 |testcolour=red }}


User:Flashjay/templates/GCDissueTOCtest03



Active test start

Table of Contents
  1. 1. About the author
  2. 2. Foreword to the first edition
    Feature is
  3. 3. Foreword to the second edition

Active test finish


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


  1. About the author
  2. Foreword to the first edition
    Feature is
  3. Foreword to the second edition


Table of Contents
  1. About the author
  2. Foreword to the first edition
    Feature is
  3. Foreword to the second edition



  1. 1. About the author
  2. 2. Foreword to the first edition
    Feature is
  3. 3. Foreword to the second edition


  1. About the author
  2. Foreword to the first edition
  3. Foreword to the second edition


{{User:Flashjay/templates/GCDissueTOCtest01 |testcolour=red }}


Active test start

Table of Contents
  1. 1. About the author
  2. 2. Foreword to the first edition
    Feature is
  3. 3. Foreword to the second edition

Active test finish


Table of Contents
Script: John Smith


Table of Contents
0. Title
Feature Name
Script: John Smith
Script: John Smith
Script: John Smith
Script: John Smith
Script: John Smith



Table of Contents
0. Title
Feature Name
Script: John Smith
Script: John Smith
Script: John Smith
Script: John Smith
Script: John Smith