Team:TU Delft/Wiki Development

From 2010.igem.org

(Difference between revisions)
(Wiki Development)
(Wiki Development)
 
Line 10: Line 10:
* Append ?action=raw to the URL to get the raw wiki page contents. This is mostly used for storing javascript
* Append ?action=raw to the URL to get the raw wiki page contents. This is mostly used for storing javascript
-
* Append ?action=render to the URL to get the pure page content rendered as HTML (without the standard iGEM wiki headers around it). This can be used for loading ajax behavior, loading wiki pages dynamically.
+
* Append ?action=render to the URL to get the pure page content rendered as HTML (without the standard iGEM wiki headers around it). This can be used for ajax behavior, loading wiki pages dynamically.

Latest revision as of 22:24, 12 September 2010

Wiki Development

The TU Delft wiki uses a number of MediaWiki features that might be worth mentioning, if you're working on a wiki too. Most of it can be found at http://www.mediawiki.org/wiki/Help:Contents as well

  • Templates:
{{:Team:TU_Delft/TemplateName}}

or with a template parameter:

{{:Team:TU_Delft/TemplateName|ParameterName=abc}}

Within the template, you can then access the parameter with {{{ParameterName}}}

  • Append ?action=raw to the URL to get the raw wiki page contents. This is mostly used for storing javascript
  • Append ?action=render to the URL to get the pure page content rendered as HTML (without the standard iGEM wiki headers around it). This can be used for ajax behavior, loading wiki pages dynamically.