Difference between revisions of "Template:Episode table/part"

From blackwiki
Jump to navigation Jump to search
imported>Alex 21
imported>Alex 21
(Implement module.)
 
Line 1: Line 1:
<includeonly><tr><td colspan="13" style="text-align:center;background-color:{{{2}}};color:{{Greater color contrast ratio|{{{2}}}|black|white}};"> '''{{visible anchor|{{if||{{{nopart|}}}||Part }}{{{1|}}}}}'''{{{r|}}}</td></tr></includeonly><noinclude>
+
<includeonly>{{#invoke:Episode table|part}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 11:59, 14 July 2016

Template documentation[view] [edit] [history] [purge]

Usage

The purpose of the {{Episode table/part}} template is to easily add a header row to episode tables for television series that have split a season into multiple parts, titled "Part (number)", as well as including an anchor to this row under the same name.

Syntax

{{Episode table/part|p=Part number|c=Background colour|nopart=y|r=reference}}

Examples

{{#lst:Template:Episode table/doc|parted}}

Parameters

Parameter Description Type Status
p Part number The part number of the split season in question.
Format: 1
Number Required
c Background colour The background colour of the row for the split season in question.
Format: #1432F5 / blue
Colour Required
nopart Use of "Part" If set to anything, then "Part" will not be displayed for the split season in question.
Format: y
Text Optional
r Reference A reference to add to the header, that is not combined with the anchor and uses Module:Episode table/ref.
Format: <ref>...</ref>
Reference Optional

See also

{{Episode table}}