Template:Ep/doc: Difference between revisions

From Semantic Stargate Wiki
mNo edit summary
No edit summary
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 détermine the title of the episode. It is caps unsensitive.
|
|-
| <tt>{{{2}}}</tt>
| no
| Used to determine the Base Pagename (Film/Episode/Credits/Quotes). Automaticaly designed to fit the current Base Pagename.
| <tt><nowiki>{{BASEPAGENAME}}</nowiki></tt>
|}


=== Examples ===
=== Examples ===

Revision as of 01:18, 14 March 2018

This is the {{Ep}} template

Syntax

{{Ep|<!-- title of the episode/movie -->}}

Parameters

Parameter Mandatory Description Default
{{{1}}} yes Used to détermine the title of the episode. It is caps unsensitive.
{{{2}}} no Used to determine the Base Pagename (Film/Episode/Credits/Quotes). Automaticaly designed to fit the current Base Pagename. {{BASEPAGENAME}}

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.