Difference between revisions of "Template:TDIS"

From SGUTranscripts
Jump to navigation Jump to search
(Create template for This Day in Skepticism pages)
 
m (added link to clear up exactly what this template is for!)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== This Day in Skepticism ==
+
<includeonly>== This Day in Skepticism ==
 
Referenced in [[SGU Episode {{{episodenum}}}]].
 
Referenced in [[SGU Episode {{{episodenum}}}]].
 
* {{{year1}}} &ndash; {{{event1}}}
 
* {{{year1}}} &ndash; {{{event1}}}
Line 7: Line 7:
 
{{#if: {{{year5|}}} |* {{{year5}}} &ndash; {{{event5}}} }}
 
{{#if: {{{year5|}}} |* {{{year5}}} &ndash; {{{event5}}} }}
 
== Other Events ==
 
== Other Events ==
* {{PAGENAME}} at {{w|{{PAGENAME}}|Wikipedia}}<noinclude>
+
{{#if: {{{other|}}} |* {{{other}}} }}
 +
* {{PAGENAME}} at {{w|{{PAGENAME}}|Wikipedia}}
 +
[[Category: Day pages]]</includeonly><noinclude>
 
=== Description ===
 
=== Description ===
Use this template to add a This Day in Skepticism page.
+
Use this template to add a [https://www.sgutranscripts.org/wiki/Category:Day_pages This Day in Skepticism] page.
  
=== 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.
 
**''event2''-''event5'': Additional events.
 
  
=== Usage ===
+
 
<nowiki>{{TDIS
+
Optional variables
 +
* <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
 
|episodenum = 378
 
|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>
+
}}</pre>
 +
 
 +
=== Copy ===
 +
<pre>{{TDIS
 +
|episodenum =
 +
|year1 =
 +
|event1 =
 +
}}</pre>
 +
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 14:41, 10 June 2020

Description[edit]

Use this template to add a This Day in Skepticism page.

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

  • year2 - year5 – If there were multiple events, add up to four additional years.
  • event2 - event5 – Additional events.

Example:

{{TDIS
|episodenum = 378
|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.
}}

Copy[edit]

{{TDIS
|episodenum = 
|year1 = 
|event1 = 
}}