Difference between revisions of "Widget:Curve"
m (!isset -> empty (?)) |
m (fixed code example) |
||
Line 6: | Line 6: | ||
== Using this widget == | == Using this widget == | ||
To insert this widget, use the following code: | To insert this widget, use the following code: | ||
− | + | ||
− | <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki> | + | <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki> |
− | |width=100px | + | |width=100px |
− | |height=2em | + | |height=2em |
− | |up | + | |up |
− | }}</nowiki> | + | }}</nowiki> |
− | + | ||
This will give the following result:<br/> | This will give the following result:<br/> |
Revision as of 15:00, 6 April 2018
This widget creates an SVG curve.
Created by xopr
Using this widget
To insert this widget, use the following code:
{{#widget:Curve |width=100px |height=2em |up }}
This will give the following result:
For a downward curve, use down; for both, don't use it at all
Copy to your site
To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:Curve article.