Template:SOFinfo: Difference between revisions
m (→Usage: added hidden theme help) |
m (added messagebox) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><blockquote> | <includeonly><blockquote> | ||
{| class="wikitable | {| class="wikitable" | ||
|{{#if: {{{theme|}}} | |{{#if: {{{theme|}}} | ||
| '''[[:Category: SoF with a Theme|Theme:]] {{ucfirst:{{{theme}}}}}''' | | '''[[:Category: SoF with a Theme|Theme:]] {{ucfirst:{{{theme}}}}}''' | ||
Line 199: | Line 199: | ||
|} | |} | ||
</blockquote></includeonly> | </blockquote></includeonly> | ||
<noinclude> | <noinclude>{{MessageBox |Maybe someone can help me determine where the random left-side bar is coming from. - [[User:Xanderox|Xanderox]] ([[User talk:Xanderox|talk]]) 02:33, 18 April 2024 (AEST)}}<br> | ||
== 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.<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.'' | 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.'' |
Revision as of 02:33, 18 April 2024
![]() |
Maybe someone can help me determine where the random left-side bar is coming from. - Xanderox (talk) 02:33, 18 April 2024 (AEST) |
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:
Theme: Right for the wrong reason
or
Hidden Theme:
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 --> <!-- 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.
Item #1: _item_text_from_show_notes_* [8][9]
Item #2: _item_text_from_show_notes_† [10]
Item #3: _item_text_from_show_notes_** [11]
Item #4: _item_text_from_show_notes_†† [12]* 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: |note = {{tnote|}}
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_]