Difference between revisions of "Hypertext Syntax"

From PKC
Jump to navigation Jump to search
Line 45: Line 45:
|}
|}


{| class="wikitable"
|+ Linking to other pages
|-
! Sample Input !! Rendered Result
|-
| <nowiki>[[Main Page]]</nowiki> || [[Main Page]]
|-
| <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]]
|}
==Hyperlink to other pages==
==Hyperlink to other pages==
==Transclusion from other pages==
==Transclusion from other pages==
=More Comprehensive Guides=
=More Comprehensive Guides=
#[[mw:Help:Formatting|MediaWiki Syntax]]
#[[mw:Help:Formatting|MediaWiki Syntax]]
#[[mw:Help:Cite|Citation]]
#[[mw:Help:Cite|Citation]]

Revision as of 01:25, 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|Text to Replace the original Text]] Text to Replace the original Text

Hyperlink to other pages

Transclusion from other pages

More Comprehensive Guides

  1. MediaWiki Syntax
  2. Citation