Template:Shownotes: Difference between revisions
Jump to navigation
Jump to search
m (ok how about a switch here to check for a 2nd reference) |
Tag: Undo |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>* [{{#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}}} | ||
|}}{{#if: {{{ | |||
| | |||
|}} | |||
|{{{ | |||
| | |||
| nn = Neurologica: | | nn = Neurologica: | ||
| nnn = Neuroscience News: | | nnn = Neuroscience News: | ||
Line 15: | Line 6: | ||
| scd = ScienceDaily: | | scd = ScienceDaily: | ||
| sca = ScienceAlert: | | sca = ScienceAlert: | ||
| sci = Science: | |||
| ls = Live Science: | | ls = Live Science: | ||
| space = Space.com: | | space = Space.com: | ||
Line 28: | Line 20: | ||
| natgeo = National Geographic: | | natgeo = National Geographic: | ||
| NatGeo = National Geographic: | | NatGeo = National Geographic: | ||
| | | r = Reuters: | ||
| ap = Associated Press: | |||
| pnas= Proceedings of the National Academy of Sciences: | |||
| PNAS= Proceedings of the National Academy of Sciences: | |||
|#default = {{{publication}}}: | |||
| | }}|_publication_:}} {{#if:{{{article_title|}}}|{{{article_title}}}|_article_title_}}]}}}}{{#if:{{{note|}}}|<br>{{#switch:{{{note}}} | ||
| | |||
| | |||
|#default = {{{ | |||
}} | |||
{{#if:{{{note|}}}|<br>{{#switch:{{{note}}} | |||
|not = <small>''(Note: this article is not from the SGU show notes page)''</small> | |not = <small>''(Note: this article is not from the SGU show notes page)''</small> | ||
|no = <small>''(Note: no article was given from the SGU show notes page)''</small> | |no = <small>''(Note: no article was given from the SGU show notes page)''</small> | ||
|#default = <small>''(Note: {{{note}}})''</small>}}}} | |#default = <small>''(Note: {{{note}}})''</small>}}}}{{#if:{{{redirect_title|}}}|<br>[[{{{redirect_title}}}|{{tooltip|(click to create redirect page)|then hide this parameter (move title inside the markup text)}}]]|}}</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 = <!-- see Shownotes template quick text shortcuts for commonly cited publications --> | |||
|redirect_title = <!-- optional...use _Redirect_title_(NNN) to prompt a redirect page to be created; delete this parameter when redirect is created --> | |||
|note = <!-- optional; enter "not" for "(Note: this article is not from the SGU show notes page)" --> | |||
}}</pre> | |||
=== Quick text shortcuts for commonly cited publications === | |||
<pre> | |||
| nn = Neurologica: | | nn = Neurologica: | ||
| nnn = Neuroscience News: | | nnn = Neuroscience News: | ||
Line 114: | Line 50: | ||
| scd = ScienceDaily: | | scd = ScienceDaily: | ||
| sca = ScienceAlert: | | sca = ScienceAlert: | ||
| sci = Science: | |||
| ls = Live Science: | | ls = Live Science: | ||
| space = Space.com: | | space = Space.com: | ||
Line 126: | Line 63: | ||
| ng = National Geographic: | | ng = National Geographic: | ||
| natgeo = National Geographic: | | natgeo = National Geographic: | ||
| | | r = Reuters: | ||
| ap = Associated Press: | |||
| pnas = Proceedings of the National Academy of Sciences: | |||
| | |||
| | |||
</pre> | </pre> | ||
[[Category:Templates]] | |||
[[Category:Quick text templates]] | |||
[[Category: | |||
</noinclude> | </noinclude> |
Revision as of 07:36, 2 February 2024
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 = <!-- see Shownotes template quick text shortcuts for commonly cited publications --> |redirect_title = <!-- optional...use _Redirect_title_(NNN) to prompt a redirect page to be created; delete this parameter when redirect is created --> |note = <!-- optional; enter "not" for "(Note: this article is not from the SGU show notes page)" --> }}
Quick text shortcuts for commonly cited publications
| nn = Neurologica: | nnn = Neuroscience News: | sbm = Science-Based Medicine: | ars = Ars Technica: | scd = ScienceDaily: | sca = ScienceAlert: | sci = Science: | 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: | r = Reuters: | ap = Associated Press: | pnas = Proceedings of the National Academy of Sciences: