Template:Book list entry: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (Categorize)
m (formatted uniformly)
Line 11: Line 11:
Entries should be added in order, as the table does not automatically order itself on opening.
Entries should be added in order, as the table does not automatically order itself on opening.


If including Gutenberg link, insert URL then year, separated by a space
Mandatory variables:
* <code>Author</code>
* <code>Title</code>
 
Optional variables:
* <code>AuthorURL</code>
* <code>TitleURL</code>
* <code>Reference</code> &ndash; insert internal, SGU transcripts reference to book
* <code>Gutenberg</code> &ndash; insert URL then year, separated by a space
* <code>Category</code>


The most relevant category should be entered as category1, as this will determine the sorting order for the category column.


Example:
Example:
Line 27: Line 35:
}}
}}
</pre>
</pre>
=== Copy ===
<pre>
{{Book list entry
|Author    =
|AuthorURL =
|Title    =
|TitleURL  =
|Reference =
|Gutenberg =
|Category  =
}}
</pre>
[[Category: Table entry templates]]
[[Category: Table entry templates]]
</noinclude>
</noinclude>

Revision as of 08:28, 3 September 2013

|data-sort-value="{{{Author}}}, {{{Title}}}"|{{{Author}}} |data-sort-value={{{Title}}}|{{{Title}}} | | |

Description

This template is used to add formatted entries to the sortable table on the Skeptical Reading List page.

Usage

Entries should be added in order, as the table does not automatically order itself on opening.

Mandatory variables:

  • Author
  • Title

Optional variables:

  • AuthorURL
  • TitleURL
  • Reference – insert internal, SGU transcripts reference to book
  • Gutenberg – insert URL then year, separated by a space
  • Category


Example:

{{Book list entry
|Author    = Charles Darwin
|AuthorURL = http://en.wikipedia.org/wiki/Charles_Darwin
|Title     = On The Origin of Species
|TitleURL  = http://en.wikipedia.org/wiki/On_the_origin_of_species
|Reference = [[SGU_Episode_38#Evolution.2C_the_Promotion_of_Positive_Science_News_.2830:42.29|38]]
|Gutenberg = http://www.gutenberg.org/ebooks/2009 2009
|Category  = Evolution
}}

Copy

{{Book list entry
|Author    = 
|AuthorURL = 
|Title     = 
|TitleURL  = 
|Reference = 
|Gutenberg = 
|Category  = 
}}