Difference between revisions of "Template:Quotations"

From Critiques Of Libertarianism
Jump to: navigation, search
 
Line 1: Line 1:
<includeonly>{{#dpl:categoryregexp = {{{1|{{PAGENAME}}}}} & Quotations|noresultsheader=No quotations found in this category.|include = {Quote}.dpl|format = ,,\n,}}</includeonly><noinclude>== Usage ==
+
<includeonly>[[Category:Lists Quotations In A Category]]
 +
{{#if: {{{quotes|}}} |== Quotations ==}}
 +
{{#dpl:category = {{{title|{{{1|{{PAGENAME}}}}}}}} & Quotations|noresultsheader=No quotations found in this category.|include = {Quote}.dpl|format = ,,\n,}}</includeonly><noinclude>== Usage ==
 
<code><nowiki>{{Quotations | any category}}  <!-- if the argument is omitted, PAGENAME is used --></nowiki></code>
 
<code><nowiki>{{Quotations | any category}}  <!-- if the argument is omitted, PAGENAME is used --></nowiki></code>
  
Line 7: Line 9:
  
 
[[Template:Quotations]] should have no side-effects because it performs no actual transclusions: all the information is from metadata.
 
[[Template:Quotations]] should have no side-effects because it performs no actual transclusions: all the information is from metadata.
 +
 +
If there is a DPL error when using this template, it is likely due to a character such as a single quote, pipe, or ampersand.  Use a category argument with those characters replaced by period, the pattern to match any character.  Other SQL pattern matching problems might be due to ?, $, +, * and other characters with special meanings.
  
 
See: [[Template:Quotes]], [[Template:Quote]], [[Template:GetMyQuotes]], [[Template:Quote.dpl]] and [[Template:Quote.dpl.default]].
 
See: [[Template:Quotes]], [[Template:Quote]], [[Template:GetMyQuotes]], [[Template:Quote.dpl]] and [[Template:Quote.dpl.default]].
 
</noinclude>
 
</noinclude>

Latest revision as of 12:29, 17 February 2014