Template:SOFinfo: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (addt'l space)
m (all notes follow items, different footnote symbols if more than one footnote)
Line 8: Line 8:
'''Item #1:''' {{{item1}}}{{#if:{{{note1|}}}|* }}{{#if:{{{link1|}}}
'''Item #1:''' {{{item1}}}{{#if:{{{note1|}}}|* }}{{#if:{{{link1|}}}
|{{{link1}}}|{{#if:{{{link1web|}}}
|{{{link1}}}|{{#if:{{{link1web|}}}
|{{#tag:ref|[{{{link1web}}} {{{link1pub}}}: {{{link1title}}}]}}|{{#tag:ref|No reference given}}}}}}{{#if:{{{note1|}}}
|{{#tag:ref|[{{{link1web}}} {{{link1pub}}}: {{{link1title}}}]}}|{{#tag:ref|No reference given}}}}}}<br>'''Item #2:''' {{{item2}}}{{#if:{{{note2|}}}|&dagger;&nbsp;}}{{#if:{{{link2|}}}
|<br><p style="line-height:100%"><small>&#42;{{{note1}}}</small></p>|}}<br>'''Item #2:''' {{{item2}}}{{#if:{{{note2|}}}|&#42;&nbsp;}}{{#if:{{{link2|}}}
|{{{link2}}}|{{#if:{{{link2web|}}}
|{{{link2}}}|{{#if:{{{link2web|}}}
|{{#tag:ref|[{{{link2web}}} {{{link2pub}}}: {{{link2title}}}]}}|{{#tag:ref|No reference given}}}}}}{{#if:{{{note2|}}}
|{{#tag:ref|[{{{link2web}}} {{{link2pub}}}: {{{link2title}}}]}}|{{#tag:ref|No reference given}}}}}}<br>'''Item #3:''' {{{item3}}}{{#if:{{{note3|}}}|&ddagger;&nbsp;}}{{#if:{{{link3|}}}
|<br><p style="line-height:100%"><small>&#42;{{{note2}}}</small></p>|}}<br>'''Item #3:''' {{{item3}}}{{#if:{{{note3|}}}|&#42;&nbsp;}}{{#if:{{{link3|}}}
|{{{link3}}}|{{#if:{{{link3web|}}}
|{{{link3}}}|{{#if:{{{link3web|}}}
|{{#tag:ref|[{{{link3web}}} {{{link3pub}}}: {{{link3title}}}]}}|{{#tag:ref|No reference given}}}}}}{{#if:{{{note3|}}}
|{{#tag:ref|[{{{link3web}}} {{{link3pub}}}: {{{link3title}}}]}}|{{#tag:ref|No reference given}}}}}}{{#if: {{{item4|}}}|<br>'''Item #4:''' {{{item4}}}{{#if:{{{note4|}}}|&#42;&#42;&nbsp;}}{{#if:{{{link4|}}}
|<br><p style="line-height:100%"><small>&#42;{{{note3}}}</small></p>|}}{{#if: {{{item4|}}}|<br>'''Item #4:''' {{{item4}}}{{#if:{{{note4|}}}|&#42;&nbsp;}}{{#if:{{{link4|}}}
|{{{link4}}}|{{#if:{{{link4web|}}}
|{{{link4}}}|{{#if:{{{link4web|}}}
|{{#tag:ref|[{{{link4web}}} {{{link4pub}}}: {{{link4title}}}]}}|{{#tag:ref|No reference given}}}}}}}}{{#if:{{{note4|}}}
|{{#tag:ref|[{{{link4web}}} {{{link4pub}}}: {{{link4title}}}]}}|{{#tag:ref|No reference given}}}}}}}}{{#if:{{{note1|}}}
|<br><p style="line-height:100%"><small>&#42;{{{note4}}}</small></p>|}}{{#if:{{{note|}}}
|<br><p style="line-height:100%"><small>&#42;{{{note1}}}</small></p>|}}{{#if:{{{note2|}}}
|<br><p style="line-height:100%"><small>&dagger;{{{note2}}}</small></p>|}}{{#if:{{{note3|}}}
|<br><p style="line-height:100%"><small>&ddagger;{{{note3}}}</small></p>|}}{{#if:{{{note4|}}}
|<br><p style="line-height:100%"><small>&#42;&#42;{{{note4}}}</small></p>|}}{{#if:{{{note|}}}
|<br><p style="line-height:100%"><small>&#42;{{{note}}}</small></p>|}}
|<br><p style="line-height:100%"><small>&#42;{{{note}}}</small></p>|}}
|}
|}

Revision as of 09:45, 16 April 2023


Description

This template is used in the Episode skeleton to more easily facilitate entering the text and weblinks for Science or Fiction items and articles given in the relevant Episode's shownotes.

Examples

With three items and a theme topic (currently Episode 883 is the only one with a "hidden theme"), the text and linked references will render thus:

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]


With no theme and with all items having no web reference in the show notes (common with "Myths about __" or "Facts about __" that often come with Live Shows), the text will render thus, with "No reference given" seen in the References section:

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


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_
|link1web	= url_from_SoF_show_notes	<!-- delete or leave blank if none -->
|link1pub	= _publication_			<!-- delete or leave blank if none -->
|link1title	= _article_title_		<!-- delete or leave blank if none -->

|item2		= _item_text_from_show_notes_
|link2web	= url_from_SoF_show_notes	<!-- delete or leave blank if none -->
|link2pub	= _publication_			<!-- delete or leave blank if none -->
|link2title	= _article_title_		<!-- delete or leave blank if none -->

|item3		= _item_text_from_show_notes_
|link3web	= url_from_SoF_show_notes	<!-- delete or leave blank if none -->
|link3pub	= _publication_			<!-- delete or leave blank if none -->
|link3title	= _article_title_		<!-- delete or leave blank if none -->

|item4		= _item_text_from_show_notes_	<!-- delete or leave blank if no 4th item -->
|link4web	= url_from_SoF_show_notes	<!-- delete or leave blank if none -->
|link4pub	= _publication_			<!-- delete or leave blank if none -->
|link4title	= _article_title_		<!-- delete or leave blank if none -->
|}}

References

  1. Publication: Article for Item 1
  2. Publication: Article for Item 2
  3. Publication: Article for Item 3
  4. No reference given
  5. No reference given
  6. No reference given
  7. No reference given