Template:Book list entry: Difference between revisions
Jump to navigation
Jump to search
m (fix typo) |
m (added conditions to author and title URLs) |
||
Line 1: | Line 1: | ||
|data-sort-value="{{{Author}}}, {{{Title}}}"|[{{{AuthorURL}}} {{{Author}}}] | |data-sort-value="{{{Author}}}, {{{Title}}}"|{{#if: {{{AuthorURL|}}} | [{{{AuthorURL}}} {{{Author}}}] | {{{Author}}} }} | ||
|data-sort-value={{{Title}}}|[{{{TitleURL}}} {{{Title}}}] | |data-sort-value={{{Title}}}|{{#if: {{{TitleURL|}}} | [{{{TitleURL}}} {{{Title}}}] | {{{Title}}} }} | ||
|{{#if: {{{Reference|}}} | {{{Reference}}} }} | |{{#if: {{{Reference|}}} | {{{Reference}}} }} | ||
|{{#if: {{{Gutenberg|}}} | [{{{Gutenberg}}}] }} | |{{#if: {{{Gutenberg|}}} | [{{{Gutenberg}}}] }} |
Revision as of 09:10, 22 March 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.
If including Gutenberg link, insert URL then year, separated by a space
The most relevant category should be entered as category1, as this will determine the sorting order for the category column.
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 }}