Template:TDIS: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
(Categorize)
m (some small updates)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>== This Day in Skepticism ==
<includeonly>== This Day in Skepticism ==
Referenced in [[SGU Episode {{{episodenum}}}]].
Referenced in {{#if: {{{anchor|}}}|[[SGU Episode {{{episodenum}}}#tis|Episode {{{episodenum}}}]]|[[SGU Episode {{{episodenum}}}|Episode {{{episodenum}}}]]}}.
* {{{year1}}} &ndash; {{{event1}}}
* {{{year1}}} &ndash; {{{event1}}}
{{#if: {{{year2|}}} |* {{{year2}}} &ndash; {{{event2}}} }}
{{#if: {{{year2|}}} |* {{{year2}}} &ndash; {{{event2}}} }}
Line 7: Line 7:
{{#if: {{{year5|}}} |* {{{year5}}} &ndash; {{{event5}}} }}
{{#if: {{{year5|}}} |* {{{year5}}} &ndash; {{{event5}}} }}
== Other Events ==
== Other Events ==
{{#if: {{{other|}}} |* {{{other}}} }}
* {{PAGENAME}} at {{w|{{PAGENAME}}|Wikipedia}}
* {{PAGENAME}} at {{w|{{PAGENAME}}|Wikipedia}}
[[Category: Day pages]]</includeonly><noinclude>
[[Category:This Day in Skepticism]]</includeonly><noinclude>
=== Description ===
=== Description ===
Use this template to add a This Day in Skepticism page.
Use this template to add text to a [[:Category:This Day in Skepticism|This Day in Skepticism]] page titled with and dedicated to a specific date.


=== Parameters ===
=== Usage ===
*'''Required'''
Required variables:
**''episodenum'': The number of the episode in which This Day in Skepticism was referenced.
* <code>episodenum</code> &ndash; The number of the episode in which This Day in Skepticism was referenced.
**''year1'': The year that the event being referenced took place.
* <code>year1</code> &ndash; The year that the event being referenced took place.
**''event1'': The event that took place.
* <code>event1</code> &ndash; The event that took place.
*'''Optional'''
 
**''year2''-''year5'': If there were multiple events, add up to four additional years.
Optional variables:
**''event2''-''event5'': Additional events.
* <code>anchor</code> &ndash; This appends the #tis anchor to the episode number: <code>episodenum#tis</code>
* <code>year2</code> - <code>year5</code> &ndash; If there were multiple events, add up to four additional years.
* <code>event2</code> - <code>event5</code> &ndash; Additional events.
 
= Example =
<pre>{{TDIS
|episodenum = 378
|anchor = y
|year1 = 1917
|event1 = The "{{w|Solar Miracle of Fatima|Miracle of the Sun}}" is witnessed by an estimated 70,000 people in the Cova da Iria in Fátima, Portugal.
}}</pre>


=== Usage ===
This template is used in the [[October 13]] page, seen in the above example, and looks almost like this, except with a link to the {{w|October 13}} article on Wikipedia in the "Other Events" section.
<nowiki>{{TDIS
{{TDIS
|episodenum = 378
|episodenum = 378
|anchor = y
|year1 = 1917
|year1 = 1917
|event1 = The "{{w|Solar Miracle of Fatima|Miracle of the Sun}}" is witnessed by an estimated 70,000 people in the Cova da Iria in Fátima, Portugal.
|event1 = The "{{w|Solar Miracle of Fatima|Miracle of the Sun}}" is witnessed by an estimated 70,000 people in the Cova da Iria in Fátima, Portugal.
}}</nowiki>
}}
 
<br><br>
=== Copy ===
<pre>{{TDIS
|episodenum =
|anchor = <!-- optional; add a 'y' to append the #tis anchor -->
|year1 =
|event1 =
|year2 = <!-- optional; add additional years up to year5 -->
|event2 = <!-- optional; add additional events up to event5 -->
}}</pre>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 14:46, 20 August 2022

Description[edit]

Use this template to add text to a This Day in Skepticism page titled with and dedicated to a specific date.

Usage[edit]

Required variables:

  • episodenum – The number of the episode in which This Day in Skepticism was referenced.
  • year1 – The year that the event being referenced took place.
  • event1 – The event that took place.

Optional variables:

  • anchor – This appends the #tis anchor to the episode number: episodenum#tis
  • year2 - year5 – If there were multiple events, add up to four additional years.
  • event2 - event5 – Additional events.

Example[edit]

{{TDIS
|episodenum = 378
|anchor = y
|year1 = 1917
|event1 = The "{{w|Solar Miracle of Fatima|Miracle of the Sun}}" is witnessed by an estimated 70,000 people in the Cova da Iria in Fátima, Portugal.
}}

This template is used in the October 13 page, seen in the above example, and looks almost like this, except with a link to the October 13 article on Wikipedia in the "Other Events" section.

This Day in Skepticism

Referenced in Episode 378.

  • 1917 – The "Miracle of the Sun" is witnessed by an estimated 70,000 people in the Cova da Iria in Fátima, Portugal.



Other Events[edit]



Copy[edit]

{{TDIS
|episodenum = 
|anchor = <!-- optional; add a 'y' to append the #tis anchor -->
|year1 = 
|event1 =
|year2 = <!-- optional; add additional years up to year5 -->
|event2 = <!-- optional; add additional events up to event5 -->
}}