Template:SGU list entry: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (what happens without the padding?)
m (adding mheguy's "bot)
 
(72 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"|{{#switch: {{{episode}}}|1000=[[SGU Episode {{{episode}}}|<span style="color:#8F00FF; border-bottom: 1px double #8F00FF;"><u>'''''1000!'''''</u></span>]]|#default=[[SGU Episode {{{episode}}}|{{{episode}}}]]}}
|style="text-align: center;" style=white-space:nowrap|{{{date}}}
|style="text-align: center;" style=white-space:nowrap|{{{date}}}
|style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{status}}}|
|data-sort-value={{#switch: {{{status}}}| open = 1| machine = 2| bot = 3| incomplete = 4| proofread = 5| verified = 6}}|{{#switch: {{lc:{{{status}}}}}| machine = {{a}}| bot = {{bot}}| incomplete = {{i}}| proofread = {{mag}}| verified = {{tick}}|{{open}}}}
{{#if: {{{status|}}} |{{#switch: {{{status}}}| incomplete = {{i}}| verified = {{tick}}| open = {{open}} | proofread = {{mag}}}}}}
 
|data-sort-value={{{theme}}}|
|{{#if: {{{sort_other|}}} | data-sort-value="{{{sort_other}}}" }} |{{#if: {{{other|}}}|{{#switch: {{{other}}}| n = {{blank}} | y = {{tick}}| {{{other}}} }}| {{mark}} }}  
{{#if: {{{theme|}}} |{{#switch: {{{theme}}}| n = | y = {{tick}}| }}|{{mark}}}}
|{{#if: {{{sort_theme|}}} | data-sort-value="{{{sort_theme}}}" }} |{{#if: {{{theme|}}} |{{#switch: {{{theme}}}| n = {{blank}} | y = {{tick}}| {{{theme}}} }}| {{mark}} }}
|style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{interviewee}}}|
|{{#if: {{{sort_interviewee|}}} | data-sort-value="{{{sort_interviewee}}}" }} |{{#if: {{{interviewee|}}} |{{#switch: {{{interviewee}}}| n = {{blank}} | y = {{tick}}| {{{interviewee}}} }}|{{mark}} }}
{{#if: {{{interviewee|}}} |{{#switch: {{{interviewee}}}| n = | y = {{tick}}| }}}}
|{{#if: {{{sort_rogue|}}} | data-sort-value="{{{sort_rogue}}}" }} |{{#if: {{{rogue|}}} |{{#switch: {{{rogue}}}| n = {{blank}} | y = {{tick}}| {{{rogue}}} }}| {{mark}} }}
|style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{interviewee}}}|
</includeonly><noinclude>
{{#if: {{{live|}}} |{{#switch: {{{live}}}| n = | y = {{tick}}| }}}}
|style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{theme}}}|
{{#if: {{{rogue|}}} |{{#switch: {{{rogue}}}| n = | y = {{tick}}| }}}}
|style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{theme}}}|
{{#if: {{{other|}}} |{{#switch: {{{other}}}| n = | y = {{tick}}| }}}}
<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 20: Line 14:
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 = Mon(th) D(ate) <!-- three-letter month, non-zero-padded date more visually appealing  -->
|status = <!-- enter “open”, “incomplete”, “proofread”, or “verified” -->
|status = <!-- enter "incomplete", "proofread", or "verified", or leave blank to indicate "open" -->
|theme = <!-- enter Y, N, or theme name/internal link -->
|sort_other =zzz <!-- delete if "other" has named entry -->
|interviewee = <!-- enter Y, N, or interviewee name/internal link -->
|other = <!-- enter Y, N, or episode feature /internal link -->
|live = <!-- enter Y, N, or venue/event name -->
|sort_theme =zzz <!-- delete if "theme" has named entry -->
|rogue = <!-- enter Y, N, or guest rogue’s name -->
|theme = <!-- enter Y, N, or theme name/ [[SGU_Episode_NNN#theme|_theme_title_]] -->
|other = <!-- enter Y, N, or episode feature /internal link -->
|sort_interviewee =zzz <!-- delete if "interviewee" has named entry -->
|interviewee = <!-- enter Y, N, or interviewee name, or [[SGU_Episode_NNN#interview|_interviewee_,_description_]] -->
|sort_rogue =zzz <!-- delete if "rogue" has named entry -->
|rogue = <!-- enter Y, N, or guest rogue's name & description -->
}}
}}
</pre>
</pre>

Latest revision as of 06:11, 2 August 2024

Description[edit]

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

Usage[edit]

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" -->
|sort_other 	=zzz	<!-- delete if "other" has named entry -->
|other		=	<!-- enter Y, N, or episode feature /internal link -->
|sort_theme 	=zzz	<!-- delete if "theme" has named entry -->
|theme 		=	<!-- enter Y, N, or theme name/ [[SGU_Episode_NNN#theme|_theme_title_]] -->
|sort_interviewee =zzz	<!-- delete if "interviewee" has named entry -->
|interviewee	=	<!-- enter Y, N, or interviewee name, or [[SGU_Episode_NNN#interview|_interviewee_,_description_]] -->
|sort_rogue 	=zzz	<!-- delete if "rogue" has named entry -->
|rogue		=	<!-- enter Y, N, or guest rogue's name & description -->
}}