Difference between revisions of "Template:Choice"

From Twilight Heroes Wiki
Jump to: navigation, search
m (choice5/result5)
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
!align="left" colspan="2" |[[{{{name}}}]]
 
!align="left" colspan="2" |[[{{{name}}}]]
 
|-
 
|-
|<table cellpadding="3"><td style="background-color: black;">[[image:{{{image}}}]]</td></table>
+
|<table cellpadding="3"><td style="background-color: black;">[[image:{{{image}}}|200px|link={{{name}}}]]</td></table>
 
|
 
|
 
*'''{{{choice1}}}''': {{{result1}}}
 
*'''{{{choice1}}}''': {{{result1}}}
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}}}}}
 
|}</includeonly>
 
|}</includeonly>
  
Line 22: Line 24:
 
|result3=
 
|result3=
 
|choice4=
 
|choice4=
|result4=}}</pre>
+
|result4=
 +
|choice5=
 +
|result5=
 +
|notes=}}</pre>
  
 
==Usage==
 
==Usage==
Line 30: Line 35:
 
{{choice
 
{{choice
 
|name=Crime Never Sleeps ... or Does It?
 
|name=Crime Never Sleeps ... or Does It?
|image=noimage.gif
+
|image=Crime-never-sleeps.jpg
 
|choice1=Spend some time picking up litter
 
|choice1=Spend some time picking up litter
 
|result1=+12 chips
 
|result1=+12 chips
Line 37: 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>
Line 45: Line 49:
 
!align="left" colspan="2" |[[Crime Never Sleeps ... or Does It?]]
 
!align="left" colspan="2" |[[Crime Never Sleeps ... or Does It?]]
 
|-
 
|-
|||<table cellpadding="3"><td style="background-color: black;">[[image:noimage.gif]]</td></table>
+
|||<table cellpadding="3"><td style="background-color: black;">[[image:Crime-never-sleeps.jpg|200px|link=Crime Never Sleeps ... or Does It?]]</td></table>
 
|
 
|
 
*'''Spend some time picking up litter''': +12 chips
 
*'''Spend some time picking up litter''': +12 chips

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