Template:Ep/doc: Difference between revisions

From Semantic Stargate Wiki
mNo edit summary
mNo edit summary
 
(2 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 ==


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


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


<pre>{{Ep|<!-- Name of the episode -->}}</pre>
{| 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 ===

Latest revision as of 23:08, 30 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}} The 'Whatever' parameter is not referenced among the episodes. Please check the parameter or modify the {{ep}} template.