Template:EmbedViewer

From LifeWiki
Revision as of 10:27, 9 October 2016 by Apple Bottom (talk | contribs) (New template, for easy embedding of LifeViewers in article bodies.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template can be used to embed a floating LifeViewer applet in an article, using an RLE code snippet from the RLE: namespace. It takes the following parameters:

  • position: floating position (default: right).
  • style: additional CSS styling.
  • pname: name of the code snippet in the RLE: namespace. Mandatory.
  • viewerconfig: additional LifeViewer configuration to use.
  • caption: the caption to use.