Template:5X5 list entry: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (and again)
m (→‎Usage: added more examples)
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
|style="text-align: center"|[[5X5 Episode {{{episode}}}|{{{episode}}}]]
|style="text-align: center"|[[5X5 Episode {{{episode}}}|{{{episode}}}]]
|style="text-align: center;font-size: 85%;" style=white-space:nowrap|{{{date}}}
|style="text-align: center;" style=white-space:nowrap|<small>{{{date}}}</small>
|style="text-indent:6px;font-size: 100%;"|{{{contents}}}
|style="text-align: center;" data-sort-value={{{status}}}|{{#if: {{{status|}}} |{{#switch: {{{status}}}| incomplete = {{i}}|open = {{Open}}| verified = {{tick}}| complete = {{mag}} }} }}
|style="text-indent:6px;"|{{#if: {{{category1|}}} |[[:Category:{{{category1}}}|{{{category1}}}]]}}{{#if: {{{category2|}}} | , [[:Category:{{{category2}}}|{{{category2}}}]]}}{{#if: {{{category3|}}} | , [[:Category:{{{category3}}}|{{{category3}}}]]}}
|style="padding-left: 0.5em;padding-right: 0.3em"|[[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}}}]]}}
<noinclude>
<noinclude>
=== Description ===
This template is used to add formatted entries to the [[Template:5X5 episode list|5X5 episode list template ]], which supplies the sortable table displayed on both the [[5X5 Episodes]] and [[Main Page|main]] pages.
=== Usage ===
=== Usage ===
Example:
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 relevant icon:
* '''open''' &ndash; "open for transcription" icon
* '''incomplete''' &ndash; "transcription in progress" icon
* '''complete''' &ndash; "Transcription ready for proof-reading" icon
* '''verified''' &ndash; "Transcript verified" icon
 
Up to 3 categories may be added to the entry, with the most relevant category entered as "category1", as this will determine the sorting order for the category column. For a list of available categories, see the [[Help:Categories#Content_Categories|categories help page]].
 
Examples:
<pre>
<pre>
{|class=wikitable
<!--- other entries --->
{{5X5 list entry
{{5X5 list entry
|episode    = ###
|status    = incomplete              <!-- when transcript complete, remove value -->
|date      = May 9 2011
|episode    = 104                      <!-- episode number -->
|contents  = Naturalistic Fallacy
|date      = May 9 2011               <!-- broadcast date -->
|category1  = Logic & Philosophy
|contents  = Naturalistic Fallacy     <!-- episode title taken from www.theskepticsguide.org -->
|category2  = Humor                    <!-- optional -->
|category1  = Logic & Philosophy       <!-- most relevant category  -->
|category3  = ESP                   <!-- optional -->
|category2  = Humor                    <!-- additional category - optional -->
|category3  = ESP                     <!-- additional category optional -->
}}
}}
<!--- other entries --->
|}
</pre>
</pre>
Appears as:
{|class=wikitable
<!--- other entries --->
{{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 -->
}}
<!--- other entries --->
|}
<pre>
{|class=wikitable
{{5X5 list entry
|episode    = 104                   
|date      = May 9 2011             
|contents  = Naturalistic Fallacy 
|category1  = Logic & Philosophy 
}}
|}
</pre>
Appears as:
{|class=wikitable
{{5X5 list entry
|episode    = 104                   
|date      = May 9 2011             
|contents  = Naturalistic Fallacy 
|category1  = Logic & Philosophy 
}}
|}
=== Copy ===
<pre>
{{5X5 list entry
|status    =
|episode    =
|date      =
|contents  =
|category1  =
|category2  =
|category3  =
}}
</pre>
[[Category: Table entry templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 14:14, 13 September 2016

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

Description[edit]

This template is used to add formatted entries to the 5X5 episode list template , which supplies the sortable table displayed on both the 5X5 Episodes and main pages.

Usage[edit]

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 relevant icon:

  • open – "open for transcription" icon
  • incomplete – "transcription in progress" icon
  • complete – "Transcription ready for proof-reading" icon
  • verified – "Transcript verified" icon

Up to 3 categories may be added to the entry, with the most relevant category entered as "category1", as this will determine the sorting order for the category column. For a list of available categories, see the categories help page.

Examples:

{|class=wikitable
<!--- other entries --->
{{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 -->
}}
<!--- other entries --->
|}

Appears as:

104 May 9 2011 Transcription in progress Naturalistic Fallacy Logic & Philosophy, Humor, ESP


{|class=wikitable
{{5X5 list entry
|episode    = 104                    
|date       = May 9 2011              
|contents   = Naturalistic Fallacy  
|category1  = Logic & Philosophy   
}}
|}

Appears as:

104 May 9 2011 Naturalistic Fallacy Logic & Philosophy

Copy[edit]

{{5X5 list entry
|status     = 
|episode    = 
|date       = 
|contents   = 
|category1  = 
|category2  = 
|category3  = 
}}