Template:SOFResults: Difference between revisions
Jump to navigation
Jump to search
m 🤦♂️ this is hard |
m pipes messed up the if then, if not then? |
||
| Line 22: | Line 22: | ||
{{#if: {{{sweep|}}} | {{#if: {{{sweep|}}} | ||
|style="background-color:#ccffcc" | |style="background-color:#ccffcc" <tr><td><div align=center >'''{{ucfirst:{{{host}}}}}</div></td><td><div align=left >'''sweep'''</div></td></tr>}} | ||
{{#if: {{{clever|}}} | {{#if: {{{clever|}}} | ||
|style="background-color:#ccccff" | |style="background-color:#ccccff" <tr><td><div align=center >'''{{ucfirst:{{{host}}}}}</div></td><td><div align=left >'''clever'''</div></td></tr>}} | ||
{{#if: {{{win|}}} | {{#if: {{{win|}}} | ||
|style="background-color:#ffffcc" | |style="background-color:#ffffcc" <tr><td><div align=center >'''{{ucfirst:{{{host}}}}}</div></td><td><div align=left >'''win'''</div></td></tr>}} | ||
{{#if: {{{swept|}}} | {{#if: {{{swept|}}} | ||
|style="background-color:#ffcccc" | |style="background-color:#ffcccc" <tr><td><div align=center >'''{{ucfirst:{{{host}}}}}</div></td><td><div align=left >'''swept'''</div></td></tr>}} | ||
<!-- | <!-- | ||
Revision as of 18:04, 1 August 2022
| Answer | Item |
|---|---|
| Fiction | {{{fiction}}} |
| Science | {{{science1}}} |
| Host | Result
DescriptionYou 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. ExamplesThe table will look similar to the actual table at the end of SoF in Episode 762:
Suggested colorings:
UsageYou 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 -->
}}
| ||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|