Template:TDIS: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (updated description)
m (trying out the optional anchor variable)
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 11: Line 11:
[[Category:This Day in Skepticism]]</includeonly><noinclude>
[[Category:This Day in Skepticism]]</includeonly><noinclude>
=== Description ===
=== Description ===
Use this template to add a [https://www.sgutranscripts.org/wiki/Category:This_Day_in_Skepticism 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 ===
Required variables:
Required variables:
* <code>episodenum</code> &ndash; 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.
** Apend <code>#tis</code> to the episode number to link to the #tis anchor: <code>episodenum#tis</code>
* <code>year1</code> &ndash; The year that the event being referenced took place.
* <code>year1</code> &ndash; The year that the event being referenced took place.
* <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#tis
|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 TDIS section of [[October 13]], and looks like this
{{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>

Revision as of 15:33, 20 August 2022

Description

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

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

{{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 TDIS section of October 13, and looks like this

This Day in Skepticism

Referenced in {{#if: y|[[SGU Episode 378#tis|Episode 378|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



Copy

{{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 -->
}}