Template:QotW single name: Difference between revisions
Jump to navigation
Jump to search
(attempt building 2 sortkeys) |
m (added category) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
|<span style="display:none">{{{sortkey1}}}</span> | |<span style="display:none">{{{sortkey1}}}</span> | ||
|style="border-left:2px solid #fff;border-left-style:hidden;padding:0.4em 0em"|<span style="display:none">{{#if {{{sortkey2|}}}|{{{sortkey2}}}|{{{sortkey1}}} }}</span><div style="position:relative;left:-8em;margin-right:-9em;overflow:auto">{{{name}}}</div> | |style="border-left:2px solid #fff;border-left-style:hidden;padding:0.4em 0em"|<span style="display:none">{{#if: {{{sortkey2|}}}|{{{sortkey2}}}|{{{sortkey1}}}}}</span><div style="position:relative;left:-8em;margin-right:-9em;overflow:auto">{{{name}}}</div> | ||
<noinclude> | <noinclude> | ||
Line 23: | Line 23: | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category: Table entry templates]] | |||
[[Category:Templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 14:06, 13 September 2016
|
|style="border-left:2px solid #fff;border-left-style:hidden;padding:0.4em 0em"|
{{{name}}}
Description[edit]
This is a simplified way to add and format entries to the Skeptical Quote Collection that span both first name and surname columns. e.g. Plato
Usage[edit]
{{QotW single name |sortkey1 = |sortkey2 = |name = }}
Example:
{{QotW single name |sortkey1 = James Randi |sortkey2 = Randi James |name = [http://en.wikipedia.org/wiki/James_Randi James Randi] }}