Template:5X5 list entry: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (expanded explanation)
(changed "incomplete" parameter to "status" to include ticks)
Line 1: Line 1:
|style="text-align: center"|[[5X5 Episode {{{episode}}}|{{{episode}}}]]
|style="text-align: center"|[[5X5 Episode {{{episode}}}|{{{episode}}}]]
|style="text-align: center;" style=white-space:nowrap|<small>{{{date}}}</small>
|style="text-align: center;" style=white-space:nowrap|<small>{{{date}}}</small>
|style="padding-left: 0.5em;padding-right: 0.3em"|{{#if: {{{incomplete||}}} |{{i}}&nbsp;}}[[5X5 Episode {{{episode}}}|{{{contents}}}]]
|style="padding-left: 0.5em;padding-right: 0.3em"|{{#if: {{{status|}}} |{{#switch: {{status}}| incomplete = {{i}}&nbsp;[[5X5 Episode {{{episode}}}|{{{contents}}}]]| verified = [[5X5 Episode {{{episode}}}|{{{contents}}}]]&nbsp;{{tick}} }}|[[5X5 Episode {{{episode}}}|{{{contents}}}]] }}
|style="padding-left: 0.5em;padding-right: 0.3em"|{{#if: {{{category1|}}} |[[:Category:{{{category1}}}|{{{category1}}}]]}}{{#if: {{{category2|}}} | , [[:Category:{{{category2}}}|{{{category2}}}]]}}{{#if: {{{category3|}}} | , [[:Category:{{{category3}}}|{{{category3}}}]]}}
|style="padding-left: 0.5em;padding-right: 0.3em"|{{#if: {{{category1|}}} |[[:Category:{{{category1}}}|{{{category1}}}]]}}{{#if: {{{category2|}}} | , [[:Category:{{{category2}}}|{{{category2}}}]]}}{{#if: {{{category3|}}} | , [[:Category:{{{category3}}}|{{{category3}}}]]}}
<noinclude>
<noinclude>
Line 10: Line 10:
Entries should be added in order, as the table does not automatically order itself on opening.
Entries should be added in order, as the table does not automatically order itself on opening.


Including a value for the parameter "incomplete" adds the "transcription in progress" icon, {{i}} . When the transcript is finished, simply remove this line from the template to remove the icon.
Including a value for the parameter "status" adds the "transcription in progress" icon, {{i}} when "incomplete" is entered, and {{tick}} when "verified" is entered.  


The most relevant category should be entered as category1, as this will determine the sorting order for the category column.
The most relevant category should be entered as category1, as this will determine the sorting order for the category column.
Line 17: Line 17:
<pre>
<pre>
{{5X5 list entry
{{5X5 list entry
|incomplete = y                        <!-- when transcript complete, remove line -->
|status    = incomplete               <!-- when transcript complete, remove value -->
|episode    = 104                      <!-- episode number -->
|episode    = 104                      <!-- episode number -->
|date      = May 9 2011              <!-- broadcast date -->
|date      = May 9 2011              <!-- broadcast date -->

Revision as of 08:20, 1 October 2012

|style="text-align: center"|[[5X5 Episode {{{episode}}}|{{{episode}}}]] |style="text-align: center;" style=white-space:nowrap|{{{date}}} |style="padding-left: 0.5em;padding-right: 0.3em"|[[5X5 Episode {{{episode}}}|{{{contents}}}]] |style="padding-left: 0.5em;padding-right: 0.3em"|

Description

This template is used to add formatted entries to the sortable table on the 5X5 Episodes page.

Usage

Entries should be added in order, as the table does not automatically order itself on opening.

Including a value for the parameter "status" adds the "transcription in progress" icon, Transcription in progress when "incomplete" is entered, and Transcript Verified when "verified" is entered.

The most relevant category should be entered as category1, as this will determine the sorting order for the category column.

Example:

{{5X5 list entry
|status     = incomplete               <!-- when transcript complete, remove value -->
|episode    = 104                      <!-- episode number -->
|date       = May 9 2011               <!-- broadcast date -->
|contents   = Naturalistic Fallacy     <!-- episode title taken from www.theskepticsguide.org -->
|category1  = Logic & Philosophy       <!-- most relevant category  -->
|category2  = Humor                    <!-- additional category - optional -->
|category3  = ESP                      <!-- additional category optional -->
}}