Template:SGU list entry: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (Undo revision 16703 by Xanderox (talk) I don't think it's the " marks that matter... it's sorting by a specified value)
Tag: Undo
m (week number stuff isn't necessary; I just made date column unsortable in headers template)
Line 1: Line 1:
<includeonly>|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 data-sort-value="{{{weeknumber}}}"|{{{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}}}}
|data-sort-value={{#switch: {{{status}}}| open = 1| incomplete = 2| proofread = 3| verified = 4}}|{{#switch: {{lc:{{{status}}}}}| incomplete = {{i}}| proofread = {{mag}}| verified = {{tick}}|{{open}}}}


Line 20: Line 20:
{{SGU list entry
{{SGU list entry
|episode =
|episode =
|weeknumber = <!-- enter 1 to 52; if additional episodes are broadcasted,
|date = Mon(th) D(ate) <!-- three-letter month, non-zero-padded date more visually appealing -->
such as a special "##-hour Live Show", insert them with a sortable "week number" as appropriate  -->
|date = Mon(th) D(ate) <!-- three-letter month, non-zero-padded date more visually appealing;
"weeknumber" is used to sort the "date" column -->
|status = <!-- enter "incomplete", "proofread", or "verified", or leave blank to indicate "open" -->
|status = <!-- enter "incomplete", "proofread", or "verified", or leave blank to indicate "open" -->
|other = <!-- enter Y, N, or episode feature /internal link -->
|other = <!-- enter Y, N, or episode feature /internal link -->

Revision as of 05:58, 3 December 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		= Mon(th) D(ate)	<!-- three-letter month, non-zero-padded date more visually appealing  -->
|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/ [[SGU_Episode_NNN#theme|_theme_title_]] -->
|interviewee	=	<!-- enter Y, N, or interviewee name/ name/ [[SGU_Episode_NNN#interview|_interviewee_,_description_]] -->
|rogue		=	<!-- enter Y, N, or guest rogue's name & description -->
}}