Help:Contents

From bradwiki
Revision as of 00:01, 12 May 2013 by Monakhos (talk | contribs)
Jump to navigation Jump to search


Image Annoation

<div class="wpImageAnnotatorEnable">
<span class="wpImageAnnotatorPageName" style="display:none;">Connectome</span>
<span class="wpImageAnnotatorFullName" style="display:none;">Connectome</span>
<div class="wpImageAnnotatorFile">[[File:Brainatlas1.jpg|640px]]</div>
<div style="display:none;"><div><div><!--Dummy marker to have image notes inserted below this line-->{{ImageNoteEnd|id=-1}}
</div>
</div>


Livelets

To create livelets, wrap any areas of the page in the #live parser-function.

In the following example, a transclusion of the page called Template:MyVerySlowTable has been turned into a livelet:

{{#live: {{MyVerySlowTable}} }}


HTML

Example

<iframe src="http://www.neuinfo.org/downloads/nif_navigator_1.2/nif_navigator.html" height="800" width="250" frameborder="0" seamless="seamless"></iframe>

<html> <iframe src="http://www.neuinfo.org/downloads/nif_navigator_1.2/nif_navigator.html" height="800" width="250" frameborder="0" seamless="seamless"></iframe> </html>

iFrame Attributes

<iframe src="http://www.w3schools.com" name="test2" frameborder="0" height="120" width="600" scrolling="yes">You need a Frames Capable browser to view this content.</iframe>

Attribute Value Description
align left, right, top, middle, bottom Specifies the alignment of an iframe according to surrounding elements
frameborder 1, 0 Specifies whether or not to display a border around an iframe
height pixels Specifies the height of an iframe
longdesc URL Specifies a page that contains a long description of the content of an iframe
marginheight pixels Specifies the top and bottom margins of the content of an iframe
marginwidth pixels Specifies the left and right margins of the content of an iframe
name name Specifies the name of an iframe
sandbox "", allow-forms, allow-same-origin, allow-scripts, allow-top-navigation Enables a set of extra restrictions for the content in the iframe
scrolling yes, no, auto Specifies whether or not to display scrollbars in an iframe
seamless seamless Specifies that the iframe should look like it is a part of the containing document
src URL Specifies the address of the document to embed in the iframe
srcdoc HTML_code Specifies the HTML content of the page to show in the iframe
width pixels Specifies the width of an iframe