plugin:netlogo
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:netlogo [2012-10-27 07:22] – [Development] rikblok | plugin:netlogo [2018-07-28 07:30] (current) – all links https rikblok | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : rik.blok@ubc.ca | email : rik.blok@ubc.ca | ||
type : syntax | type : syntax | ||
- | lastupdate : 2012-10-20 | + | lastupdate : 2018-07-27 |
- | compatible : Angua, Adora Belle | + | compatible : Angua, Adora Belle, Weatherwax, 2016-06-26a |
depends | depends | ||
conflicts | conflicts | ||
Line 13: | Line 13: | ||
tags : applet, programming | tags : applet, programming | ||
- | downloadurl: | + | downloadurl: |
- | bugtracker : http:// | + | bugtracker : https:// |
- | sourcerepo : http:// | + | sourcerepo : https:// |
donationurl: | donationurl: | ||
---- | ---- | ||
- | [[http:// | + | [[https:// |
+ | |||
+ | The NetLogo plugin for DokuWiki allows wiki editors to embed NetLogo models directly in their pages. | ||
- | The NetLogo plugin for DokuWiki allows wiki editors to embed NetLogo applets in their pages. | ||
===== Installation ===== | ===== Installation ===== | ||
- | This plugin will embed '' | + | Search and install |
- | nlogo !application/ | + | |
- | + | ||
- | :!: **External requirements: | + | |
- | Install the plugin using the [[plugin: | ||
===== Examples/ | ===== Examples/ | ||
- | See an implementation of [[http:// | + | See an implementation of [[https:// |
===== Syntax ===== | ===== Syntax ===== | ||
+ | |||
==== Basic syntax ==== | ==== Basic syntax ==== | ||
- | You can include | + | You can include |
- | Real size: {{applet.nlogo}} | + | Real size: {{https:// |
- | Resize to given width: | + | Resize to given width: |
- | Resize to given width and height: {{applet.nlogo? | + | Resize to given width and height: {{https:// |
| | ||
- | Note that NetLogo | + | Note that NetLogo |
By using left or right whitespaces you can choose the alignment. | By using left or right whitespaces you can choose the alignment. | ||
- | Right: | + | Right: |
- | Left: {{applet.png }} | + | Left: {{https:// |
- | Center: {{ applet.png }} | + | Center: {{ https:// |
- | + | ||
- | Only files on the current server, uploaded to the DokuWiki media folder are permitted. The NetLogo plugin respects [[: | + | |
Unlike images and other media files, titles are not allowed. | Unlike images and other media files, titles are not allowed. | ||
- | {{applet.nlogo|Click to download | + | {{https:// |
+ | An empty title is allowed, however, for compatibility with the default format of the "Add Images and other files" toolbar button. | ||
+ | {{https:// | ||
+ | will execute the model. | ||
==== Advanced syntax ==== | ==== Advanced syntax ==== | ||
- | Instead of adding a title to create a download link, you may add a ''? | + | Instead of adding a title to create a download link, you may add a ''? |
- | + | {{https:// | |
- | {{applet.nlogo|}} | + | |
- | {{applet.nlogo? | + | |
| | ||
- | By default the '' | ||
- | |||
- | Centered without version: | ||
- | Centered with version: | ||
- | Centered with size and version: {{ applet.nlogo? | ||
- | |||
You may want to present the source code to the file directly in the wiki page. To do so add ''? | You may want to present the source code to the file directly in the wiki page. To do so add ''? | ||
- | {{applet.nlogo? | + | {{https:// |
| | ||
- | Currently, the raw code is simply wrapped in a [[: | + | Currently, the raw code is simply wrapped in a [[:wiki: |
- | NetLogo | + | NetLogo |
- | {{applet.nlogo? | + | {{https:// |
| | ||
- | Currently, the text is dumped to the page without formatting. | + | The text is presented |
+ | |||
+ | {{https:// | ||
===== Configuration and Settings ===== | ===== Configuration and Settings ===== | ||
None at this time. | None at this time. | ||
+ | |||
===== Development ===== | ===== Development ===== | ||
+ | |||
=== How it works === | === How it works === | ||
- | The first and biggest challenge I had in developing this plugin was figuring out how to handle security. | ||
- | - It wouldn' | ||
- | - It wouldn' | ||
- | A user should only be able to run the file if he/she has permission to read it. | ||
- | FIXME | + | == Direct linking == |
- | --- [[user>rikblok|Rik Blok]] // | + | This plugin requires direct linking to the raw '' |
+ | |||
+ | |||
+ | == Applet size == | ||
+ | |||
+ | How big should the model be on the page? The user can specify with parameters but if not specified it reads the '' | ||
=== Change Log === | === Change Log === | ||
- | {{rss>http:// | + | {{rss>https:// |
=== Known Bugs and Issues === | === Known Bugs and Issues === | ||
See [[https:// | See [[https:// | ||
+ | |||
=== ToDo/Wish List === | === ToDo/Wish List === | ||
Line 116: | Line 117: | ||
Here are some improvements the author hopes to see implemented: | Here are some improvements the author hopes to see implemented: | ||
- | * The ''? | ||
* The ''? | * The ''? | ||
- | * Options (such as the applet download url) are hard-coded. | ||
- | * Is it possible (and a good idea?) to automatically modify '' | ||
plugin/netlogo.1351315365.txt.gz · Last modified: 2012-10-27 07:22 by rikblok