Difference between revisions of "Template:List"

From Critiques Of Libertarianism
Jump to: navigation, search
Line 2: Line 2:
 
<nowiki>{{List | any category}}</nowiki>
 
<nowiki>{{List | any category}}</nowiki>
  
This template lists all the pages in a category, using DPL to display their titles and descriptions as definition lists.  It is safe beacause it performs no actual transclusions: all the information is from metadata.  The entries are sorted using the sortkey of the category.
+
This template lists all the pages in a category, using DPL to display their titles and descriptions as definition lists.  The titles are linked either within the wiki or to external URLS.  The entries are sorted using the sortkey of the category.
  
If a page that transcludes [[Template:URL]], the title is linked to the URL using [[Template:URL.dpl]].  If there is no URL information , the title is linked within the wiki using [[Template:URL.dpl.default]].  If the description of a page is set by transcluding [[Template:DES]], the description is displayed by  [[Template:DES.dpl]].  Otherwise the description comes from [[Template:DES.dpl.default]].
+
If a page that transcludes [[Template:URL]], the title is linked to the URL using [[Template:URL.dpl]].  If there is no URL information , the title is linked within the wiki using [[Template:URL.dpl.default]].   
 +
 
 +
If the description of a page 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.
  
 
See: [[Template:URL]], [[Template:URL.dpl]], [[Template:URL.dpl.default]], [[Template:DES]], [[Template:DES.dpl]], and [[Template:DES.dpl.default]].</noinclude>
 
See: [[Template:URL]], [[Template:URL.dpl]], [[Template:URL.dpl.default]], [[Template:DES]], [[Template:DES.dpl]], and [[Template:DES.dpl.default]].</noinclude>

Revision as of 15:03, 3 September 2010