Template:QotW entry: Difference between revisions
Jump to navigation
Jump to search
(Try spacing out the variables with comments, for clarity) |
m (Try defaulting WP name to name param) |
||
Line 6: | Line 6: | ||
else, nothing | else, nothing | ||
-->}} | <!-- | -->}} | <!-- | ||
-->{{#if: {{{wpname|}}} | <!-- | -->{{#if: {{{wpname|{{{name}}}}}} | <!-- | ||
Wiki link | Wiki link | ||
-->{{w|{{{wpname}}}|{{{name}}}}} |<!-- | -->{{w|{{{wpname}}}|{{{name}}}}} |<!-- |
Revision as of 11:20, 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 = }}