Difference between revisions of "Template:LegacyWarning"
From Spherical
(Better summary + styled) |
(Added warning symbol) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div style="width: | + | <div style="width: 95%; max-width: 1100px; margin: 5px auto; padding: 0 10px 5px 10px; border: 1px solid #888; border-radius: 3px;"> |
+ | <div style="width: 64px; float: left; margin: 10px 10px 0 0;"> | ||
+ | [[File:Warning.svg|64px|link=]] | ||
+ | </div> | ||
<h4>Warning: Legacy code ahead</h4> | <h4>Warning: Legacy code ahead</h4> | ||
− | This page has been written for the legacy Sphere 1.x API. While this API is supported in miniSphere, it is recommended to use the new Sphere 2 API. | + | This page has been written for the legacy [[Legacy:Functions|Sphere 1.x API]]. While this API is supported in miniSphere, it is generally recommended to use the new [[API:Functions|Sphere 2 API]]. |
− | < | + | <p style="font-size: 12px; color: #555; line-height: 1em;">You ''can'' mix old and new API functions, but please be aware that Sphere 2 objects are different from Sphere 1 objects, so they cannot be used interchangeably. |
+ | </p> | ||
</div> | </div> |
Latest revision as of 15:08, 4 August 2017
Warning: Legacy code ahead
This page has been written for the legacy Sphere 1.x API. While this API is supported in miniSphere, it is generally recommended to use the new Sphere 2 API.
You can mix old and new API functions, but please be aware that Sphere 2 objects are different from Sphere 1 objects, so they cannot be used interchangeably.