Extension:MoveToSkin

MoveToSkin allows Skin designers to specify areas of the skin which can hold content defined within the Wiki article. By using the parser function, content defined in the article body can be moved to anywhere in the skin without relying on clientside Javascript.

Installation
Usual instal procedure. Add the extension and include MoveToSkin.php to LocalSettings.

Usage in a wiki article
In your articles, use the parser function. You can use the same target mutiple times.
 * The first argument, *target* is a unique name you can use in the skin to show this content.
 * The second argument *content* is the content you want to move.

Usage in the skin
Use the static method MoveToSkin::getContent in your skin to grab an array of all the content, indexed by target name. You can then use this to output the content wherever you choose. Eg.