Template:SOFinfo: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (dropping one break)
m (hope I got the braces right...)
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: {{{hiddentheme|}}} | '''[[:Category: SoF with a Theme|''Hidden'' Theme:]] {{ucfirst:{{{hiddentheme}}}}}'''<br>| }}
|{{#if: {{{theme|}}}  
'''Item #1:''' {{{item1}}}{{#if:{{{link1|}}}|{{{link1}}}|}}<br>'''Item #2:''' {{{item2}}}{{#if:{{{link2|}}}|{{{link2}}}|}}<br>'''Item #3:''' {{{item3}}}{{#if:{{{link3|}}}|{{{link3}}}|}}{{#if: {{{item4|}}}|<br>'''Item #4:''' {{{item4}}}{{#if:{{{link4|}}}|{{{link4}}}|}}}}{{#if:{{{note|}}}|<br>{{{note}}}|}}
| '''[[:Category: SoF with a Theme|Theme:]] {{ucfirst:{{{theme}}}}}'''<br>
|}}{{#if: {{{hiddentheme|}}}  
| '''[[:Category: SoF with a Theme|''Hidden'' Theme:]] {{ucfirst:{{{hiddentheme}}}}}'''<br>
|}}
'''Item #1:''' {{{item1}}}{{#if:{{{link1|}}}
|{{{link1}}}|}}{{#if:{{{link1web|}}}
|{{#tag:ref|[{{{link1web}}} {{{link1pub}}}: {{{link1title}}}]}}}}<br>'''Item #2:''' {{{item2}}}{{#if:{{{link2|}}}
|{{{link2}}}|}}{{#if:{{{link2web|}}}
|{{#tag:ref|[{{{link2web}}} {{{link2pub}}}: {{{link2title}}}]}}}}<br>'''Item #3:''' {{{item3}}}{{#if:{{{link3|}}}
|{{{link3}}}|}}{{#if:{{{link3web|}}}
|{{#tag:ref|[{{{link3web}}} {{{link3pub}}}: {{{link3title}}}]}}}}{{#if: {{{item4|}}}|<br>'''Item #4:''' {{{item4}}}{{#if:{{{link4|}}}
|{{{link4}}}|}}{{#if:{{{link4web|}}}
|{{#tag:ref|[{{{link4web}}} {{{link4pub}}}: {{{link4title}}}]}}}}}}{{#if:{{{note|}}}
|<br>{{{note}}}|}}
|}
|}
</blockquote></includeonly>
</blockquote></includeonly>

Revision as of 12:04, 1 February 2023


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> 	<!-- delete or leave blank if none -->

|item2		= _item_text_from_show_notes_
|link2		= <ref>[url_from_SoF_show_notes PUBLICATION: TITLE]</ref> 	<!-- delete or leave blank if none -->

|item3		= _item_text_from_show_notes_
|link3		= <ref>[url_from_SoF_show_notes PUBLICATION: TITLE]</ref> 	<!-- delete or leave blank if none -->

|item4		= _item_text_from_show_notes_					<!-- delete or leave blank if no 4th item -->
|link4		= <ref>[url_from_SoF_show_notes PUBLICATION: TITLE]</ref>	<!-- delete or leave blank if none -->
|}}

With all fields filled out, the text and linked references 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]