Difference between revisions of "Template:Choice"
From Twilight Heroes Wiki
(New page: <includeonly>{| !align="left" colspan="2" |[[{{{name}}}]] |- |<table cellpadding="3"><td style="background-color: black;">[[image:{{{image}}}]]</td></table> | *'''{{{choice1}}}''': {{{resu...) |
Hoyifung04 (talk | contribs) m (choice5/result5) |
||
(10 intermediate revisions by 4 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}}} | ||
*'''{{{choice2}}}''': {{{result2}}} | *'''{{{choice2}}}''': {{{result2}}} | ||
− | *'''{{{choice3}}}''': {{{result3}}} | + | {{#if:{{{choice3|}}}|*'''{{{choice3}}}''': {{{result3}}}}} |
+ | {{#if:{{{choice4|}}}|*'''{{{choice4}}}''': {{{result4}}}}} | ||
+ | {{#if:{{{choice5|}}}|*'''{{{choice5}}}''': {{{result5}}}}} | ||
+ | {{#if:{{{notes|}}}|<br>'''Notes:''' {{{notes}}}}} | ||
|}</includeonly> | |}</includeonly> | ||
<noinclude> | <noinclude> | ||
− | =Template= | + | ==Template== |
− | + | <pre>{{choice | |
− | |name= | + | |name= |
− | |image= | + | |image= |
− | |choice1= | + | |choice1= |
− | |result1= | + | |result1= |
− | |choice2= | + | |choice2= |
− | |result2= | + | |result2= |
− | |choice3= | + | |choice3= |
− | |result3=}}</ | + | |result3= |
− | =Usage= | + | |choice4= |
+ | |result4= | ||
+ | |choice5= | ||
+ | |result5= | ||
+ | |notes=}}</pre> | ||
+ | |||
+ | ==Usage== | ||
'''Adding...''' | '''Adding...''' | ||
− | < | + | <pre> |
− | {{ | + | {{choice |
− | |name=Crime Never Sleeps ... or Does It? | + | |name=Crime Never Sleeps ... or Does It? |
− | |image= | + | |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 |
− | |choice2=Catch up with a friend | + | |choice2=Catch up with a friend |
− | |result2=+5 exp | + | |result2=+5 exp |
− | |choice3=Just keep walking | + | |choice3=Just keep walking |
− | |result3=permanently gain 1 HP | + | |result3=permanently gain 1 HP |
− | | | + | |choice4=Add another choice option |
+ | |result4=Because something requires it}}</pre> | ||
'''Results in...''' | '''Results in...''' | ||
Line 39: | 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: | + | |||<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 | ||
*'''Catch up with a friend''': +5 exp | *'''Catch up with a friend''': +5 exp | ||
*'''Just keep walking''': permanently gain 1 HP | *'''Just keep walking''': permanently gain 1 HP | ||
+ | *'''Add another choice option''': because something requires it | ||
|} | |} | ||
[[Category:Standardization Templates|{{PAGENAME}}]] </noinclude> | [[Category:Standardization Templates|{{PAGENAME}}]] </noinclude> |
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? | |||
---|---|---|---|
|