Difference between revisions of "Example index code"
From Critiques Of Libertarianism
(Created page with "500 {{DES | des = Prototype wiki page for a subject index.}} Entries in an index are sorted by the sort key. Cut and paste, then replace between the asteri...") |
|||
Line 8: | Line 8: | ||
<nowiki>{{</nowiki>DES | des = *Description to be used when the parent category is listed by Template:List.*<nowiki>}}</nowiki> | <nowiki>{{</nowiki>DES | des = *Description to be used when the parent category is listed by Template:List.*<nowiki>}}</nowiki> | ||
<nowiki>*Any text that is meant to be viewed on this page.*</nowiki> | <nowiki>*Any text that is meant to be viewed on this page.*</nowiki> | ||
− | + | <nowiki>{{</nowiki>Links<nowiki>}} <!-- optional list of links --></nowiki> | |
− | <nowiki>{{</nowiki> | + | |
− | + | ||
<nowiki>{{</nowiki>Quotes<nowiki>}} <!-- optional list of quotations --></nowiki> | <nowiki>{{</nowiki>Quotes<nowiki>}} <!-- optional list of quotations --></nowiki> | ||
</pre> | </pre> | ||
This example can be viewed directly and be listed for its categories by [[Template:List]]. | This example can be viewed directly and be listed for its categories by [[Template:List]]. | ||
If it is viewed directly, it will present a list of links in the category of the title and a list of quotes in the same category. | If it is viewed directly, it will present a list of links in the category of the title and a list of quotes in the same category. |