MediaWiki/Formatting

From Omnia
Revision as of 04:48, 5 January 2024 by Kenneth (talk | contribs) (Kenneth moved page MediaWiki/Code to MediaWiki/Formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Editing

Help:Editing - Meta - http://meta.wikimedia.org/wiki/Help:Editing

Help:Starting a new page - Meta - http://meta.wikimedia.org/wiki/Help:Starting_a_new_page

Help:Editing FAQ - Meta - http://meta.wikimedia.org/wiki/Help:Editing_FAQ

Help:Advanced editing - Meta - http://meta.wikimedia.org/wiki/Help:Advanced_editing

Formatting

bold

'''bold'''

italic

''italic''

internal_link

[[internal_link]]

http://www.google.com/

http://www.google.com/
= heading 1 =

== heading 2 ==

=== heading 3 ===

Insert non-formatted text here

Insert non-formatted text here

signature: --Kenneth (talk) 06:21, 21 January 2017 (UTC)

signature: --~~~~


hr:


----

Links

Internal Link:			[[SomePage]]
Internal Link with Label:	[[SomePage|RenamedPage]]

External Link:			[http://www.google.com]
External Link with Label:	[http://www.google.com Some Link Title]

Sections

== New section ==

=== Subsection ===

==== Sub-subsection ====

Lines

Single new lines have no affect and will be consolidated into the paragraph.

Double new lines will start a new paragraph.

Force a line break with

<br>
: A colon indents a line or paragraph.

Preformated text

Some formatting

 this is preformatted <s>text</s>

Zero formatting

<pre>
this is preformatted text
</pre>

Zero formatting:

Insert non-formatted text here

Lists

* unsorted list
** sub item

# numerical list
## sub item
#* unsorted sub item

Definitions

; word : definition of the word
; longer phrase 
: phrase defined

Block Quotes

<blockquote>
The '''blockquote''' command will indent 
both margins when needed instead of the 
left margin only as the colon does.
</blockquote>

Center

<center>Centered Text</center>

Horizontal Line

----

<hr>

Images

If enabled, simply use the URL to insert the image into the page.

For uploaded images:

[[Image:myimage.png]]
[[Image:{name}|{type}|{location}|{size}|{upright}|{border}|{caption}]].

Help:Images and other uploaded files - Meta - http://meta.wikimedia.org/wiki/Image

-

$wgAllowExternalImages - Whether to allow inline images hosted on external websites, sometimes called Inline linking.
$wgAllowImageTag - Allow using html-style  tags. Only available for MW 1.17+

References: Manual:$wgAllowExternalImages - MediaWiki - http://www.mediawiki.org/wiki/Manual:$wgAllowExternalImages

With Allow External Images and Allow Image Tag (Image with Link):

 [http://image/url.png <img src="http://image/url.png" width=400">]

Category

Add category to page:

 [[Category:Category name]]

Link to category page:

 [[:Category:Category name]]

Resources:

Tables

{| border="1" cellspacing="0" cellpadding="5" align="center"
! This
! is
|- 
| a
| table
|}

Mediawiki

See Mediawiki

keywords

wiki mediawiki