Template:SOFResults: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (?!?!?)
m (small update)
(34 intermediate revisions by the same user not shown)
Line 20: Line 20:
!style="width:60px;"|Host  
!style="width:60px;"|Host  
!Result
!Result
{{#if: {{{sweep|}}}
|- {{#if: {{{clever|}}} |<span style="background:#ccccff">}}{{#if: {{{win|}}} |<span style="background:#ffffcc">}}{{#if: {{{swept|}}} |<span style="background:#ffcccc">}}{{#if: {{{sweep|}}} |<span style="background:#ccffcc">}}  
|<tr><td><div style="background-color:#ccffcc><div style = "text-align:center">'''{{ucfirst:{{{host}}}}}'''</div><td><div style="text-align:left">'''sweep'''</div></td></tr>}}{{#if: {{{clever|}}}  
|style="text-align:center"|'''{{ucfirst:{{{host}}}}}'''
|<tr><td><div style="background-color:#ccccff ><div style = "text-align:center">'''{{ucfirst:{{{host}}}}}'''</div><td><div style="text-align:left">'''clever'''</div></td></tr>}}{{#if: {{{win|}}}  
|style="text-align:left"|{{#if: {{{sweep|y}}} | '''sweep'''}}{{#if: {{{clever|y}}} | '''clever'''}}{{#if: {{{win|y}}} | '''win'''}}{{#if: {{{swept|y}}} | '''swept'''}}
|<div style="background-color:#ffffcc ><tr><td><div style = "text-align:center">'''{{ucfirst:{{{host}}}}}'''</div><td><div style="text-align:left">'''win'''</div></td></tr></div>}}{{#if: {{{swept|}}}  
|<tr><td><div style="background-color:#ffcccc ><div style = "text-align:center">'''{{ucfirst:{{{host}}}}}'''</div><td><div style="text-align:left">'''swept'''</div></td></tr>}}
|}
<!--
this portion hasn't been working right for row background colors UGH
{{#if: {{{sweep|}}}  
|<tr><div style = background-color:#ccffcc"><td><div align=center >'''{{ucfirst:{{{host}}}}}</div></td><td><div align=left >'''sweep'''</div></td></div></tr>}}{{#if: {{{clever|}}}
|<tr><div style = background-color:#ccccff" <td><div align=center >'''{{ucfirst:{{{host}}}}}</div></td><td><div align=left >'''clever'''</div></td></div></tr>}}{{#if: {{{win|}}}
|<tr><div style = background-color:#ffffcc" <td><div align=center >'''{{ucfirst:{{{host}}}}}</div></td><td><div align=left >'''win'''</div></td></div></tr>}}{{#if: {{{swept|}}}
|<tr><div style = background-color:#ffcccc" <td><div align=center >'''{{ucfirst:{{{host}}}}}</div></td><td><div align=left >'''swept'''</div></td></div></tr>}}
|}
-->
<!--
 
pausing this part below to try out better display above
 
|- {{#if: {{{sweep|}}} | style="background-color:#ccffcc" | style="display: none;"}}  
|style="text-align:center" | {{#if: {{{sweep|y}}} | '''{{ucfirst:{{{host}}}}}'''}}
|style="text-align:left" | {{#if: {{{sweep|y}}} | '''sweep'''}}
 
|- {{#if: {{{clever|}}} | style="background-color:#ccccff" | style="display: none;"}}
|style="text-align:center" | {{#if: {{{clever|y}}} | '''{{ucfirst:{{{host}}}}}'''}}
|style="text-align:left" | {{#if: {{{clever|y}}} | '''clever'''}}
 
|- {{#if: {{{win|}}} | style="background-color:#ffffcc" | style="display: none;"}}
|style="text-align:center" | {{#if: {{{win|y}}} | '''{{ucfirst:{{{host}}}}}'''}}
|style="text-align:left" | {{#if: {{{win|y}}} | '''win'''}}
 
|- {{#if: {{{swept|}}} | style="background-color:#ffcccc" | style="display: none;"}}
|style="text-align:center" | {{#if: {{{swept|y}}} | '''{{ucfirst:{{{host}}}}}'''}}
|style="text-align:left" | {{#if: {{{swept|y}}} | '''swept'''}}  
|}
|}


-->
{| class="mw-collapsible mw-collapsed wikitable"| style="float:right; clear:right; width:275px; overflow:auto; align:center"
{| class="mw-collapsible mw-collapsed wikitable"| style="float:right; clear:right; width:275px; overflow:auto; align:center"
!style="width:60px;"|Rogue
!style="width:60px;"|Rogue
!Guess
!Guess
 
{{#if: {{{rogue1|}}}  
|- {{#if: {{{rogue1|}}} | {{#switch: {{{answer1}}} | style="text-align:center" |{{{fiction}}}=<span style="background:#ccffcc">|{{{fiction2}}}=<span style="background:#ccffcc">|{{{answer1}}}=<span style="background:#ffcccc">}} | style="display: none;"}}
|{{#switch: {{{answer1}}} |{{{fiction}}}=<tr style="background:#ccffcc">|{{{fiction2}}}=<tr style="background:#ccffcc">|{{{answer1}}}=<tr style="background:#ffcccc">}} <td><div align=center >'''{{ucfirst:{{{rogue1}}}}}'''</div></td><td> {{lc:{{{answer1}}}}} </td></tr>}}{{#if: {{{rogue2|}}}  
|style="text-align:center"|'''{{ucfirst:{{{rogue1}}}}}'''
|{{#switch: {{{answer2}}} |{{{fiction}}}=<tr style="background:#ccffcc">|{{{fiction2}}}=<tr style="background:#ccffcc">|{{{answer2}}}=<tr style="background:#ffcccc">}} <td><div align=center >'''{{ucfirst:{{{rogue2}}}}}'''</div></td><td> {{lc:{{{answer2}}}}} </td></tr>}}{{#if: {{{rogue3|}}}  
|style="text-align:left"|{{lc:{{{answer1}}}}}
|{{#switch: {{{answer3}}} |{{{fiction}}}=<tr style="background:#ccffcc">|{{{fiction2}}}=<tr style="background:#ccffcc">|{{{answer3}}}=<tr style="background:#ffcccc">}} <td><div align=center >'''{{ucfirst:{{{rogue3}}}}}'''</div></td><td> {{lc:{{{answer3}}}}} </td></tr>}}{{#if: {{{rogue4|}}}  
 
|{{#switch: {{{answer4}}} |{{{fiction}}}=<tr style="background:#ccffcc">|{{{fiction2}}}=<tr style="background:#ccffcc">|{{{answer4}}}=<tr style="background:#ffcccc">}} <td><div align=center >'''{{ucfirst:{{{rogue4}}}}}'''</div></td><td> {{lc:{{{answer4}}}}} </td></tr>}}{{#if: {{{rogue5|}}}  
|- {{#if: {{{rogue2|}}} | {{#switch: {{{answer2}}} | style="text-align:center" |{{{fiction}}}=<span style="background:#ccffcc">|{{{fiction2}}}=<span style="background:#ccffcc">|{{{answer2}}}=<span style="background:#ffcccc">}} | style="display: none;"}}
|{{#switch: {{{answer5}}} |{{{fiction}}}=<tr style="background:#ccffcc">|{{{fiction2}}}=<tr style="background:#ccffcc">|{{{answer5}}}=<tr style="background:#ffcccc">}} <td><div align=center >'''{{ucfirst:{{{rogue5}}}}}'''</div></td><td> {{lc:{{{answer5}}}}} </td></tr>}}
|style="text-align:center" |'''{{ucfirst:{{{rogue2}}}}}'''
|style="text-align:left" |{{lc:{{{answer2}}}}}
 
|- {{#if: {{{rogue3|}}} | {{#switch: {{{answer3}}} | style="text-align:center" |{{{fiction}}}=<span style="background:#ccffcc">|{{{fiction2}}}=<span style="background:#ccffcc">|{{{answer3}}}=<span style="background:#ffcccc">}} | style="display: none;"}}
|style="text-align:center" |'''{{ucfirst:{{{rogue3}}}}}'''
|style="text-align:left" |{{lc:{{{answer3}}}}}
 
|- {{#if: {{{rogue4|}}} | {{#switch: {{{answer4}}} | style="text-align:center" |{{{fiction}}}=<span style="background:#ccffcc">|{{{fiction2}}}=<span style="background:#ccffcc">|{{{answer4}}}=<span style="background:#ffcccc">}} | style="display: none;"}}
|style="text-align:center" |'''{{ucfirst:{{{rogue4}}}}}'''
|style="text-align:left" |{{lc:{{{answer4}}}}}
 
|- {{#if: {{{rogue5|}}} | {{#switch: {{{answer5}}} | style="text-align:center" |{{{fiction}}}=<span style="background:#ccffcc">|{{{fiction2}}}=<span style="background:#ccffcc">|{{{answer5}}}=<span style="background:#ffcccc">}} | style="display: none;"}}
|style="text-align:center" |'''{{ucfirst:{{{rogue5}}}}}'''
|style="text-align:left" |{{lc:{{{answer5}}}}}  
|}
|}
<noinclude>
<noinclude>
=== Description ===
=== Description ===
You can include this template in a '''Results''' subsection of the Science or Fiction segment for a fun, colorful breakdown of the results. The table allows for five respondents and even <u>two</u> fiction items, as in [[SGU Episode 764#theme]] and a handful of others.
You can include this template in a '''Results''' subsection of the Science or Fiction segment for a fun, colorful breakdown of the results. The table allows for five respondents and even the rare case of <u>two</u> fiction items, as in [put an example here; _not_ Episode 764...].


=== Examples ===
=== Examples ===


The table will look similar to the actual table at the end of SoF in [[SGU_Episode_762#Science_or_Fiction_.281:16:50.29|Episode 762]]:
The table will look similar to the actual SoF results table in [[SGU_Episode_762#theme|Episode 762]]:


{| class="mw-collapsible mw-collapsed wikitable"| style="width:275px; overflow:auto; align:center"
{| class="mw-collapsible mw-collapsed wikitable"| style="width:275px; overflow:auto; align:center"
Line 181: Line 135:
{{SOFResults
{{SOFResults
|fiction = <!-- short word or phrase representing the item -->
|fiction = <!-- short word or phrase representing the item -->
|fiction2 = <!-- leave blank if absent -->
|fiction2 = <!-- delete or leave blank if absent; rarely does a host amend a "science" item -->


|science1 = <!-- short word or phrase representing the item -->
|science1 = <!-- short word or phrase representing the item -->
|science2 = <!-- leave blank if absent -->
|science2 = <!-- delete or leave blank if absent -->
|science3 = <!-- leave blank if absent -->  
|science3 = <!-- delete or leave blank if absent -->


|rogue1 = <!-- rogues in order of response -->
|rogue1 = <!-- rogues in order of response -->
Line 196: Line 150:
|answer3 =
|answer3 =


|rogue4 = <!-- leave blank if absent -->
|rogue4 = <!-- delete or leave blank if absent -->
|answer4 = <!-- leave blank if absent -->
|answer4 = <!-- delete or leave blank if absent -->


|rogue5 = <!-- leave blank if absent -->
|rogue5 = <!-- delete or leave blank if absent -->
|answer5 = <!-- leave blank if absent -->
|answer5 = <!-- delete or leave blank if absent -->


|host = <!-- asker of the questions -->
|host =steve <!-- asker of the questions; change name if other than steve -->
<!-- for the result options below,  
<!-- for the result options below,  
     only put a 'y' next to one. -->
     only put a 'y' next to one. -->

Revision as of 13:15, 23 August 2022

Answer Item
Fiction {{{fiction}}}
Science {{{science1}}}
Host Result
{{{host}}} 'sweep'clever'win'swept
Rogue Guess

Description

You can include this template in a Results subsection of the Science or Fiction segment for a fun, colorful breakdown of the results. The table allows for five respondents and even the rare case of two fiction items, as in [put an example here; _not_ Episode 764...].

Examples

The table will look similar to the actual SoF results table in Episode 762:

Answer Item
Fiction less sensitive
Science think highly of
Science more prevalent
Science negative smells
Host Result
Jay win
Rogue Guess
Bob less sensitive
Steve less sensitive
Evan less sensitive
Cara think highly of

Suggested colorings:

Host Colorings
sweep #ccffcc all the Rogues guessed wrong
clever #ccccff each item was guessed (Steve's preferred result)
win #ffffcc at least one Rogue guessed wrong, but not them all
swept #ffcccc all the Rogues guessed right
Rogue Colorings
correct #ccffcc guessed right
incorrect #ffcccc fell for the fiction item

Usage

You can copy/paste the following code into your page, removing lines as appropriate.

{{SOFResults
|fiction	=	<!-- short word or phrase representing the item -->
|fiction2	=	<!-- delete or leave blank if absent; rarely does a host amend a "science" item -->

|science1	= 	<!-- short word or phrase representing the item -->
|science2	= 	<!-- delete or leave blank if absent -->
|science3	= 	<!-- delete or leave blank if absent -->

|rogue1		=	<!-- rogues in order of response -->
|answer1	=	<!-- item guessed, using word or phrase from above -->

|rogue2		=
|answer2	=

|rogue3		=
|answer3	=

|rogue4		=	<!-- delete or leave blank if absent -->
|answer4	=	<!-- delete or leave blank if absent -->

|rogue5		=	<!-- delete or leave blank if absent -->
|answer5	=	<!-- delete or leave blank if absent -->

|host		=steve	<!-- asker of the questions; change name if other than steve -->
<!-- for the result options below, 
     only put a 'y' next to one. -->
|sweep		=	<!-- all the Rogues guessed wrong -->
|clever		=	<!-- each item was guessed (Steve's preferred result) -->
|win		=	<!-- at least one Rogue guessed wrong, but not them all -->
|swept		=	<!-- all the Rogues guessed right -->
}}