Difference between revisions of "Example person code"
From Critiques Of Libertarianism
(Created page with "300 {{DES | des = Prototype wiki page for a libertarian person.}} Cut and paste, then replace between the asterisks: <pre> <nowiki>[[Category:People|*sort k...") |
m (moved Example person to Example person code) |
||
Line 1: | Line 1: | ||
[[Category:Examples|300]] | [[Category:Examples|300]] | ||
{{DES | des = Prototype wiki page for a libertarian person.}} | {{DES | des = Prototype wiki page for a libertarian person.}} | ||
+ | All person pages should be titled with the person's normal order of names. Sorting by last name (then first) is done with the sort key. | ||
+ | |||
Cut and paste, then replace between the asterisks: | Cut and paste, then replace between the asterisks: | ||
<pre> | <pre> | ||
− | <nowiki>[[Category:People|*sort key*]] <!-- | + | <nowiki>[[Category:People|*sort key*]] <!-- exactly one required --></nowiki> |
− | <nowiki>[[Category:Libertarians|*sort key*]] <!-- | + | <nowiki>[[Category:Libertarians|*sort key*]] <!-- optional (if a libertarian) --></nowiki> |
<nowiki>[[Category:*some category*|*sort key*]] <!-- 0 or more other categories --></nowiki> | <nowiki>[[Category:*some category*|*sort key*]] <!-- 0 or more other categories --></nowiki> | ||
<nowiki>{{</nowiki>DES | des = *Description to be used when the category is listed by Template:List.*<nowiki>}}</nowiki> | <nowiki>{{</nowiki>DES | des = *Description to be used when the 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>== Links ==</nowiki> | + | <nowiki>== Links == <!-- optional header for list of links --></nowiki> |
− | <nowiki>{{</nowiki>List<nowiki>}}< | + | <nowiki>{{</nowiki>List<nowiki>}} <!-- optional list of links --></nowiki> |
− | + | <nowiki>== Quotations == <!-- optional header for list of quotations --></nowiki> | |
− | <nowiki>== Quotations ==</nowiki> | + | <nowiki>{{</nowiki>Quotes<nowiki>}} <!-- optional list of quotations --></nowiki> |
− | <nowiki>{{</nowiki>Quotes<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 | + | If it is viewed directly, it will present a list of links in this person's category and a list of quotes in this person's category. |