Jump to content

Template:Ep/doc: Difference between revisions

From Semantic Stargate Wiki
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


=== Usage ===
== Syntax ==


<pre>{{Ep|<!-- title of the episode/movie -->}}</pre>
This template is used to create a link with the correct format to an episode.


=== Syntax ===
=== Parameters ===


{| class="wikitable" width=100%
<pre>{{Ep|<!-- Name of the episode -->}}</pre>
! 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|Wathever}}</nowiki>||{{Ep|Wathever}}
|<nowiki>{{Ep|Whatever}}</nowiki>||{{Ep|Whatever}}
|}
|}
<includeonly>
<includeonly>

Revision as of 05:08, 31 March 2018

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