Template:SOFinfo: Difference between revisions
m (adding breaks) |
m (not sure why I need to add this line break...) |
||
(80 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>::{| class="wikitable" | ||
{| class="wikitable | |{{#if: {{{theme|}}} | ||
|{{#if: {{{theme|}}} | '''[[:Category: SoF with a Theme|Theme:]] {{ucfirst:{{{theme}}}}}'''<br>| }}{{#if: {{{hiddentheme|}}} | '''[[:Category: SoF with a Theme|''Hidden'' Theme:]] {{ucfirst:{{{hiddentheme}}}}}'''<br>| }} | | '''[[:Category: SoF with a Theme|Theme:]] {{ucfirst:{{{theme}}}}}'''<br> | ||
'''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|}}}|< | |}} | ||
{{#if: {{{hiddentheme|}}} | |||
| '''[[:Category: SoF with a Theme|''Hidden'' Theme:]] {{ucfirst:{{{hiddentheme}}}}}'''<br> | |||
|}} | |||
'''Item #1:''' {{{item1}}}{{#if:{{{note1|}}}|* }}{{#if:{{{link1|}}} | |||
|{{{link1}}}|{{#if:{{{link1web|}}} | |||
|{{#tag:ref|[{{{link1web}}} {{#switch: {{{link1pub}}} | |||
| nn = Neurologica: | |||
| nnn = Neuroscience News: | |||
| sbm = Science-Based Medicine: | |||
| ars = Ars Technica: | |||
| scd = ScienceDaily: | |||
| sca = ScienceAlert: | |||
| ls = Live Science: | |||
| space = Space.com: | |||
| sa = Scientific American: | |||
| nyt = New York Times: | |||
| ut = Universe Today: | |||
| bbc = BBC: | |||
| nasa = NASA: | |||
| convo = The Conversation: | |||
| n = Nature: | |||
| nc = Nature Communications: | |||
| ng = National Geographic: | |||
| natgeo = National Geographic: | |||
| NatGeo = National Geographic: | |||
|#default = {{{link1pub}}}: | |||
}} {{{link1title}}}]}}|{{#tag:ref|No reference given}}}}{{#if:{{{link1web2|}}}|{{#switch:{{{link1web2}}} | |||
|n={{#tag:ref|No reference given}} | |||
|#default ={{#tag:ref|[{{{link1web2}}} {{#switch: {{{link1pub2}}} | |||
| nn = Neurologica: | |||
| nnn = Neuroscience News: | |||
| sbm = Science-Based Medicine: | |||
| ars = Ars Technica: | |||
| scd = ScienceDaily: | |||
| sca = ScienceAlert: | |||
| ls = Live Science: | |||
| space = Space.com: | |||
| sa = Scientific American: | |||
| nyt = New York Times: | |||
| ut = Universe Today: | |||
| bbc = BBC: | |||
| nasa = NASA: | |||
| convo = The Conversation: | |||
| n = Nature: | |||
| nc = Nature Communications: | |||
| ng = National Geographic: | |||
| natgeo = National Geographic: | |||
| NatGeo = National Geographic: | |||
|#default = {{{link1pub2}}}: | |||
}} {{{link1title2}}}]}}}}}}}}<br>'''Item #2:''' {{{item2}}}{{#if:{{{note2|}}}|<sup>†</sup> }}{{#if:{{{link2|}}} | |||
|{{{link2}}}|{{#if:{{{link2web|}}} | |||
|{{#tag:ref|[{{{link2web}}} {{#switch: {{{link2pub}}} | |||
| nn = Neurologica: | |||
| nnn = Neuroscience News: | |||
| sbm = Science-Based Medicine: | |||
| ars = Ars Technica: | |||
| scd = ScienceDaily: | |||
| sca = ScienceAlert: | |||
| ls = Live Science: | |||
| space = Space.com: | |||
| sa = Scientific American: | |||
| nyt = New York Times: | |||
| ut = Universe Today: | |||
| bbc = BBC: | |||
| nasa = NASA: | |||
| convo = The Conversation: | |||
| n = Nature: | |||
| nc = Nature Communications: | |||
| ng = National Geographic: | |||
| natgeo = National Geographic: | |||
| NatGeo = National Geographic: | |||
|#default = {{{link2pub}}}: | |||
}} {{{link2title}}}]}}|{{#tag:ref|No reference given}}}}{{#if:{{{link2web2|}}}|{{#switch:{{{link2web2}}} | |||
|n={{#tag:ref|No reference given}} | |||
|#default ={{#tag:ref|[{{{link2web2}}} {{#switch: {{{link2pub2}}} | |||
| nn = Neurologica: | |||
| nnn = Neuroscience News: | |||
| sbm = Science-Based Medicine: | |||
| ars = Ars Technica: | |||
| scd = ScienceDaily: | |||
| sca = ScienceAlert: | |||
| ls = Live Science: | |||
| space = Space.com: | |||
| sa = Scientific American: | |||
| nyt = New York Times: | |||
| ut = Universe Today: | |||
| bbc = BBC: | |||
| nasa = NASA: | |||
| convo = The Conversation: | |||
| n = Nature: | |||
| nc = Nature Communications: | |||
| ng = National Geographic: | |||
| natgeo = National Geographic: | |||
| NatGeo = National Geographic: | |||
|#default = {{{link2pub2}}}: | |||
}} {{{link2title2}}}]}}}}}}}}<br>'''Item #3:''' {{{item3}}}{{#if:{{{note3|}}}|** }}{{#if:{{{link3|}}} | |||
|{{{link3}}}|{{#if:{{{link3web|}}} | |||
|{{#tag:ref|[{{{link3web}}} {{#switch: {{{link3pub}}} | |||
| nn = Neurologica: | |||
| nnn = Neuroscience News: | |||
| sbm = Science-Based Medicine: | |||
| ars = Ars Technica: | |||
| scd = ScienceDaily: | |||
| sca = ScienceAlert: | |||
| ls = Live Science: | |||
| space = Space.com: | |||
| sa = Scientific American: | |||
| nyt = New York Times: | |||
| ut = Universe Today: | |||
| bbc = BBC: | |||
| nasa = NASA: | |||
| convo = The Conversation: | |||
| n = Nature: | |||
| nc = Nature Communications: | |||
| ng = National Geographic: | |||
| natgeo = National Geographic: | |||
| NatGeo = National Geographic: | |||
|#default = {{{link3pub}}}: | |||
}} {{{link3title}}}]}}|{{#tag:ref|No reference given}}}}{{#if:{{{link3web2|}}}|{{#switch:{{{link3web2}}} | |||
|n={{#tag:ref|No reference given}} | |||
|#default ={{#tag:ref|[{{{link3web2}}} {{#switch: {{{link3pub2}}} | |||
| nn = Neurologica: | |||
| nnn = Neuroscience News: | |||
| sbm = Science-Based Medicine: | |||
| ars = Ars Technica: | |||
| scd = ScienceDaily: | |||
| sca = ScienceAlert: | |||
| ls = Live Science: | |||
| space = Space.com: | |||
| sa = Scientific American: | |||
| nyt = New York Times: | |||
| ut = Universe Today: | |||
| bbc = BBC: | |||
| nasa = NASA: | |||
| convo = The Conversation: | |||
| n = Nature: | |||
| nc = Nature Communications: | |||
| ng = National Geographic: | |||
| natgeo = National Geographic: | |||
| NatGeo = National Geographic: | |||
|#default = {{{link3pub2}}}: | |||
}} {{{link3title2}}}]}}}}}}}}{{#if: {{{item4|}}}|<br>'''Item #4:''' {{{item4}}}{{#if:{{{note4|}}}|<sup>††</sup> }}{{#if:{{{link4|}}} | |||
|{{{link4}}}|{{#if:{{{link4web|}}} | |||
|{{#tag:ref|[{{{link4web}}} {{#switch: {{{link4pub}}} | |||
| nn = Neurologica: | |||
| nnn = Neuroscience News: | |||
| sbm = Science-Based Medicine: | |||
| ars = Ars Technica: | |||
| scd = ScienceDaily: | |||
| sca = ScienceAlert: | |||
| ls = Live Science: | |||
| space = Space.com: | |||
| sa = Scientific American: | |||
| nyt = New York Times: | |||
| ut = Universe Today: | |||
| bbc = BBC: | |||
| nasa = NASA: | |||
| convo = The Conversation: | |||
| n = Nature: | |||
| nc = Nature Communications: | |||
| ng = National Geographic: | |||
| natgeo = National Geographic: | |||
| NatGeo = National Geographic: | |||
|#default = {{{link4pub}}}: | |||
}} {{{link4title}}}]}}|{{#tag:ref|No reference given}}}}{{#if:{{{link4web2|}}}|{{#switch:{{{link4web2}}} | |||
|n={{#tag:ref|No reference given}} | |||
|#default ={{#tag:ref|[{{{link4web2}}} {{#switch: {{{link4pub2}}} | |||
| nn = Neurologica: | |||
| nnn = Neuroscience News: | |||
| sbm = Science-Based Medicine: | |||
| ars = Ars Technica: | |||
| scd = ScienceDaily: | |||
| sca = ScienceAlert: | |||
| ls = Live Science: | |||
| space = Space.com: | |||
| sa = Scientific American: | |||
| nyt = New York Times: | |||
| ut = Universe Today: | |||
| bbc = BBC: | |||
| nasa = NASA: | |||
| convo = The Conversation: | |||
| n = Nature: | |||
| nc = Nature Communications: | |||
| ng = National Geographic: | |||
| natgeo = National Geographic: | |||
| NatGeo = National Geographic: | |||
|#default = {{{link4pub2}}}: | |||
}} {{{link4title2}}}]}}}}}}}}}}{{#if:{{{note1|}}} | |||
|<p style="line-height:80%"><small>* ''{{{note1}}}''</small></p>|}}{{#if:{{{note2|}}} | |||
|<p style="line-height:80%"><small>† ''{{{note2}}}''</small></p>|}}{{#if:{{{note3|}}} | |||
|<p style="line-height:80%"><small>** ''{{{note3}}}''</small></p>|}}{{#if:{{{note4|}}} | |||
|<p style="line-height:80%"><small>†† ''{{{note4}}}''</small></p>|}}{{#if:{{{note|}}} | |||
|<p style="line-height:80%"><small>* ''{{{note}}}''</small></p>|}} | |||
|} | |} | ||
</includeonly><noinclude> | |||
<noinclude> | |||
=== Description === | === Description === | ||
This template is used in the [[Episode skeleton#theme|Episode skeleton]] to more easily facilitate entering Science or Fiction items' text and | 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.<br>''Special Note: each SOF item can have <u><span style="color:purple">2 references</span></u>. See [[SGU Episode 964#sof|Episode 964's SOF segment]] for an example.'' | ||
=== Examples === | |||
With three items and a theme topic (currently [[SGU Episode 883#theme|Episodes 883]] [[SGU Episode 967#theme|and 967]] are the only ones with a "hidden theme"), the text and linked references will render thus: | |||
{{SOFinfo | |||
|theme = [[SGU Episode 12#theme|Right for the wrong reason]]<br>'''or'''<br> | |||
|hiddentheme = <div align=left ><span class="mw-customtoggle-myDivision"><u>Click/tap to reveal</u></span> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision"><p style="line-height:100%">[[SGU_Episode_883#theme|{{tooltip|'''[link to 883's theme reveal]'''|Steve reveals this _hidden theme_ after the Rogues make their guesses}}]]</p></div> | |||
|item1 = First item's text will be here. | |||
|link1web = https://theness.com/neurologicablog | |||
|link1pub = Publication | |||
|link1title = Article for Item 1 | |||
|item2 = Second item's text will be here. | |||
|link2web = https://theness.com/neurologicablog | |||
|link2pub = Publication | |||
|link2title = Article for Item 2 | |||
|item3 = Third item's text will be here. | |||
|link3web = https://theness.com/neurologicablog | |||
|link3pub = Publication | |||
|link3title = Article for Item 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|References]] section: | |||
{{SOFinfo | |||
|item1 = First item's text will be here. | |||
|item2 = Second item's text will be here. | |||
|item3 = Third item's text will be here. | |||
|item4 = Fourth item's text will be here. | |||
|}} | |||
=== Usage === | === Usage === | ||
Line 16: | Line 242: | ||
|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", e.g. Ep. 883 --> | |hiddentheme = <!-- delete or leave blank if no "hidden theme", e.g. Ep. 883 --> | ||
<!-- if you want to conceal the Hidden Theme, use the markup below; it is used in Episodes 883 and 967, and can accommodate italic markups (''_text_'') and tooltips: {{tooltip|_HIDDEN_THEME_|_FLOATING_COMMENT_}} | |||
<div align=left ><span class="mw-customtoggle-myDivision"><u>Click/tap to reveal</u></span> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision"><p style="line-height:100%">_HIDDEN_THEME_</p></div> | |||
--> | |||
|item1 = _item_text_from_show_notes_ | |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 = THIS_TEMPLATE_ALLOWS_A_SECOND_REFERENCE_FOR_EACH_ITEM <!-- 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_ | ||
| | |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_ | |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_ | |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 --> | |||
|}} | |}} | ||
</pre> | </pre> | ||
=== Adding notes to items === | |||
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. Use <code>note=</code> for a generic comment. | |||
{{SOFinfo | {{SOFinfo | ||
|theme = | |theme = <!-- delete or leave blank if no theme --> | ||
|hiddentheme = | |hiddentheme = <!-- delete or leave blank if no "hidden theme", e.g. Ep. 883 --> | ||
|item1 = | |||
| | |item1 = _item_text_from_show_notes_ | ||
|item2 = | |link1web = url_from_SoF_show_notes <!-- delete or leave blank if none --> | ||
| | |link1pub = _publication_ <!-- delete or leave blank if none --> | ||
|item3 = | |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 --> | ||
|item4 = | |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 --> | |||
|note1 = here's what the footnote looks like for item 1 | |||
|note2 = and for item 2 | |||
|note3 = and for item 3 | |||
|note4 = and for item 4 | |||
|note = and for a generic note|}} | |||
Alternatively, you could add a comment {{tnote|LIKE THIS}}, such as in the [[SGU_Episode_856#theme|SOF Info table for episode 856]], using the [[Template: Tnote|Tnote template]]: <code><nowiki>|note = {{tnote|_NOTE_}}</nowiki></code> | |||
=== Two-references items === | |||
In [[SGU Episode 964#SOF|Episode 964]], the SOF items reference two different articles, so the SOF Info template was updated to allow for these second references. All that is necessary to input a second reference for an SOF item is to duplicate the <code>link#</code> parameters and add <code>2</code> after each one (e.g., <code>link4title2</code>). See the Usage example above, '''which includes fields for a second reference for the first SOF item.''' | |||
=== References === | |||
<references/> | |||
[[Category: Templates]] | [[Category: Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 17:25, 7 August 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 964's SOF segment for an example.
Examples
With three items and a theme topic (currently Episodes 883 and 967 are the only ones with a "hidden theme"), the text and linked references will render thus:
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:
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 --> <!-- if you want to conceal the Hidden Theme, use the markup below; it is used in Episodes 883 and 967, and can accommodate italic markups (''_text_'') and tooltips: {{tooltip|_HIDDEN_THEME_|_FLOATING_COMMENT_}} <div align=left ><span class="mw-customtoggle-myDivision"><u>Click/tap to reveal</u></span> <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision"><p style="line-height:100%">_HIDDEN_THEME_</p></div> --> |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 = THIS_TEMPLATE_ALLOWS_A_SECOND_REFERENCE_FOR_EACH_ITEM <!-- 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 --> |}}
Adding notes to items
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. Use note=
for a generic comment.
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: |note = {{tnote|_NOTE_}}
Two-references items
In Episode 964, the SOF items reference two different articles, so the SOF Info template was updated to allow for these second references. All that is necessary to input a second reference for an SOF item is to duplicate the link#
parameters and add 2
after each one (e.g., link4title2
). See the Usage example above, which includes fields for a second reference for the first SOF item.
References
- ↑ Publication: Article for Item 1
- ↑ Publication: Article for Item 2
- ↑ Publication: Article for Item 3
- ↑ No reference given
- ↑ No reference given
- ↑ No reference given
- ↑ No reference given
- ↑ [url_from_SoF_show_notes _publication_: _article_title_]
- ↑ [url_from_SoF_show_notes _publication_: _article_title_]
- ↑ [url_from_SoF_show_notes _publication_: _article_title_]
- ↑ [url_from_SoF_show_notes _publication_: _article_title_]
- ↑ [url_from_SoF_show_notes _publication_: _article_title_]