Template:TDIS: Difference between revisions
Jump to navigation
Jump to search
Add a category to all This Day pages |
m some small updates |
||
| (10 intermediate revisions by 3 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}}} – {{{event1}}} | * {{{year1}}} – {{{event1}}} | ||
{{#if: {{{year2|}}} |* {{{year2}}} – {{{event2}}} }} | {{#if: {{{year2|}}} |* {{{year2}}} – {{{event2}}} }} | ||
| Line 8: | Line 8: | ||
== Other Events == | == Other Events == | ||
* {{PAGENAME}} at {{w|{{PAGENAME}}|Wikipedia}} | * {{PAGENAME}} at {{w|{{PAGENAME}}|Wikipedia}} | ||
[[Category: Day | [[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. | ||
=== | === Usage === | ||
Required variables: | |||
* | * <code>episodenum</code> – The number of the episode in which This Day in Skepticism was referenced. | ||
* | * <code>year1</code> – The year that the event being referenced took place. | ||
* | * <code>event1</code> – The event that took place. | ||
** | Optional variables: | ||
* | * <code>anchor</code> – This appends the #tis anchor to the episode number: <code>episodenum#tis</code> | ||
* <code>year2</code> - <code>year5</code> – If there were multiple events, add up to four additional years. | |||
* <code>event2</code> - <code>event5</code> – 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> | |||
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 | |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. | ||
}}</ | }} | ||
<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]] | |||
</noinclude> | |||
Latest revision as of 04:46, 20 August 2022
Description
Use this template to add text to a 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#tisyear2-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 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
- TDIS at Wikipedia
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 -->
}}