Template:EmbedViewer: Difference between revisions
Jump to navigation
Jump to search
Apple Bottom (talk | contribs) m ...in all places. |
Apple Bottom (talk | contribs) Tweak example |
||
| Line 6: | Line 6: | ||
{{EmbedViewer | {{EmbedViewer | ||
|pname = richsp16 | |pname = richsp16 | ||
|viewerconfig = #C [[ | |viewerconfig = #C [[ AUTOSTART GPS 4 THUMBSIZE 2 ]] | ||
|caption = [[Rich's p16]] | |caption = [[Rich's p16]] | ||
}} | }} | ||
| Line 31: | Line 31: | ||
<nowiki>{{EmbedViewer</nowiki> | <nowiki>{{EmbedViewer</nowiki> | ||
<nowiki>|pname = richsp16</nowiki> | <nowiki>|pname = richsp16</nowiki> | ||
<nowiki>|viewerconfig = #C [[ | <nowiki>|viewerconfig = #C [[ AUTOSTART GPS 4 THUMBSIZE 2 ]]</nowiki> | ||
<nowiki>|caption = [[Rich's p16]]</nowiki> | <nowiki>|caption = [[Rich's p16]]</nowiki> | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
</noinclude> | </noinclude> | ||
Revision as of 09:21, 28 February 2018
Rich's p16 (click above to open LifeViewer)
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:
Pattern: one of:
- rle: RLE snippet.
- pname: name of the RLE snippet in the RLE: namespace (without the RLE: prefix).
Other:
- position: position.
- Possible values are left (floating left), right (floating right) and center. Default: right.
- style: additional CSS styling. Default:
- position = right: margin-left: 1em; margin-bottom: 1em
- position = left: margin-right: 1em; margin-bottom: 1em
- position = center: (none)
- viewerconfig: additional LifeViewer configuration to use.
- caption: the caption to use.
Example: the viewer at the right was created using the following call:
{{EmbedViewer
|pname = richsp16
|viewerconfig = #C [[ AUTOSTART GPS 4 THUMBSIZE 2 ]]
|caption = [[Rich's p16]]
}}