• Wikisimpsons needs more Featured Article, Picture, Quote, Episode and Comprehensive article nominations!
  • Wikisimpsons has a Discord server! Click here for your invite! Join to talk about the wiki, Simpsons and Tapped Out news, or just to talk to other users.
  • Make an account! It's easy, free, and your work on the wiki can be attributed to you.
TwitterFacebookDiscord

Difference between revisions of "Help:Wiki markup"

Wikisimpsons - The Simpsons Wiki
(Variables)
(Links and URLs)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{TableUpdate}}
 
 
 
This page is a tutorial for learning to work with the essential rules of wiki-formatted text, or "wikitext".  Wikitext is designed to be as simple as possible so that an article may be quickly typed ''and'' styled without having to take a break to type out long HTML codes.  The goal is to make it as easy as possible to channel your thoughts into writing the perfect article (or even a not-so-perfect article!).
 
This page is a tutorial for learning to work with the essential rules of wiki-formatted text, or "wikitext".  Wikitext is designed to be as simple as possible so that an article may be quickly typed ''and'' styled without having to take a break to type out long HTML codes.  The goal is to make it as easy as possible to channel your thoughts into writing the perfect article (or even a not-so-perfect article!).
  
Line 56: Line 54:
  
 
== Links and URLs ==
 
