Template:SGU list entry: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (added category)
m (trying out an updated table entry setup)
Line 2: Line 2:
|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}}}|
|style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{status}}}|
{{#if: {{{status|}}} |{{#switch: {{{status}}}| incomplete = {{i}}| verified = {{tick}}| open = {{open}} }}}}
{{#if: {{{status|}}} |{{#switch: {{{status}}}| incomplete = {{i}}| verified = {{tick}}| open = {{open}} | proofread = {{mag}}}}}}
|style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{theme}}}|
{{#if: {{{theme|}}} |{{#switch: {{{theme}}}| n = | y = {{tick}}| }}|{{mark}}}}
|style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{interviewee}}}|
{{#if: {{{interviewee|}}} |{{#switch: {{{interviewee}}}| n = | y = {{tick}}| }}}}
|style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{interviewee}}}|
{{#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>
<noinclude>
=== Description ===
=== Description ===
This template is used to add formatted entries to the sortable table on the [[SGU Episodes]] page.
This template can be used to add formatted entries to a sortable table, ideally for the [[SGU Episodes]] page.


=== Usage ===
=== Usage ===
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: "incomplete" to enter the transcription in progress icon ({{i}}), "verified" to enter the tick icon ({{tick}}) when verified, and "open" to enter the open icon ({{open}}), indicating when sections are open to other transcribers.
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.


Example:
Example:
<pre>
<pre>
{{SGU list entry
{{SGU list entry
|episode   = 378                      <!-- episode number -->
|episode = <!-- episode number -->
|date       = 2012-10-13              <!-- broadcast date -->
|date = <!-- broadcast date YYYY-MM-DD -->
|status     = incomplete              <!-- when transcript complete, remove value -->
|status = <!-- enter “open”, “incomplete”, “proofread”, or “verified” -->
|theme = <!-- enter Y, N, or theme name/internal link -->
|interviewee = <!-- enter Y, N, or interviewee name/internal link -->
|live = <!-- enter Y, N, or venue/event name -->
|rogue = <!-- enter Y, N, or guest rogue’s name -->
|other = <!-- enter Y, N, or episode feature /internal link -->
}}
}}
</pre>
</pre>

Revision as of 07:34, 7 February 2021

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

|style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{theme}}}| ? |style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{interviewee}}}|

|style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{interviewee}}}|

|style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{theme}}}|

|style="padding-left: 0.5em;padding-right: 0.3em" data-sort-value={{{theme}}}|


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: "open" to enter the open icon (Open for transcription), indicating when sections are open to other transcribers; "incomplete" to enter the transcription in progress icon (Transcription in progress), "proofread" to enter the magnifying class icon (Ready for proofreading), and "verified" to enter the tick icon (Transcript Verified) when the transcript has been verified as being proofread.

Example:

{{SGU list entry
|episode	=		<!-- episode number -->
|date		=		<!-- broadcast date YYYY-MM-DD -->
|status		=		<!-- enter “open”, “incomplete”, “proofread”, or “verified” -->
|theme		=		<!-- enter Y, N, or theme name/internal link -->
|interviewee 	=		<!-- enter Y, N, or interviewee name/internal link -->
|live		=		<!-- enter Y, N, or venue/event name -->
|rogue		=		<!-- enter Y, N, or guest rogue’s name -->
|other		=		<!-- enter Y, N, or episode feature /internal link -->
}}