Difference between revisions of "Hypertext Syntax"

From PKC
Jump to navigation Jump to search
Line 54: Line 54:
| <nowiki>[http://wikimedia.org wikimedia website]</nowiki> || [http://wikimedia.org wikimedia website]
| <nowiki>[http://wikimedia.org wikimedia website]</nowiki> || [http://wikimedia.org wikimedia website]
|-
|-
| <nowiki>[[Main Page|Text to Replace the original Text]]</nowiki> || [[Main Page|Text to Replace the original Text]]
| <nowiki>[[Main Page|This is called the Piped Link]]</nowiki> || [[Main Page|This is called the Piped Link]]
|}
|}
==Hyperlink to other pages==
==Hyperlink to other pages==

Revision as of 01:27, 23 March 2022

Absolute Essential

The essential markdown syntax for MediaWiki are: hierarchical markdown, hyperlink, and transclusion. They are essential because they formally define the structure of a hyperlinked document space.

Hierarchical Markdown

Use a number of balanced equal signs (=) to format the level of section titles. Larger number of equal signs indicates lower level.

examples and rendered results
Input Content Rendered Result

=Level1=

Level1

==Level2==

Level2

===Level3===

Level3

====Level4====

Level4

=====Level5=====

Level5
Linking to other pages
Sample Input Rendered Result
[[Main Page]] Main Page
[http://wikimedia.org wikimedia website] wikimedia website
[[Main Page|This is called the Piped Link]] This is called the Piped Link

Hyperlink to other pages

Transclusion from other pages

More Comprehensive Guides

  1. MediaWiki Syntax
  2. Citation