Template:SGU list entry: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (whoops)
m (what happens if I drop this "padding"?)
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
|style="text-align: center"|[[SGU Episode {{{episode}}}|{{{episode}}}]]
<includeonly>|style="text-align: center"|[[SGU Episode {{{episode}}}|{{{episode}}}]]
 
|style="text-align: center;" style=white-space:nowrap|{{{date}}}
|style="text-align: center;" style=white-space:nowrap|{{{date}}}
 
|data-sort-value={{#switch: {{{status}}}| open = 1| incomplete = 2| proofread = 3| verified = 4}}|{{#switch: {{lc:{{{status}}}}}| incomplete = {{i}}| proofread = {{mag}}| verified = {{tick}}|{{open}}}}
|style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{status}}}|
|{{#if: {{{other|}}} |{{#switch: {{lc:{{{other}}}}}| n = {{blank}} | y = {{tick}}| {{{other}}} }}|{{mark}}}}
{{#if: {{{status|}}} |{{#switch: {{{status}}}| incomplete = {{i}}| proofread = {{mag}}| verified = {{tick}}|}}|{{open}}}}
|{{#if: {{{theme|}}} |{{#switch: {{lc:{{{theme}}}}}| n = {{blank}} | y = {{tick}}| {{{theme}}} }}|{{mark}}}}
 
|{{#if: {{{interviewee|}}} |{{#switch: {{lc:{{{interviewee}}}}}| n = {{blank}} | y = {{tick}}| {{{interviewee}}} }}|{{mark}}}}
|style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{theme}}}|
|{{#if: {{{rogue|}}} |{{#switch: {{lc:{{{rogue}}}}}| n = {{blank}} | y = {{tick}}| {{{rogue}}} }}|{{mark}}}}
{{#if: {{{theme|}}} |{{#switch: {{{theme}}}| n = | y = {{tick}}| }}|{{mark}}}}
<!-- cutting out this column as so few episodes are recorded live
 
|style="padding-left: 0.5em;padding-right: 0.3em" |
|style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{interviewee}}}|
{{#if: {{{live|}}} |{{#switch: {{lc:{{{live}}}}}| n = {{blank}} | y = {{tick}}| {{{live}}} }}|{{mark}}}}  
{{#if: {{{interviewee|}}} |{{#switch: {{{interviewee}}}| n = | y = {{tick}}| }}|{{mark}}}}
-->
 
</includeonly><noinclude>
|style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{live}}}|
{{#if: {{{live|}}} |{{#switch: {{{live}}}| n = | y = {{tick}}| }}|{{mark}}}}
 
|style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{rogue}}}|
{{#if: {{{rogue|}}} |{{#switch: {{{rogue}}}| n = | y = {{tick}}| }}|{{mark}}}}
 
|style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{other}}}|
{{#if: {{{other|}}} |{{#switch: {{{other}}}| n = | y = {{tick}}| }}|{{mark}}}}
<noinclude>
=== Description ===
=== Description ===
This template can be used to add formatted entries to a sortable table, ideally for the [[SGU Episodes]] page.
This template can be used to add formatted entries to a sortable table, ideally for the [[SGU Episodes]] page.
Line 27: Line 17:
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.


The parameter "status" can be one of the following: "open" to enter the open icon ({{open}}), indicating when sections are open to other transcribers; "incomplete" to enter the transcription in progress icon ({{i}}), "proofread" to enter the magnifying class icon ({{mag}}), and "verified" to enter the tick icon ({{tick}}) when the transcript has been verified as being proofread.
The parameter "status" can be one of the following: "incomplete" to enter the transcription in progress icon ({{i}}), "proofread" to enter the magnifying class icon ({{mag}}) when transcription is complete, and "verified" to enter the tick icon ({{tick}}) when the transcript has been verified as being proofread. Leaving it blank will automatically enter "open" to enter the open icon ({{open}}), indicating that sections are open to other transcribers.


Example:
Example:
<pre>
<pre>
{{SGU list entry
{{SGU list entry
|episode = <!-- episode number -->
|episode =
|date = <!-- broadcast date YYYY-MM-DD -->
|date =MM-DD
|status = <!-- enter “incomplete”, “proofread”, or “verified”, or leave blank to indicate "open" -->
|status = <!-- enter "incomplete", "proofread", or "verified", or leave blank to indicate "open" -->
|theme = <!-- enter Y, N, or theme name/internal link -->
|other = <!-- enter Y, N, or episode feature /internal link -->
|interviewee = <!-- enter Y, N, or interviewee name/internal link -->
|theme = <!-- enter Y, N, or theme name/internal link -->
|live = <!-- enter Y, N, or venue/event name -->
|interviewee = <!-- enter Y, N, or interviewee name/internal link -->
|rogue = <!-- enter Y, N, or guest rogue’s name -->
|rogue = <!-- enter Y, N, or guest rogue's name -->
|other = <!-- enter Y, N, or episode feature /internal link -->
}}
}}
</pre>
</pre>
<!-- cutting out this column as so few episodes are recorded live
|live = <!-- enter Y, N, or venue/event name
-->
[[Category: Table entry templates]]
[[Category: Table entry templates]]
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 15:14, 11 August 2022

Description

This template can be used to add formatted entries to a sortable table, ideally for the SGU Episodes page.

Usage

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

The parameter "status" can be one of the following: "incomplete" to enter the transcription in progress icon (Transcription in progress), "proofread" to enter the magnifying class icon (Ready for proofreading) when transcription is complete, and "verified" to enter the tick icon (Transcript Verified) when the transcript has been verified as being proofread. Leaving it blank will automatically enter "open" to enter the open icon (Open for transcription), indicating that sections are open to other transcribers.

Example:

{{SGU list entry
|episode	=
|date		=MM-DD
|status		=	<!-- enter "incomplete", "proofread", or "verified", or leave blank to indicate "open" -->
|other		=	<!-- enter Y, N, or episode feature /internal link -->
|theme 		=	<!-- enter Y, N, or theme name/internal link -->
|interviewee	=	<!-- enter Y, N, or interviewee name/internal link -->
|rogue		=	<!-- enter Y, N, or guest rogue's name -->
}}