Difference between revisions of "Template:List"
From Critiques Of Libertarianism
Line 1: | Line 1: | ||
− | <includeonly>{{#dpl:category = {{{ | + | <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 8: | Line 10: | ||
If the description of a page in the category is set by transcluding [[Template:DES]], the description is displayed by [[Template:DES.dpl]]. Otherwise the description comes from [[Template:DES.dpl.default]]. | If the description of a page in the category is set by transcluding [[Template:DES]], the description is displayed by [[Template:DES.dpl]]. Otherwise the description comes from [[Template:DES.dpl.default]]. | ||
− | [[Template:List]] should have no side-effects because it performs no actual transclusions: all the information is from metadata. | + | [[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. | ||
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> |