Template:QotW single name: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
(attempt building 2 sortkeys)
m (amended)
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>



Revision as of 03:11, 15 July 2012

|{{{sortkey1}}}

|style="border-left:2px solid #fff;border-left-style:hidden;padding:0.4em 0em"|{{{sortkey1}}}

{{{name}}}


Description

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

{{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]
}}