Difference between revisions of "Short Howto on Wiki"
(wtf does installing dansguardian have to do with any of this?!?) |
|||
Line 19: | Line 19: | ||
MediaWiki uses the concept of categories to help you separate information in logical related pages. Sometimes you want to create a tree-like structure to organize that information, this can be done by using the concept of subcategories. To make a category ''X'' to act as a subcategory of category ''Y'', just add the wiki tag: '''<nowiki>[[Category:Y]]</nowiki>''' in the ''X'' category description page, this way you will make ''Y'' category the parent of ''X'' category. | MediaWiki uses the concept of categories to help you separate information in logical related pages. Sometimes you want to create a tree-like structure to organize that information, this can be done by using the concept of subcategories. To make a category ''X'' to act as a subcategory of category ''Y'', just add the wiki tag: '''<nowiki>[[Category:Y]]</nowiki>''' in the ''X'' category description page, this way you will make ''Y'' category the parent of ''X'' category. | ||
− | == Version | + | == Macros == |
+ | ===Version info=== | ||
Below the categories (if any) you can state the following code | Below the categories (if any) you can state the following code | ||
<nowiki> {{versioninfo}} </nowiki> | <nowiki> {{versioninfo}} </nowiki> |
Latest revision as of 16:10, 18 October 2010
Creating a new page
To create a new page you don't really need a wiki-link that points to it, you only need to write this in your location bar:
http://www.linuxmce.com/wiki/index.php/My New Page Name
This way we will not have links pointing to dead / unfinished pages.
Categories
Look on the Categories page to see the categories that where already entered and click on one of the categories to see the documents related to it. If you want to add your document in a existing category or wish to create a new one, add this wiki tag for each category at the top of your page:
[[Category:First Category Name]] [[Category:Second Category Name]]
Tree like structure using Categories
MediaWiki uses the concept of categories to help you separate information in logical related pages. Sometimes you want to create a tree-like structure to organize that information, this can be done by using the concept of subcategories. To make a category X to act as a subcategory of category Y, just add the wiki tag: [[Category:Y]] in the X category description page, this way you will make Y category the parent of X category.
Macros
Version info
Below the categories (if any) you can state the following code
{{versioninfo}}
This will result in the version state table to show
Version | Status | Date Updated | Updated By |
---|---|---|---|
710 | Unknown | N/A | N/A |
810 | Unknown | N/A | N/A |
1004 | Unknown | N/A | N/A |
1204 | Unknown | N/A | N/A |
1404 | Unknown | N/A | N/A |
Usage Information |
If you visit a page that has an "unkown" status and you know the status for a version, modify the above tag by putting in parameter substitutions. For example, if I find a page that I know works with 810, I would modify the tag to read for instance
{{versioninfo|810Status=Working|810UpdatedDate=1st May 2010|810UpdatedBy=bongowongo}}
Will result in
Version | Status | Date Updated | Updated By |
---|---|---|---|
710 | Unknown | N/A | N/A |
810 | Working | 1st May 2010 | Wierdbeard65 |
1004 | Unknown | N/A | N/A |
1204 | Unknown | N/A | N/A |
1404 | Unknown | N/A | N/A |
Usage Information |