Difference between revisions of "Template:List"
From Critiques Of Libertarianism
(Created page with '<includeonly>{{#dpl:category = {{{1}}}|notcategory=Quotations|ordermethod = sortkey|include = {URL}.dpl,{DES}.dpl|format = ,,\n,}}</includeonly><noinclude>== Usage == <nowiki>{{L…') |
|||
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. | + | 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. |
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]]. | ||
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> |