Template:SOFinfo: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (ah! think I got it)
m (ok I think this gets all four items the ability to have a second reference)
Line 75: Line 75:
  | NatGeo = National Geographic:
  | NatGeo = National Geographic:
  |#default = {{{link2pub}}}:
  |#default = {{{link2pub}}}:
}} {{{link2title}}}]}}|{{#tag:ref|No reference given}}}}{{#if:{{{link2web2|}}}
}} {{{link2title}}}]}}|{{#tag:ref|No reference given}}}}{{#if:{{{link2web2|}}}|{{#switch:{{{link2web2}}}
|{{#tag:ref|[{{{link2web2}}} {{#switch: {{{link2pub2}}}
|n={{#tag:ref|No reference given}}
|#default ={{#tag:ref|[{{{link2web2}}} {{#switch: {{{link2pub2}}}
  | nn = Neurologica:
  | nn = Neurologica:
  | nnn = Neuroscience News:
  | nnn = Neuroscience News:
Line 97: Line 98:
  | NatGeo = National Geographic:
  | NatGeo = National Geographic:
  |#default = {{{link2pub2}}}:
  |#default = {{{link2pub2}}}:
}}&nbsp;{{{link2title2}}}]}}}}}}<br>'''Item #3:''' {{{item3}}}{{#if:{{{note3|}}}|&#42;&#42;&nbsp;}}{{#if:{{{link3|}}}
}}&nbsp;{{{link2title2}}}]}}}}}}}}<br>'''Item #3:''' {{{item3}}}{{#if:{{{note3|}}}|&#42;&#42;&nbsp;}}{{#if:{{{link3|}}}
|{{{link3}}}|{{#if:{{{link3web|}}}
|{{{link3}}}|{{#if:{{{link3web|}}}
|{{#tag:ref|[{{{link3web}}} {{#switch: {{{link3pub}}}
|{{#tag:ref|[{{{link3web}}} {{#switch: {{{link3pub}}}
Line 120: Line 121:
  | NatGeo = National Geographic:
  | NatGeo = National Geographic:
  |#default = {{{link3pub}}}:
  |#default = {{{link3pub}}}:
}}&nbsp;{{{link3title}}}]}}|{{#tag:ref|No reference given}}}}{{#if:{{{link3web2|}}}
}}&nbsp;{{{link3title}}}]}}|{{#tag:ref|No reference given}}}}{{#if:{{{link3web2|}}}|{{#switch:{{{link3web2}}}
|{{#tag:ref|[{{{link3web2}}} {{#switch: {{{link3pub2}}}
|n={{#tag:ref|No reference given}}
|#default ={{#tag:ref|[{{{link3web2}}} {{#switch: {{{link3pub2}}}
  | nn = Neurologica:
  | nn = Neurologica:
  | nnn = Neuroscience News:
  | nnn = Neuroscience News:
Line 142: Line 144:
  | NatGeo = National Geographic:
  | NatGeo = National Geographic:
  |#default = {{{link3pub2}}}:
  |#default = {{{link3pub2}}}:
}}&nbsp;{{{link3title2}}}]}}}}}}{{#if: {{{item4|}}}|<br>'''Item #4:''' {{{item4}}}{{#if:{{{note4|}}}|<sup>&dagger;&dagger;</sup>&nbsp;}}{{#if:{{{link4|}}}
}}&nbsp;{{{link3title2}}}]}}}}}}}}{{#if: {{{item4|}}}|<br>'''Item #4:''' {{{item4}}}{{#if:{{{note4|}}}|<sup>&dagger;&dagger;</sup>&nbsp;}}{{#if:{{{link4|}}}
|{{{link4}}}|{{#if:{{{link4web|}}}
|{{{link4}}}|{{#if:{{{link4web|}}}
|{{#tag:ref|[{{{link4web}}} {{#switch: {{{link4pub}}}
|{{#tag:ref|[{{{link4web}}} {{#switch: {{{link4pub}}}
Line 165: Line 167:
  | NatGeo = National Geographic:
  | NatGeo = National Geographic:
  |#default = {{{link4pub}}}:
  |#default = {{{link4pub}}}:
}}&nbsp;{{{link4title}}}]}}|{{#tag:ref|No reference given}}}}}}{{#if:{{{link4web2|}}}
}}&nbsp;{{{link4title}}}]}}|{{#tag:ref|No reference given}}}}{{#if:{{{link4web2|}}}|{{#switch:{{{link4web2}}}
|{{#tag:ref|[{{{link4web2}}} {{#switch: {{{link4pub2}}}
|n={{#tag:ref|No reference given}}
|#default ={{#tag:ref|[{{{link4web2}}} {{#switch: {{{link4pub2}}}
  | nn = Neurologica:
  | nn = Neurologica:
  | nnn = Neuroscience News:
  | nnn = Neuroscience News:
Line 187: Line 190:
  | NatGeo = National Geographic:
  | NatGeo = National Geographic:
  |#default = {{{link4pub2}}}:
  |#default = {{{link4pub2}}}:
}}&nbsp;{{{link4title2}}}]}}}}}}{{#if:{{{note1|}}}
}}&nbsp;{{{link4title2}}}]}}}}}}}}{{#if:{{{note1|}}}
|<p style="line-height:80%"><small>&#42;&nbsp;''{{{note1}}}''</small></p>|}}{{#if:{{{note2|}}}
|<p style="line-height:80%"><small>&#42;&nbsp;''{{{note1}}}''</small></p>|}}{{#if:{{{note2|}}}
|<p style="line-height:80%"><small>&dagger;&nbsp;''{{{note2}}}''</small></p>|}}{{#if:{{{note3|}}}
|<p style="line-height:80%"><small>&dagger;&nbsp;''{{{note2}}}''</small></p>|}}{{#if:{{{note3|}}}
Line 196: Line 199:
</blockquote></includeonly>
</blockquote></includeonly>
<noinclude>
<noinclude>
=== Description ===
== Description ==
This template is used in the [[Episode skeleton#theme|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.
This template is used in the [[Episode skeleton#theme|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.
 
''Special Note: each SOF item can have 2 references. See [[SGU Episode 965#sof|Episode 965's SOF segment]] for an example.''
=== Examples ===
== 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:
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:
{{SOFinfo
{{SOFinfo
Line 231: Line 234:
|item4 = Fourth item's text will be here.
|item4 = Fourth item's text will be here.
|}}
|}}
 
== Usage ==
=== Usage ===
You can copy/paste the following code into your page.
You can copy/paste the following code into your page.


Line 244: Line 246:
|link1pub = _publication_ <!-- delete or leave blank if none -->
|link1pub = _publication_ <!-- delete or leave blank if none -->
|link1title = _article_title_ <!-- delete or leave blank if none -->
|link1title = _article_title_ <!-- delete or leave blank if none -->
|link1web2 = url_from_SoF_show_notes <!-- delete or leave blank if no 2nd reference for this item -->
|link1pub2 = _publication_ <!-- delete or leave blank if no 2nd reference for this item -->
|link1title2 = _article_title_ <!-- delete or leave blank if no 2nd reference for this item -->


|item2 = _item_text_from_show_notes_
|item2 = _item_text_from_show_notes_
Line 262: Line 267:
</pre>
</pre>


==== Item notes ====
=== Item notes ===
Additionally, if necessary, you can add <code>note1=</code>, <code>note2=</code>, <code>note3=</code>, and/or <code>note4=</code> into the table parameters to append any information to any of the items, such as to clarify an error in the item text or to provide additional links. See [[SGU Episode 934#sof|Episode 934]], [[SGU Episode 926#sof|Episode 926]], and [[SGU Episode 665#sof|Episode 665]] for examples.
Additionally, if necessary, you can add <code>note1=</code>, <code>note2=</code>, <code>note3=</code>, and/or <code>note4=</code> into the table parameters to append any information to any of the items, such as to clarify an error in the item text or to provide additional links. See [[SGU Episode 934#sof|Episode 934]], [[SGU Episode 926#sof|Episode 926]], and [[SGU Episode 665#sof|Episode 665]] for examples.


Line 273: Line 278:
|link1pub = _publication_ <!-- delete or leave blank if none -->
|link1pub = _publication_ <!-- delete or leave blank if none -->
|link1title = _article_title_ <!-- delete or leave blank if none -->
|link1title = _article_title_ <!-- delete or leave blank if none -->
|link1web2 = '''this template allows for a second reference for each SOF item'''
|link1pub2 = _publication_ <!-- delete or leave blank if no 2nd reference for this item -->
|link1title2 = _article_title_ <!-- delete or leave blank if no 2nd reference for this item -->


|item2 = _item_text_from_show_notes_
|item2 = _item_text_from_show_notes_

Revision as of 07:51, 2 February 2024


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. Special Note: each SOF item can have 2 references. See Episode 965's SOF segment for an example.

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]{{#if: |
Item #4: {{{item4}}}[4]


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.[5]
Item #2: Second item's text will be here.[6]
Item #3: Third item's text will be here.[7]{{#if: Fourth item's text will be here.|
Item #4: Fourth item's text will be here.[8]

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 -->
|link1web2	= url_from_SoF_show_notes	<!-- delete or leave blank if no 2nd reference for this item -->
|link1pub2	= _publication_			<!-- delete or leave blank if no 2nd reference for this item -->
|link1title2	= _article_title_		<!-- delete or leave blank if no 2nd reference for this item -->

|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 -->
|}}

Item notes

Additionally, if necessary, you can add note1=, note2=, note3=, and/or note4= into the table parameters to append any information to any of the items, such as to clarify an error in the item text or to provide additional links. See Episode 934, Episode 926, and Episode 665 for examples.

Item #1: _item_text_from_show_notes_* [9][10]
Item #2: _item_text_from_show_notes_ [11]
Item #3: _item_text_from_show_notes_** [12]{{#if: _item_text_from_show_notes_|
Item #4: _item_text_from_show_notes_†† [13]

here's what the footnote looks like for item 1

† and for item 2

** and for item 3

†† and for item 4

and for a generic note

Alternatively, you could add a comment (Transcriptionist's note: like this), such as in the SOF Info table for episode 856, using the {{tnote|}} template.

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
  8. No reference given
  9. [url_from_SoF_show_notes _publication_: _article_title_]
  10. [this template allows for a second reference for each SOF item _publication_: _article_title_]
  11. [url_from_SoF_show_notes _publication_: _article_title_]
  12. [url_from_SoF_show_notes _publication_: _article_title_]
  13. [url_from_SoF_show_notes _publication_: _article_title_]