Template:Sgcite

From Wikipedia, the free encyclopedia

"Episode"


This template automatically generates episode references for Stargate articles that are otherwise tedious to write out. It can also be used with <ref> tags to generate inline references. This works and is useful particularly for Stargate episodes due to the uniformity of the series and episode naming: all series names begin "Stargate ___", and all episode articles are at "Title (Stargate ___)".

This template employs some extremely complicated or esoteric features of template syntax.
Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair/revert any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the template sandbox or your user space.

[edit] Parameters

First parameter  
Episode title
Second parameter 
Which Stargate show the episode is from, either SG-1, Atlantis or Infinity.
show  
use show=___ to alter the output. Options are
  • none (auto)
    Just displays as a title in "quotes"
  • all
    Has everything: enclosing brackets, (Show-name: and "Title").
  • show
    Displays Show: and "title".
  • brackets
    Displays ("title in brackets").
  • ref
    Displays the citation as a reference to be put in <ref> tags.