Difference between revisions of "Template:Choice"

From Twilight Heroes Wiki
Jump to: navigation, search
(link image to choice page)
m (choice5/result5)
 
Line 8: Line 8:
 
{{#if:{{{choice3|}}}|*'''{{{choice3}}}''': {{{result3}}}}}
 
{{#if:{{{choice3|}}}|*'''{{{choice3}}}''': {{{result3}}}}}
 
{{#if:{{{choice4|}}}|*'''{{{choice4}}}''': {{{result4}}}}}
 
{{#if:{{{choice4|}}}|*'''{{{choice4}}}''': {{{result4}}}}}
 +
{{#if:{{{choice5|}}}|*'''{{{choice5}}}''': {{{result5}}}}}
 
{{#if:{{{notes|}}}|<br>'''Notes:''' {{{notes}}}}}
 
{{#if:{{{notes|}}}|<br>'''Notes:''' {{{notes}}}}}
 
|}</includeonly>
 
|}</includeonly>
Line 24: Line 25:
 
|choice4=
 
|choice4=
 
|result4=
 
|result4=
 +
|choice5=
 +
|result5=
 
|notes=}}</pre>
 
|notes=}}</pre>
  
Line 39: Line 42:
 
|choice3=Just keep walking
 
|choice3=Just keep walking
 
|result3=permanently gain 1 HP
 
|result3=permanently gain 1 HP
|exp=0
 
 
|choice4=Add another choice option
 
|choice4=Add another choice option
 
|result4=Because something requires it}}</pre>
 
|result4=Because something requires it}}</pre>

Latest revision as of 22:59, 15 February 2018


Template

{{choice
|name=
|image=
|choice1=
|result1=
|choice2=
|result2=
|choice3=
|result3=
|choice4=
|result4=
|choice5=
|result5=
|notes=}}

Usage

Adding...

{{choice
|name=Crime Never Sleeps ... or Does It?
|image=Crime-never-sleeps.jpg
|choice1=Spend some time picking up litter
|result1=+12 chips
|choice2=Catch up with a friend
|result2=+5 exp
|choice3=Just keep walking
|result3=permanently gain 1 HP
|choice4=Add another choice option
|result4=Because something requires it}}

Results in...

Crime Never Sleeps ... or Does It?
Crime-never-sleeps.jpg
  • Spend some time picking up litter: +12 chips
  • Catch up with a friend: +5 exp
  • Just keep walking: permanently gain 1 HP
  • Add another choice option: because something requires it