== Links and URLs ==
In a wiki, it's important to help build the wiki by creating links to other articles in every appropriate context. Use the following techniques to create "free links" to other Simpsons articles:
+
In a wiki, it's important to help build the wiki by creating links to other articles in every appropriate context. Use the following techniques to create "free links" to other Simpsons articles:
  
 
{{Table|width=53%|
 
{{Table|width=53%|
Line 120: Line 118:
  
 
{{Table|width=53%|
 
{{Table|width=53%|
{{THT|What you type, (Code)}}
+
{{THT|What you type}}
 
{{TH|What you see}}
 
{{TH|What you see}}
{{TBT|<big><tt><nowiki>{{LOCALMONTH}}</nowiki></tt></big>}}
+
{{TBT|<big><big><tt><nowiki>{{LOCALMONTH}}</nowiki></tt></big></big>}}
 
{{TB|{{LOCALMONTH}}}}
 
{{TB|{{LOCALMONTH}}}}
{{TBT|<big><tt><nowiki>{{LOCALMONTHNAME}}</nowiki></tt></big>}}
+
{{TBT|<big><big><tt><nowiki>{{LOCALMONTHNAME}}</nowiki></tt></big></big>}}
 
{{TB|{{LOCALMONTHNAME}}}}
 
{{TB|{{LOCALMONTHNAME}}}}
{{TBT|<big><tt><nowiki>{{LOCALMONTHNAMEGEN}}</nowiki></tt></big>}}
+
{{TBT|<big><big><tt><nowiki>{{LOCALMONTHNAMEGEN}}</nowiki></tt></big></big>}}
 
{{TB|{{LOCALMONTHNAMEGEN}}}}
 
{{TB|{{LOCALMONTHNAMEGEN}}}}
{{TBT|<big><tt><nowiki>{{LOCALDAY}}</nowiki></tt></big>}}
+
{{TBT|<big><big><tt><nowiki>{{LOCALDAY}}</nowiki></tt></big></big>}}
 
{{TB|{{LOCALDAY}}}}
 
{{TB|{{LOCALDAY}}}}
{{TBT|<big><tt><nowiki>{{LOCALDAYNAME}}</nowiki></tt></big>}}
+
{{TBT|<big><big><tt><nowiki>{{LOCALDAYNAME}}</nowiki></tt></big></big>}}
 
{{TB|{{LOCALDAYNAME}}}}
 
{{TB|{{LOCALDAYNAME}}}}
{{TBT|<big><tt><nowiki>{{LOCALYEAR}}</nowiki></tt></big>}}
+
{{TBT|<big><big><tt><nowiki>{{LOCALYEAR}}</nowiki></tt></big></big>}}
 
{{TB|{{LOCALYEAR}}}}
 
{{TB|{{LOCALYEAR}}}}
{{TBT|<big><tt><nowiki>{{LOCALTIME}}</nowiki></tt></big>}}
+
{{TBT|<big><big><tt><nowiki>{{LOCALTIME}}</nowiki></tt></big></big>}}
 
{{TB|{{LOCALTIME}}}}
 
{{TB|{{LOCALTIME}}}}
{{TBT|<big><tt><nowiki>{{NUMBEROFARTICLES}}</nowiki></tt></big>}}
+
{{TBT|<big><big><tt><nowiki>{{NUMBEROFARTICLES}}</nowiki></tt></big></big>}}
 
{{TB|{{NUMBEROFARTICLES}}}}
 
{{TB|{{NUMBEROFARTICLES}}}}
 
}}
 
}}

Latest revision as of 10:03, July 22, 2015

This page is a tutorial for learning to work with the essential rules of wiki-formatted text, or "wikitext". Wikitext is designed to be as simple as possible so that an article may be quickly typed and styled without having to take a break to type out long HTML codes. The goal is to make it as easy as possible to channel your thoughts into writing the perfect article (or even a not-so-perfect article!).

Text formatting[edit]

Creating italicized or bold text is the simplest rule — simply use the apostrophe character in groups of two or three to create the style. (Be sure to use the "straight" apostrophe and not the curved "smart quote" characters used in some text editors and word processors!)

What you type What you see
''italicized text'' italicized text
'''bold text''' bold text
'''''italicized and bold text''''' italicized and bold text

To create a tabbed list or a block of text using a monospace font, start the line with a space. (Be sure not to make the line too long, or it will stretch the page horizontally!) Text can also be indented in blockquotes using the colon character.

What you type What you see
<pre>Preformatted text</pre>
Preformatted text
:Indented text
Indented text

Lists[edit]

Both unordered and numbered lists are simple to create as well: simply use the asterisk or hash characters at the beginning of a line to create the entry. To create nested lists, simply add an extra asterisk or hash to the front of the line. You can even mix and match the kinds of list in a single group!

What you type What you see
*Item One
*Item Two
  • Item One
  • Item Two
#Item One
#Item Two
  1. Item One
  2. Item Two
*Item One
**Item Two
  • Item One
    • Item Two
*Item One
*#Item Two
  • Item One
    1. Item Two
;term: definition
term
definition

Links and URLs[edit]

In a wiki, it's important to help build the wiki by creating links to other articles in every appropriate context. Use the following techniques to create "free links" to other Simpsons articles:

What you type What you see
[[The Simpsons]] The Simpsons
[[Homer's Odyssey|'''Homer's Odyssey''']] Homer's Odyssey
[[This article doesn't exist]] This article doesn't exist
[[Wikisimpsons:Policies and Guidelines]] Wikisimpsons:Policies and Guidelines
[[Wikisimpsons:Policies and Guidelines|]] Policies and Guidelines

You can also make external links to other websites using the following formatting rules:

What you type What you see
[[Wikipedia:The Simpsons]] Wikipedia:The Simpsons
[[Wikipedia:The Simpsons|The Simpsons]] The Simpsons
http://www.thesimpsons.com/ http://www.thesimpsons.com/
[http://www.thesimpsons.com/] [1]
[http://www.thesimpsons.com/ The Simpsons.com] The Simpsons.com

See also: Interwiki links

Sections[edit]

If an article is long enough, you can divide the page into different sections. Wikisimpsons will automatically generate a table of contents based on the content for all articles with more than three sections.

You can also create a horizontal divider by using four dashes in a row.

What you type What you see
==Header Two==

Header Two

===Header Three===

Header Three

====Header Four====

Header Four

----

Images and other media[edit]

See: Help: Image markup

Tables[edit]

See: Help: Table markup

Variables[edit]

The MediaWiki software has a number of built-in variables for common elements that may change depending on the date.

What you type What you see
{{LOCALMONTH}} 12
{{LOCALMONTHNAME}} December
{{LOCALMONTHNAMEGEN}} December
{{LOCALDAY}} 1
{{LOCALDAYNAME}} Sunday
{{LOCALYEAR}} 2024
{{LOCALTIME}} 03:52
{{NUMBEROFARTICLES}} 46,439

NUMBEROFARTICLES is the number of pages in the main namespace which contain a link and are not a redirect (i.e. number of articles, stubs containing a link, and disambiguation pages).

See also: Help:Templates

Suppressing markup[edit]

It's also possible to tell MediaWiki to ignore any of the above rules using a simple tag:

What you type What you see
<nowiki>'''text here'''</nowiki> '''text here'''