Template:Shownotes: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (how about this refn template?)
m (added description and copy/preview)
Line 1: Line 1:
* [{{#if:{{{weblink|}}}|{{{weblink}}}|url_from_show_notes}} {{#if:{{{article_title|}}}|{{{article_title}}}|_article_title_}}]{{#if:{{{refname|}}}|{{refn|name={{{refname}}}}} |{{#tag:ref|[{{#if:{{{weblink|}}}|{{{weblink}}}|url_from_show_notes}} {{#if:{{{publication|}}}|{{#switch: {{{publication}}}
<includeonly>* [{{#if:{{{weblink|}}}|{{{weblink}}}|url_from_show_notes}} {{#if:{{{article_title|}}}|{{{article_title}}}|_article_title_}}]{{#if:{{{refname|}}}|{{refn|name={{{refname}}}}}&nbsp;|{{#tag:ref|[{{#if:{{{weblink|}}}|{{{weblink}}}|url_from_show_notes}} {{#if:{{{publication|}}}|{{#switch: {{{publication}}}
  | nn = Neurologica:
  | nn = Neurologica:
  | nnn = Neuroscience News:
  | nnn = Neuroscience News:
Line 13: Line 13:
  | bbc = BBC:
  | bbc = BBC:
  | nasa = NASA:
  | nasa = NASA:
| convo = The Conversation:
  |#default = {{{publication}}}:
  |#default = {{{publication}}}:
}}|_publication_:}} {{#if:{{{article_title|}}}|{{{article_title}}}|_article_title_}}]}}}}{{#if:{{{note|}}}|{{#if:{{{note=not}}}|&nbsp;<small>''(Note: this article is not from the SGU show notes page)''</small>|&nbsp;<small>''(Note: {{{note}}})''</small>}}}}
}}|_publication_:}} {{#if:{{{article_title|}}}|{{{article_title}}}|_article_title_}}]}}}}{{#if:{{{note|}}}|{{#if:{{{note=not}}}|&nbsp;<small>''(Note: this article is not from the SGU show notes page)''</small>|&nbsp;<small>''(Note: {{{note}}})''</small>}}}}</includeonly><noinclude>
 
=== Description ===
This template creates bulleted links and reference entries for any articles from episode show note pages or any that the transcriber might find appropriate, such as for Quickie segments, which typically don't have any web references given in the shownotes. To add a small note for a link and reference not given in an episode's shownotes, just enter one with the <code>note=</code> parameter.
 
=== Copy===
Copy this to use in your page.
<pre>{{shownotes
|weblink = <!-- must begin with http:// -->
|article_title = <!-- please replace ALL CAPS with Title Case or Sentence case -->
|publication = <!-- below are some quick texts for commonly cited publications:
| 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:
-->
|note = <!-- optional; enter "not" for "(Note: this article is not from the SGU show notes page)" -->
}}</pre>
[[Category:Templates]]
[[Category:Quick text templates]]
</noinclude>

Revision as of 00:48, 2 July 2023


Description

This template creates bulleted links and reference entries for any articles from episode show note pages or any that the transcriber might find appropriate, such as for Quickie segments, which typically don't have any web references given in the shownotes. To add a small note for a link and reference not given in an episode's shownotes, just enter one with the note= parameter.

Copy

Copy this to use in your page.

{{shownotes
|weblink			= 	<!-- must begin with http:// -->
|article_title			= 	<!-- please replace ALL CAPS with Title Case or Sentence case -->
|publication			= 	<!-- below are some quick texts for commonly cited publications:
 | 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: 
-->
|note				=	<!-- optional; enter "not" for "(Note: this article is not from the SGU show notes page)" -->
}}