Template:QotW entry: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
(Try something else with default params)
mNo edit summary
Line 8: Line 8:
  -->{{#ifeq: {{{wpname|}}} | {{{wpname|-}}} |<!--
  -->{{#ifeq: {{{wpname|}}} | {{{wpname|-}}} |<!--
     Wiki link was specified but may be empty
     Wiki link was specified but may be empty
     -->{{w|{{{wpname|{{{name}}}}}}|{{{name}}}}} |<!--
     -->{{#if: {{{wpname}}} |<!--
        -->{{w|{{{wpname}}}|{{{name}}}}} |<!--
        else, Wiki link using name param
        -->|{{w|{{{name}}}}}<!--
    -->}} |<!--
     else, just the full name
     else, just the full name
     -->{{{name}}}<!--
     -->{{{name}}}<!--

Revision as of 13:44, 3 May 2013

Description

This is a simplified way to add and format entries to the Skeptical Quote Collection table.

Parameters

  • Required
    • quote: The full text of the quote.
    • name: The name to be displayed in the table.
    • link1: The full link to the episode page, including anchor.
  • Optional
    • wpname: The canonical name of the Wikipedia article for the author. This is the name that appears in the heading atop the Wikipedia article and can contain spaces, parentheses, special characters, etc. It is not necessary to encode these characters for this field.
    • sortname: The text to use when sorting by name; usually lastname, firstname.
    • sortnum: The episode number to use when sorting by number, which should be the first number if there are more than one.
    • link2: The full link to the second episode page, including anchor (if more than one occurrence).
    • link3: The full link to the third episode page, including anchor (if more than one occurrence).

Usage

{{QotW entry
|quote = Somewhere, something incredible is waiting to be known.
|name = Carl Sagan
|link1 = [[SGU_Episode_64#Skeptical_Quote|64]]
|wpname = Carl Sagan
|sortname = Sagan, Carl
|sortnum = 
|link2 = 
|link3 = 
}}