Difference between revisions of "User talk:Rewen"

From Morloch Wiki
Jump to: navigation, search
(No difference)

Revision as of 15:42, 11 September 2017

Rewen's Guide to Pretty Articles

Dictionary Definition

Begin most articles with a dictionary definition. Bold the article's title like so:

Mage

Mage is one of the four base classes in Shadowbane.

Magic Words

Put these in an article's code to produce the listed effect.

Switch Description
__TOC__ Places the page's TOC at the word's position.
__FORCETOC__ Forces the TOC to appear in its default position. Can be used anywhere on a page.
__NOTOC__ Suppresses the appearance of the page's TOC. Can be used anywhere on a page.
__NOEDITSECTION__ Hides the "edit" links normally beside all headings on the page. To hide the edit link beside a particular heading, specify the heading using e.g. an HTML tag rather than with the usual wiki equals-signs syntax.
__NEWSECTIONLINK__ On non-talk pages, adds a "new section" link as a means to add a new section to the page.
__NONEWSECTIONLINK__ Removes the "new section" link (the add-new-section link) on talk pages.
__NOGALLERY__ Replaces thumbnails on a category page with normal links.
__HIDDENCAT__ Makes a category hidden when included on that category's page.
__INDEX__ Instructs search engines to index the page.
__NOINDEX__ Instructs search engines not to index the page.
__NOTITLE__ Removes an article's main title header.

SPAN and DIV Styles

CSS tags can be used in this wiki. SPAN is an inline element, and DIV is a block element, but both of them share formatting tags.

Separate the tags below with semicolon within the quotes: <span style="[tags here]">[formatted text]</span>

List of span/div elements.

  • Text Color
color:blue
  • BG Color
background-color:black
  • Background Image
background-image: url(images/bg1.jpg)
  • Padding
padding:20px
  • Font
font-family:sans-serif
  • Weight
font-weight:900
  • Size
font-size:100%
  • Shadow
text-shadow: 0 0 10px red

produces a glow effect

  • Tool tip
title="This adds a tool tip to some words"