Template:TDIS: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (added link to clear up exactly what this template is for!)
m (some small updates)
 
(6 intermediate revisions by the same user 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 [https://www.sgutranscripts.org/wiki/Category:Day_pages 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.


=== Usage ===
=== Usage ===
Line 19: Line 18:
* <code>event1</code> &ndash; The event that took place.
* <code>event1</code> &ndash; The event that took place.


 
Optional variables:
Optional variables
* <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>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.
* <code>event2</code> - <code>event5</code> &ndash; Additional events.


Example:
= Example =
<pre>{{TDIS
<pre>{{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.
}}</pre>
}}</pre>


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.
{{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.
}}
<br><br>
=== Copy ===
=== Copy ===
<pre>{{TDIS
<pre>{{TDIS
|episodenum =  
|episodenum =  
|anchor = <!-- optional; add a 'y' to append the #tis anchor -->
|year1 =  
|year1 =  
|event1 =  
|event1 =
|year2 = <!-- optional; add additional years up to year5 -->
|event2 = <!-- optional; add additional events up to event5 -->
}}</pre>
}}</pre>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 15: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 -->
}}