Template:QotW entry: Difference between revisions
Jump to navigation
Jump to search
m (Minor documentation fixes) |
m (formatted uniformly, added example using all variables) |
||
Line 35: | Line 35: | ||
This is a simplified way to add and format entries to the [[Skeptical Quote Collection]] table. | This is a simplified way to add and format entries to the [[Skeptical Quote Collection]] table. | ||
=== | === Usage === | ||
Required variables: | |||
* | * <code>quote</code> – The full text of the quote. | ||
* | * <code>name</code> – The name to be displayed in the table. This field can include links, e.g. to link to a page other than a Wikipedia entry. | ||
* | * <code>link1</code> – The full link to the episode page, including anchor, using Wiki mark-up (not the raw URL). | ||
* | Optional variables: | ||
* | * <code>wpname</code> – The canonical name of the Wikipedia article for the author. If blank, defaults to the string given in "name". 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. | ||
* | * <code>sortname</code> – The text to use when sorting by name; usually ''lastname, firstname''. Do not use titles (Sir, Dr., Professor) in the sort key. | ||
* | * <code>sortnum</code> – The episode number to use when sorting by number, which should be the first number if there are more than one. | ||
* | * <code>link2</code> – The full link to the second episode page, including anchor (if more than one occurrence). | ||
* <code>link3</code> – The full link to the third episode page, including anchor (if more than one occurrence). | |||
Example: | |||
<pre>{{QotW entry | |||
|quote = De omnibus dubitandum.<br />All is to be doubted. | |||
|name = René Descartes | |||
|link1 = [[SGU_Episode_90#Skeptical_Quote|90]] | |||
|wpname = René Descartes | |||
|sortname = Descartes, Rene | |||
|sortnum = 90 | |||
|link2 = [[SGU_Episode_142#Skeptical_Quote|142]] | |||
}} | |||
</pre> | |||
=== | === Copy === | ||
<pre>{{QotW entry | |||
|quote = | |quote = | ||
|name = | |name = | ||
|link1 = | |link1 = | ||
|wpname = | |wpname = | ||
|sortname = | |sortname = | ||
|sortnum = | |sortnum = | ||
|link2 = | |link2 = | ||
|link3 = | |link3 = | ||
}}</ | }}</pre> | ||
[[Category: Table entry templates]] | [[Category: Table entry templates]] | ||
</noinclude> | </noinclude> |
Revision as of 09:36, 3 September 2013
Description
This is a simplified way to add and format entries to the Skeptical Quote Collection table.
Usage
Required variables:
quote
– The full text of the quote.name
– The name to be displayed in the table. This field can include links, e.g. to link to a page other than a Wikipedia entry.link1
– The full link to the episode page, including anchor, using Wiki mark-up (not the raw URL).
Optional variables:
wpname
– The canonical name of the Wikipedia article for the author. If blank, defaults to the string given in "name". 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. Do not use titles (Sir, Dr., Professor) in the sort key.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).
Example:
{{QotW entry |quote = De omnibus dubitandum.<br />All is to be doubted. |name = René Descartes |link1 = [[SGU_Episode_90#Skeptical_Quote|90]] |wpname = René Descartes |sortname = Descartes, Rene |sortnum = 90 |link2 = [[SGU_Episode_142#Skeptical_Quote|142]] }}
Copy
{{QotW entry |quote = |name = |link1 = |wpname = |sortname = |sortnum = |link2 = |link3 = }}