- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
User:VX/Tech: Difference between revisions
imported>VX |
imported>VX |
(6 intermediate revisions by the same user not shown) | |
(No difference)
|
Latest revision as of 07:45, 1 October 2014
$var and italicized text denote variables.
Magic Words and MediaWiki Specifics
TOC
__TOC__ forces the table of contents to appear, and at a specific location. Combine with CSS float elements for greater customization.
NOTOC
__NOTOC__ prevents table of contents from appearing at all.
Pagename
{{PAGENAME}} - Full page title without namespace.
Fullpagename
{{FULLPAGENAME}} - Full page title with namespace.
Nowiki
< nowiki > tags prevent wiki markup from being rendered, but does not alter HTML markup.
Server
{{SERVER}} renders the wiki URL. {{SERVER}}/BSD produces http://edramatica.com/BSD
Deprecated HTML
Deprecated HTML can be harmless, and it can also break browser rendering. Best to keep up with industry standards at either rate.
Big
< big > tags are deprecated. Use the CSS element font-size:XY; where X is a numerical value and Y is a type of incremental value. "em" scales well for the latter.
Break
< br > tags are deprecated. Use the XHTML style < br / >
Center
< center > tags are deprecated. Use the CSS element align="center"