Difference between revisions of "Template:List"

From Critiques Of Libertarianism
Jump to: navigation, search
 
Line 1: Line 1:
<includeonly>[[Category:Lists A Category]]{{#dpl:category = {{{1|{{PAGENAME}}}}}|notcategory=Quotations|noresultsheader=Nothing in this index yet.|addeditdate = true|ordermethod = sortkey,firstedit|include = {URL}.dpl,{DES}.dpl|format =,,\n,}}</includeonly><noinclude>== Usage ==
+
<includeonly>[[Category:Lists A Category]]
 +
{{#if: {{{links|}}} |== Links ==}}
 +
{{#dpl:category={{{title|{{{1|%TITLE%}}}}}}|notcategory=Quotations|addcategories=true|noresultsheader=Nothing in this index yet.|addeditdate = true|ordermethod = sortkey,firstedit|include = {URL}.dpl,{Availability}.dpl,{List}.dpl,{DES}.dpl|format =,,{{#ifeq: {{CURRENTUSER}} | Mhuben | <br><small> {{Red| %CATNAMES% }}</small> |}}\n,}}</includeonly><noinclude>== Usage ==
 
<code><nowiki>{{List | any category}}  <!-- if the argument is omitted, PAGENAME is used --></nowiki></code>
 
<code><nowiki>{{List | any category}}  <!-- if the argument is omitted, PAGENAME is used --></nowiki></code>
  
Line 9: Line 11:
 
   
 
   
 
[[Template:List]] has one side effect: it places the including page into [[:Category:Lists A Category]].
 
[[Template:List]] has one side effect: it places the including page into [[:Category:Lists A Category]].
 +
 +
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.
  
 
[[Template:List]] should have no other side-effects because it performs no actual transclusions: all the information is from metadata.
 
[[Template:List]] should have no other side-effects because it performs no actual transclusions: all the information is from metadata.
  
 
See: [[Template:URL]], [[Template:URL.dpl]], [[Template:URL.dpl.default]], [[Template:DES]], [[Template:DES.dpl]], [[Template:DES.dpl.default]], and  [[Template:Category Age]].</noinclude>
 
See: [[Template:URL]], [[Template:URL.dpl]], [[Template:URL.dpl.default]], [[Template:DES]], [[Template:DES.dpl]], [[Template:DES.dpl.default]], and  [[Template:Category Age]].</noinclude>

Latest revision as of 12:27, 17 February 2014