Difference between revisions of "Help:Classification in categories"

From OpenMedia
Jump to: navigation, search
m (+hint PAGENAME word2-n, word1)
m (+Images in subcategories)
Line 26: Line 26:
 
;Example {{Logo | type = Hint}} : On a page named “Resource Subtype” you can sort it to “Subtype” (i.e. letter S) by adding the optional sorting word after the vertical bar “|”: <code><nowiki>[[Category:Metadata | Subtype]]</nowiki></code>.
 
;Example {{Logo | type = Hint}} : On a page named “Resource Subtype” you can sort it to “Subtype” (i.e. letter S) by adding the optional sorting word after the vertical bar “|”: <code><nowiki>[[Category:Metadata | Subtype]]</nowiki></code>.
  
For the purpose of “sub-sorting” within a category especially of scientific names, the [[template: PAGENAME word2-n, word1]] can be used. From a page name “Bombus hortorum” it creates a string “hortorum, Bombus”.
+
==== Automatic sorting ====
 +
 
 +
If you want a page name like “Bombus hortorum” sorted automatically by “hortorum, Bombus” then use [[template: PAGENAME word2-n, word1]]. Just insert on the category page:
 +
<nowiki>{{DEFAULTSORT: {{PAGENAME word2-n, word1}}}}</nowiki>
  
 
=== Nesting {{Back to TOC}} ===
 
=== Nesting {{Back to TOC}} ===
Line 40: Line 43:
 
| style="border-bottom:1px dashed;border-right:1px dashed;vertical-align:bottom;" | follow link of category→
 
| style="border-bottom:1px dashed;border-right:1px dashed;vertical-align:bottom;" | follow link of category→
 
|}
 
|}
 +
 +
=== Images in subcategories ===
 +
 +
As images are shown by default just from the current category level it might be comfortable to browse also the images form subcategory levels. To do so, use
 +
<nowiki>{{Images in Subcategories}}</nowiki>
 +
… and by default up to 10&nbsp;images are shown also from subcategories.
  
 
=== Check out {{Back to TOC}} ===
 
=== Check out {{Back to TOC}} ===

Revision as of 19:36, 25 November 2010

Help > Classification in categories
Over-categorization with double entries shuold be avoided, as all media appear in both categories.

Classification in general Back to Table of Contents

Classification in categories is essential to find quickly articles or media types or just for a classification. [[Category:Flora]] creates a category. But it has to be mentioned that it will not be found by a standard search, because this page isn't esteablished yet really. To do so you have to click the red link from the category's name and add a description or purpose of this particular category. An added colon, however, creates only a link to the category, e.g.: [[:Category:Flora]]. Hereby a convenient way adding categories is to activate the “HotCat” categorisation tool in your own preferences in section “Gadgets”.

Sort Sorting Back to Table of Contents

In general each category or page is sorted by it's name, but it's also possible to alter this behaviour:

Wiki-Page Abies alba


{{DEFAULTSORT:alba, Abies}}
[[Category:Abies]]
[[Category:Conifers]]
[[Category:Flora]]
[[Category:Descriptions of species]]

Now this category will be sorted differently as given and not like “Abies alba”. In a similar way you can alter the way of sorting of categorised words themselves:

Example Tips/hints/examples 
On a page named “Resource Subtype” you can sort it to “Subtype” (i.e. letter S) by adding the optional sorting word after the vertical bar “|”: [[Category:Metadata | Subtype]].

Automatic sorting

If you want a page name like “Bombus hortorum” sorted automatically by “hortorum, Bombus” then use template: PAGENAME word2-n, word1. Just insert on the category page:

{{DEFAULTSORT: {{PAGENAME word2-n, word1}}}}

Nesting Back to Table of Contents

It's also possible to nest categories in the following way and create sub-categories:

Page with


[[Category:A sub-category]]
Sub-category's page with


[[Category:Super-category]]
follow link of category→

Images in subcategories

As images are shown by default just from the current category level it might be comfortable to browse also the images form subcategory levels. To do so, use

{{Images in Subcategories}}

… and by default up to 10 images are shown also from subcategories.

Check out Back to Table of Contents

To check unused categories the following links might be very helpful:

Classification using template “Metadata” Back to Table of Contents

For media data a special template was developed that handles categorisation as well. Here is an example for a German description of a Heteropteran wing description:

{{Metadata
| Type=StillImage
| Title=Wanzenflügel mit Legende
| Caption = Ein Wanzenflügel für Erklärungen in Bestimmungsschlüsseln.
| Scientific Names = Heteroptera
{{en| inline=1 | Heteroptera }}, {{de| inline=1 | Wanzen}}, {{cz| inline=1 | Ploštice}}, {{fr| inline=1 | Heteropter}}, {{fi| inline=1 | Luteet}}
| Metadata Language=de
| Language = de
| Creator= [[User:GiselaWeber]]
| Subject Category = Insecta, Heteroptera
| General Keywords = Morphological details, Legends, Schematic drawings, Wings (Insecta)
}}

…which produces:

Documentation of this template
Search media by metadata
Deutsch

Wanzenflügel mit Legende

Caption:Ein Wanzenflügel für Erklärungen in Bestimmungsschlüsseln.

Creators: (Please consider adding this information)
Copyright Statement: Copyrighted Material; the copyright remains with the author (not this web publication)
License Statement: Creative Commons: Author Attribution Required, Share-Alike (cc-by-sa 3.0)
World Region: (Desirable information missing!)
Country Codes: (Desirable information missing!)
Subject Category: Insecta; Heteroptera
General Keywords: Morphological details; Legends; Schematic drawings; Wings (Insecta)
Scientific Names: Heteroptera

<div class="description en" lang="en" style="display:inline[[category:Heteroptera <div class="description en" lang="en" style="display:inline]]Heteroptera

English: Heteroptera</div>,
English: Heteroptera</div>,
Deutsch: Wanzen</div>,
Deutsch: Wanzen</div>,
Čeština: Ploštice</div>,
Čeština: Ploštice</div>,
Français&nbsp]]; :</span> Heteropter</div>, <div class="description fi" lang="fi" style="display:inline[[category:
Heteropter</div>, <div class="description fi" lang="fi" style="display:inline]]: Heteropter</div>,
Suomi: Luteet</div></td></tr>

</table></td>

Type:StillImage
Language:Deutsch
</td></tr>

</td></tr> </table>

“Subject Category” and “General Keywords” are hereby automatically categorised. And of course you can provide less or more information, but the much information you can give the better it is. For details and parameters of this template see on documentation’s page.