Template:Ep/doc: Difference between revisions
Appearance
Content deleted Content added
Created page with "{{Documentation subpage}} This is the {{tl|Ep}} template === Usage === This template is used to create a link with the correct format to an episode. === Syntax === <pre>{..." |
mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
This is the {{tl|Ep}} template |
This is the {{tl|Ep}} template |
||
== Syntax == |
|||
| ⚫ | |||
This template is used to create a link with the correct format to an episode. |
|||
=== |
=== Parameters === |
||
{| class="wikitable" width=100% |
|||
| ⚫ | |||
! Parameter |
|||
! Mandatory |
|||
! Description |
|||
! Default |
|||
|- |
|||
| <tt>{{{1}}}</tt> |
|||
| yes |
|||
| Used to determine the title of the episode. It is caps insensitive. |
|||
| |
|||
|- |
|||
| <tt>{{{2}}}</tt> |
|||
| no |
|||
| Used to determine the Namespace (Film/Episode/Credits/Quotes). Automatically designed to fit the current Namespace. |
|||
| <tt><nowiki>{{NAMESPACE}}</nowiki></tt> |
|||
|} |
|||
=== Examples === |
=== Examples === |
||
| Line 21: | Line 36: | ||
|<nowiki>{{Ep|Children of the Gods}}</nowiki>||{{Ep|Children of the Gods}} |
|<nowiki>{{Ep|Children of the Gods}}</nowiki>||{{Ep|Children of the Gods}} |
||
|- style="background-color:#DCDCDC;" |
|- style="background-color:#DCDCDC;" |
||
|<nowiki>{{Ep| |
|<nowiki>{{Ep|Whatever}}</nowiki>||{{Ep|Whatever}} |
||
|} |
|} |
||
<includeonly> |
<includeonly> |
||
Revision as of 05:08, 31 March 2018
| This is a documentation subpage for Template:Ep. It contains usage information, categories and other content that is not part of the original template page. |
This is the {{Ep}} template
Syntax
{{Ep|<!-- title of the episode/movie -->}}
Parameters
| Parameter | Mandatory | Description | Default |
|---|---|---|---|
| {{{1}}} | yes | Used to determine the title of the episode. It is caps insensitive. | |
| {{{2}}} | no | Used to determine the Namespace (Film/Episode/Credits/Quotes). Automatically designed to fit the current Namespace. | {{NAMESPACE}} |
Examples
| Usage | Rendering |
|---|---|
| {{Ep|SG1-1x01}} | "Children of the Gods" |
| {{Ep|Children of the Gods}} | "Children of the Gods" |
| {{Ep|Whatever}} | Episode not found |