iCIS Intra Wiki
categories: Info - Support - Software - Hardware | AllPages - uncategorized
Difference between revisions of "WikiPolicy"
Jump to navigation
Jump to search
(→Tips) |
(→Tips) |
||
Line 29: | Line 29: | ||
Example: | Example: | ||
in het [[Help:Contents]] page we added the following code : | in het [[Help:Contents]] page we added the following code : | ||
− | + | ||
− | + | <nowiki> {{:Getting_Started_MediaWiki}}</nowiki> | |
| | ||
to include [[Getting Started MediaWiki]] page | to include [[Getting Started MediaWiki]] page | ||
− | *you can embed an external page into a page using the extension anyweb. | + | *you can embed an external page into a page using the extension anyweb. |
+ | |||
<nowiki> <anyweb> http://www.nu.nl </anyweb></nowiki> | <nowiki> <anyweb> http://www.nu.nl </anyweb></nowiki> | ||
− | *By default anyweb includes the page using an iframe and uses javascript to dynamically set the height of this iframe to the height of the current window. However you can tweak this behaviour by the following html attributes : | + | |
− | **'''minimalheight=200'' : if your browser window gets very small, than the iframe height will also be dynamically set very small. | + | *By default anyweb includes the page using an iframe and uses javascript to dynamically set the height of this iframe to the height of the current window. Example: [[Embed]] However you can tweak this behaviour by the following html attributes : |
+ | **'''minimalheight=200'' : if your browser window gets very small, than the iframe height will also be dynamically set very small. By setting a minimal height the iframe's height will never get smaller than this height. | ||
**''extraheight=-50'' : adds extra height to the innerframe tag; note that a negative value will make it smaller. | **''extraheight=-50'' : adds extra height to the innerframe tag; note that a negative value will make it smaller. | ||
− | **''fixedheight=300 '' : By setting the fixedheight attribute the height of the iframe will be fixed to the given value. Then the dynamic height calculation based on window size is disabled! Example: | + | **''fixedheight=300 '' : By setting the fixedheight attribute the height of the iframe will be fixed to the given value. Then the dynamic height calculation based on window size is disabled! Example: [[People RU]] |
Revision as of 17:43, 4 May 2012
On each page we have :
- sidebar (MediaWiki:Sidebar) : list the most important pages
- topbar (MediaWiki:Sitenotice) : list the several categories; from here all pages can be found
Category Policy
At at end of each page add the following categories :
- always add : [[Category:AllPages]]
- for each category X add : [[Category:X]]
Note: by using the [[Category:AllPages]] category instead of the [[Special:AllPages]] we can hide some pages in the uncategorized space. We can see the pages in the uncategorized space using the special page : Special:UncategorizedPages.
Note: in markup we can be the category links at the top of the page, but they will still be rendered at the end of the page
Tips
- to force toc in page add __TOC__ in page
- to escape content use the <nowiki> ... </nowiki> tags
- Special:Version : lists info wiki + all loaded extensions (see WikiAdmin for more possible extensions)
- Special:AllPages : Listing of really all pages
- Special:Categories : Listing of all categories
- you can include one page contents in another page.
Example: in het Help:Contents page we added the following code : {{:Getting_Started_MediaWiki}} to include Getting Started MediaWiki page
- you can embed an external page into a page using the extension anyweb.
<anyweb> http://www.nu.nl </anyweb>
- By default anyweb includes the page using an iframe and uses javascript to dynamically set the height of this iframe to the height of the current window. Example: Embed However you can tweak this behaviour by the following html attributes :
- 'minimalheight=200 : if your browser window gets very small, than the iframe height will also be dynamically set very small. By setting a minimal height the iframe's height will never get smaller than this height.
- extraheight=-50 : adds extra height to the innerframe tag; note that a negative value will make it smaller.
- fixedheight=300 : By setting the fixedheight attribute the height of the iframe will be fixed to the given value. Then the dynamic height calculation based on window size is disabled! Example: People RU