iCIS Intra Wiki
categories:             Info      -       Support      -       Software       -      Hardware       |      AllPages       -      uncategorized

Difference between revisions of "WikiPolicy"

From ICIS-intra
Jump to navigation Jump to search
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>
+
  <nowiki> {{:Getting_Started_MediaWiki}}</nowiki>
 
  &nbsp;  
 
  &nbsp;  
 
  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.&nbsp;
 +
 
 
   <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&nbsp;:  
+
 
**'''minimalheight=200''&nbsp;: if your browser window gets very small, than the iframe height will also be dynamically set very small. <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;By setting a minimal height the iframe's height will never get smaller than this height.  
+
*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:&nbsp;[[Embed]]&nbsp;However you can tweak this behaviour by the following html attributes&nbsp;:  
 +
**'''minimalheight=200''&nbsp;: 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''&nbsp;&nbsp;: adds extra height to the innerframe tag; note that a negative value will make it smaller.  
 
**''extraheight=-50''&nbsp;&nbsp;: adds extra height to the innerframe tag; note that a negative value will make it smaller.  
**''fixedheight=300 ''&nbsp;: 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: see [[People RU]]
+
**''fixedheight=300 ''&nbsp;: 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: &nbsp;[[People RU]]

Revision as of 17:43, 4 May 2012


Navigation Policy

On each page we have :

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