Using header templates: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{delete|information outdated}} | ||
= Overview = | = Overview = | ||
* The wiki category system allows authors to group related pages together. | * The wiki category system allows authors to group related pages together. | ||
Line 13: | Line 14: | ||
# Every category has a header | # Every category has a header | ||
#* The Wiki category has a header named '''HdrWiki''' | #* The Wiki category has a header named '''HdrWiki''' | ||
#* The header template lists the supercategories '''Main | #* The header template lists the supercategories '''Main => Major category => Minor category => This category''' | ||
#* Followed by the subcategories, if any, in parentheses: '''(Subcategory 1 | #* Followed by the subcategories, if any, in parentheses: '''(Subcategory 1, Subcategory 2)''' | ||
#* Every category has a link to its header template | #* Every category has a link to its header template | ||
= Examples = | = Examples = | ||
* Markup for this page's header | * Markup for this page's header | ||
Line 23: | Line 25: | ||
* [[Template:HdrOther]] | * [[Template:HdrOther]] | ||
<pre> | <pre> | ||
'''[[Main Page|Main]] | '''[[Main Page|Main]] => [[:Category:Other|Other]] ([[:Category:Wiki|Wiki]])''' | ||
---- | ---- | ||
</pre> | </pre> | ||
= See also: = | = See also: = | ||
* [[Using Categories]] | * [[Using Categories]] | ||
[[Category:Wiki]] | [[Category:Wiki]] |
Latest revision as of 12:23, 3 May 2011
This page was tagged as a candidate for deletion. If this page does not meet our criteria for deletion, please remove this notice.
(Explanation: information outdated)
Overview
- The wiki category system allows authors to group related pages together.
- The header templates build on the category system to provide a means for the reader to navigate to pages of interest.
- The category system is an ongoing process; as content is added, the category system will be refactored.
- The category system can be refactored by making changes only to the category pages and category header templates. The navigation headers for individual pages will automatically change along with the categories.
Design principles
- Every page has a "primary" category
- This page has the primary category Wiki
- Every page has a navigation header based on its primary category
- This page has the header HdrWiki
- Pages may have multiple categories, but only one header
- Every category has a header
- The Wiki category has a header named HdrWiki
- The header template lists the supercategories Main => Major category => Minor category => This category
- Followed by the subcategories, if any, in parentheses: (Subcategory 1, Subcategory 2)
- Every category has a link to its header template
Examples
- Markup for this page's header
{{HdrWiki}}
'''[[Main Page|Main]] => [[:Category:Other|Other]] ([[:Category:Wiki|Wiki]])''' ----