Template:SGU list entry: Difference between revisions
m (trying out an updated table entry setup) |
m (what happens without the padding?) |
||
Line 3: | Line 3: | ||
|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}} | proofread = {{mag}}}}}} | {{#if: {{{status|}}} |{{#switch: {{{status}}}| incomplete = {{i}}| verified = {{tick}}| open = {{open}} | proofread = {{mag}}}}}} | ||
| | |data-sort-value={{{theme}}}| | ||
{{#if: {{{theme|}}} |{{#switch: {{{theme}}}| n = | y = {{tick}}| }}|{{mark}}}} | {{#if: {{{theme|}}} |{{#switch: {{{theme}}}| n = | y = {{tick}}| }}|{{mark}}}} | ||
|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}}}| |
Revision as of 08:36, 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}}}|
|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 (), indicating when sections are open to other transcribers; "incomplete" to enter the transcription in progress icon (), "proofread" to enter the magnifying class icon (), and "verified" to enter the tick icon () 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 --> }}