Template:Ep: Difference between revisions

From Semantic Stargate Wiki
No edit summary
No edit summary
Line 70: Line 70:
  | sg1-115 = [[{{#switch: {{{2|{{NAMESPACE}}}}} | #default | Episode = Episode | Credits = Credits | Quotes = Quotes}}:Singularity|"Singularity"]]
  | sg1-115 = [[{{#switch: {{{2|{{NAMESPACE}}}}} | #default | Episode = Episode | Credits = Credits | Quotes = Quotes}}:Singularity|"Singularity"]]
  | cor-ai
  | cor-ai
| Cor-Ai
  | sg1-1x16
  | sg1-1x16
  | sg1-116 = [[{{#switch: {{{2|{{NAMESPACE}}}}} | #default | Episode = Episode | Credits = Credits | Quotes = Quotes}}:Cor-Ai|"Cor-Ai"]]
  | sg1-116 = [[{{#switch: {{{2|{{NAMESPACE}}}}} | #default | Episode = Episode | Credits = Credits | Quotes = Quotes}}:Cor-ai|"Cor-ai"]]
  | enigma
  | enigma
  | sg1-1x17
  | sg1-1x17

Revision as of 06:25, 16 October 2020

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

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.