Help:Advanced formatting of wiki pages: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
+ link & update to existing ones
 
Line 11: Line 11:


== See also ==
== See also ==
* [[JavaScript]]
* [[MediaWiki: Common.css]]
* [[MediaWiki:Common.css]]
* [[MediaWiki: Vector.css]]
* [[MediaWiki:Vector.css]]
* [[MediaWiki: Common.js]]


== External links ==
== External links ==
* [[MediaWikiWiki: Manual:CSS]]
* [[MediaWikiWiki: Manual: CSS]]
* [https://www.w3schools.com/css/ W3Schools — CSS Tutorial]
* [[MediaWikiWiki: JavaScript]]
* [[MediaWikiWiki: JavaScript]]
* [[MediaWikiWiki: Gadget kitchen]]
* [[MediaWikiWiki: Gadget kitchen]]
* [[MediaWikiWiki: Learning JavaScript]]
* [[MediaWikiWiki: Learning library #JavaScript]]
* [https://www.w3schools.com/css/ W3Schools | CSS Tutorial]


[[Category:Help]]
[[Category:Help]]

Latest revision as of 11:13, 22 July 2026

English Wikipedia has articles on:

CSS (Cascading Style Sheets) and JavaScript are generally involved in MediaWiki-based wikis. But while inline CSS is permitted, inline JavaScript is not available.

Most HTML tags, such as code, pre, div, span, etc., can be directly embedded in the wiki markup; some HTML tags (for example a or img) cannot. For the allowed tags, you can define inline CSS by setting the style attribute, for instance <span style="border: 1px solid grey; padding: 0 1em">framed sometext</span>, which is rendered like this: framed sometext.

User-defined CSS and JavaScript are enabled on the Xenharmonic Wiki. If your personal solutions turn out to be useful for the overall wiki, they might be integrated into the site-wide styles or scripts.

Use the SandBox for experimentation or start a page in the user namespace, in other words as a subpage of your user page, for example User:YourName/Sandbox.

See also

External links