Template:SOFinfo: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (added line for "hidden theme" like the one Steve revealed after the Rogues' guesses in ep 883)
m (adding example in markup, trying dropping a return)
Line 1: Line 1:
<includeonly><blockquote>
<includeonly><blockquote>
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|{{#if: {{{theme|}}} | '''[[:Category: SoF with a Theme|Theme:]] {{ucfirst:{{{theme}}}}}'''<br>| }}
|{{#if: {{{theme|}}} | '''[[:Category: SoF with a Theme|Theme:]] {{ucfirst:{{{theme}}}}}'''<br>| }}{{#if: {{{hiddentheme|}}} | '''[[:Category: SoF with a Theme|Hidden Theme:]] {{ucfirst:{{{hiddentheme}}}}}'''<br>| }}
{{#if: {{{hiddentheme|}}} | '''[[:Category: SoF with a Theme|Hidden Theme:]] {{ucfirst:{{{hiddentheme}}}}}'''<br>| }}
{{#if: {{{item4|}}} |'''Item #1:''' {{{item1}}}{{{link1}}}<br>'''Item #2:''' {{{item2}}}{{{link2}}}<br>'''Item #3:''' {{{item3}}}{{{link3}}}<br>'''Item #4:''' {{{item4}}}{{{link4}}}| '''Item #1:''' {{{item1}}}{{{link1}}}<br>'''Item #2:''' {{{item2}}}{{{link2}}}<br>'''Item #3:''' {{{item3}}}{{{link3}}}}}
{{#if: {{{item4|}}} |'''Item #1:''' {{{item1}}}{{{link1}}}<br>'''Item #2:''' {{{item2}}}{{{link2}}}<br>'''Item #3:''' {{{item3}}}{{{link3}}}<br>'''Item #4:''' {{{item4}}}{{{link4}}}| '''Item #1:''' {{{item1}}}{{{link1}}}<br>'''Item #2:''' {{{item2}}}{{{link2}}}<br>'''Item #3:''' {{{item3}}}{{{link3}}}}}
|}
|}
Line 16: Line 15:
{{SOFinfo
{{SOFinfo
|theme = <!-- delete or leave blank if no theme -->
|theme = <!-- delete or leave blank if no theme -->
|hiddentheme = <!-- delete or leave blank if no "hidden theme" -->
|hiddentheme = <!-- delete or leave blank if no "hidden theme", e.g. Ep. 883 -->
|item1 = <!-- item text from show notes -->
|item1 = <!-- item text from show notes -->
|link1 = <ref>[url_from_SoF_show_notes PUBLICATION: TITLE]</ref>
|link1 = <ref>[url_from_SoF_show_notes PUBLICATION: TITLE]</ref>
Line 31: Line 30:
{{SOFinfo
{{SOFinfo
|theme = Templates
|theme = Templates
|hiddentheme = [[SGU_Episode_883#theme|Counterintuitive Results (883)]]
|item1 = First item's text will be here.
|item1 = First item's text will be here.
|link1 = <ref>[https://theness.com/neurologicablog Neurologica: Article for Item 1]</ref>
|link1 = <ref>[https://theness.com/neurologicablog Neurologica: Article for Item 1]</ref>

Revision as of 05:52, 15 June 2022


Description

This template is used in the Episode skeleton to more easily facilitate entering Science or Fiction items' text and article links.

Usage

You can copy/paste the following code into your page.

{{SOFinfo
|theme		= 		<!-- delete or leave blank if no theme -->
|hiddentheme	= 		<!-- delete or leave blank if no "hidden theme", e.g. Ep. 883 -->
|item1		= 		<!-- item text from show notes -->
|link1		= <ref>[url_from_SoF_show_notes PUBLICATION: TITLE]</ref>
|item2		= 		<!-- item text from show notes -->
|link2		= <ref>[url_from_SoF_show_notes PUBLICATION: TITLE]</ref>
|item3		= 		<!-- item text from show notes -->
|link3		= <ref>[url_from_SoF_show_notes PUBLICATION: TITLE]</ref>
|item4		= 		<!-- delete or leave blank if no 4th item -->
|link4		= 		<!-- delete or leave blank if no 4th item -->
|}}

With all fields filled out, the text will render thus:

Theme: Templates
Hidden Theme: Counterintuitive Results (883)

Item #1: First item's text will be here.[1]
Item #2: Second item's text will be here.[2]
Item #3: Third item's text will be here.[3]
Item #4: Fourth item's text will be here.[4]