Template:SOFResults: Difference between revisions
Jump to navigation
Jump to search
m (will closing span help?) |
m (let's try this?) |
||
Line 28: | Line 28: | ||
{| 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{{#switch: {{{answer1|}}} | !Guess | ||
|{{{fiction}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue1}}}}}'''</div></td><td><div align=left >{{lc:{{{answer1}}}}}</div></td></tr | <!-- | ||
|{{{fiction2}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue1}}}}}'''</div></td><td><div align=left >{{lc:{{{answer1}}}}}</div></td></tr | |||
|{{{answer1}}}=<span style="background:#ffcccc"><tr><td><div align=center >'''{{ucfirst:{{{rogue1}}}}}'''</div></td><td><div align=left >{{lc:{{{answer1}}}}}</div></td></tr | {{#switch: {{{answer1|}}} | ||
|{{{fiction}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue1}}}}}'''</div></td><td><div align=left >{{lc:{{{answer1}}}}}</div></td></tr> | |||
|{{{fiction2}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue1}}}}}'''</div></td><td><div align=left >{{lc:{{{answer1}}}}}</div></td></tr> | |||
|{{{answer1}}}=<span style="background:#ffcccc"><tr><td><div align=center >'''{{ucfirst:{{{rogue1}}}}}'''</div></td><td><div align=left >{{lc:{{{answer1}}}}}</div></td></tr> | |||
| | | | ||
}}{{#switch: {{{answer2|}}} | }}{{#switch: {{{answer2|}}} | ||
|{{{fiction}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue2}}}}}'''</div></td><td><div align=left >{{lc:{{{answer2}}}}}</div></td></tr | |{{{fiction}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue2}}}}}'''</div></td><td><div align=left >{{lc:{{{answer2}}}}}</div></td></tr> | ||
|{{{fiction2}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue2}}}}}'''</div></td><td><div align=left >{{lc:{{{answer2}}}}}</div></td></tr | |{{{fiction2}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue2}}}}}'''</div></td><td><div align=left >{{lc:{{{answer2}}}}}</div></td></tr> | ||
|{{{answer2}}}=<span style="background:#ffcccc"><tr><td><div align=center >'''{{ucfirst:{{{rogue2}}}}}'''</div></td><td><div align=left >{{lc:{{{answer2}}}}}</div></td></tr | |{{{answer2}}}=<span style="background:#ffcccc"><tr><td><div align=center >'''{{ucfirst:{{{rogue2}}}}}'''</div></td><td><div align=left >{{lc:{{{answer2}}}}}</div></td></tr> | ||
| | | | ||
}}{{#switch: {{{answer3|}}} | }}{{#switch: {{{answer3|}}} | ||
|{{{fiction}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue3}}}}}'''</div></td><td><div align=left >{{lc:{{{answer3}}}}}</div></td></tr | |{{{fiction}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue3}}}}}'''</div></td><td><div align=left >{{lc:{{{answer3}}}}}</div></td></tr> | ||
|{{{fiction2}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue3}}}}}'''</div></td><td><div align=left >{{lc:{{{answer3}}}}}</div></td></tr | |{{{fiction2}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue3}}}}}'''</div></td><td><div align=left >{{lc:{{{answer3}}}}}</div></td></tr> | ||
|{{{answer3}}}=<span style="background:#ffcccc"><tr><td><div align=center >'''{{ucfirst:{{{rogue3}}}}}'''</div></td><td><div align=left >{{lc:{{{answer3}}}}}</div></td></tr | |{{{answer3}}}=<span style="background:#ffcccc"><tr><td><div align=center >'''{{ucfirst:{{{rogue3}}}}}'''</div></td><td><div align=left >{{lc:{{{answer3}}}}}</div></td></tr> | ||
| | | | ||
}}{{#switch: {{{answer4|}}} | }}{{#switch: {{{answer4|}}} | ||
|{{{fiction}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue4}}}}}'''</div></td><td><div align=left >{{lc:{{{answer4}}}}}</div></td></tr | |{{{fiction}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue4}}}}}'''</div></td><td><div align=left >{{lc:{{{answer4}}}}}</div></td></tr> | ||
|{{{fiction2}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue4}}}}}'''</div></td><td><div align=left >{{lc:{{{answer4}}}}}</div></td></tr | |{{{fiction2}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue4}}}}}'''</div></td><td><div align=left >{{lc:{{{answer4}}}}}</div></td></tr> | ||
|{{{answer4}}}=<span style="background:#ffcccc"><tr><td><div align=center >'''{{ucfirst:{{{rogue4}}}}}'''</div></td><td><div align=left >{{lc:{{{answer4}}}}}</div></td></tr | |{{{answer4}}}=<span style="background:#ffcccc"><tr><td><div align=center >'''{{ucfirst:{{{rogue4}}}}}'''</div></td><td><div align=left >{{lc:{{{answer4}}}}}</div></td></tr> | ||
| | | | ||
}}{{#switch: {{{answer5|}}} | }}{{#switch: {{{answer5|}}} | ||
|{{{fiction}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue5}}}}}'''</div></td><td><div align=left >{{lc:{{{answer5}}}}}</div></td></tr | |{{{fiction}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue5}}}}}'''</div></td><td><div align=left >{{lc:{{{answer5}}}}}</div></td></tr> | ||
|{{{fiction2}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue5}}}}}'''</div></td><td><div align=left >{{lc:{{{answer5}}}}}</div></td></tr | |{{{fiction2}}}=<span style="background:#ccffcc"><tr><td><div align=center >'''{{ucfirst:{{{rogue5}}}}}'''</div></td><td><div align=left >{{lc:{{{answer5}}}}}</div></td></tr> | ||
|{{{answer5}}}=<span style="background:#ffcccc"><tr><td><div align=center >'''{{ucfirst:{{{rogue5}}}}}'''</div></td><td><div align=left >{{lc:{{{answer5}}}}}</div></td></tr | |{{{answer5}}}=<span style="background:#ffcccc"><tr><td><div align=center >'''{{ucfirst:{{{rogue5}}}}}'''</div></td><td><div align=left >{{lc:{{{answer5}}}}}</div></td></tr> | ||
| | | | ||
}} | }} | ||
--> | |||
{{#if: {{{rogue1|}}} | {{#switch: {{{answer1}}} |{{{fiction}}}=<span style="background:#ccffcc">|{{{fiction2}}}=<span style="background:#ccffcc">|{{{answer1}}}=<span style="background:#ffcccc">}} | |||
<tr><td><div align=center>'''{{ucfirst:{{{rogue1}}}}}'''</div></td><td><div align=left >{{lc:{{{answer1}}}}}</div></td></tr>}}{{#if: {{{rogue2|}}} | {{#switch: {{{answer2}}} |{{{fiction}}}=<span style="background:#ccffcc">|{{{fiction2}}}=<span style="background:#ccffcc">|{{{answer2}}}=<span style="background:#ffcccc">}} | |||
<tr><td><div align=center>'''{{ucfirst:{{{rogue2}}}}}'''</div></td><td><div align=left >{{lc:{{{answer2}}}}}</div></td></tr>}}{{#if: {{{rogue3|}}} | {{#switch: {{{answer3}}} |{{{fiction}}}=<span style="background:#ccffcc">|{{{fiction2}}}=<span style="background:#ccffcc">|{{{answer3}}}=<span style="background:#ffcccc">}} | |||
<tr><td><div align=center>'''{{ucfirst:{{{rogue3}}}}}'''</div></td><td><div align=left >{{lc:{{{answer3}}}}}</div></td></tr>}}{{#if: {{{rogue4|}}} | {{#switch: {{{answer4}}} |{{{fiction}}}=<span style="background:#ccffcc">|{{{fiction2}}}=<span style="background:#ccffcc">|{{{answer4}}}=<span style="background:#ffcccc">}} | |||
<tr><td><div align=center>'''{{ucfirst:{{{rogue4}}}}}'''</div></td><td><div align=left >{{lc:{{{answer4}}}}}</div></td></tr>}}{{#if: {{{rogue5|}}} | {{#switch: {{{answer5}}} |{{{fiction}}}=<span style="background:#ccffcc">|{{{fiction2}}}=<span style="background:#ccffcc">|{{{answer5}}}=<span style="background:#ffcccc">}} | |||
<tr><td><div align=center>'''{{ucfirst:{{{rogue5}}}}}'''</div></td><td><div align=left >{{lc:{{{answer5}}}}}</div></td></tr>}} | |||
<!-- | <!-- | ||
Revision as of 08:10, 2 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 two fiction items, as in SGU Episode 764#theme and a handful of others.
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 = <!-- leave blank if absent --> |science1 = <!-- short word or phrase representing the item --> |science2 = <!-- leave blank if absent --> |science3 = <!-- leave blank if absent --> |rogue1 = <!-- rogues in order of response --> |answer1 = <!-- item guessed, using word or phrase from above --> |rogue2 = |answer2 = |rogue3 = |answer3 = |rogue4 = <!-- leave blank if absent --> |answer4 = <!-- leave blank if absent --> |rogue5 = <!-- leave blank if absent --> |answer5 = <!-- leave blank if absent --> |host = <!-- asker of the questions --> <!-- 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 --> }}