Difference between revisions of "Hypertext Syntax"
Jump to navigation
Jump to search
Line 47: | Line 47: | ||
! Terminology !! Text Input !! Rendered Result | ! Terminology !! Text Input !! Rendered Result | ||
|- | |- | ||
| local hyperlink | | local hyperlink || <nowiki>[[Main Page]]</nowiki> || [[Main Page]] | ||
|- | |- | ||
| external hyperlink | | external hyperlink || <nowiki>[http://wikimedia.org wikimedia website]</nowiki> || [http://wikimedia.org wikimedia website] | ||
|- | |- | ||
| piped link | | piped link || <nowiki>[[Main Page|This is called the Piped Link]]</nowiki> || [[Main Page|This is called the Piped Link]] | ||
|} | |} | ||
Revision as of 14:38, 18 May 2022
Absolute Essential
The essential markdown syntax for MediaWiki are:
- Hierarchical Markdown: use =
- Hyperlink: use [ and ]
- Transclusion: use { and }
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.
Text Input | Rendered Result |
---|---|
=Level1= |
Level1 |
==Level2== |
Level2 |
===Level3=== |
Level3 |
====Level4==== |
Level4 |
Hyperlink to other pages
Terminology | Text Input | Rendered Result |
---|---|---|
local hyperlink | [[Main Page]] | Main Page |
external hyperlink | [http://wikimedia.org wikimedia website] | wikimedia website |
piped link | [[Main Page|This is called the Piped Link]] | This is called the Piped Link |
Transclusion from other pages
Types of Transclusion | Text Input | Rendered Result | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
raw page | {{:Paper/Algebra of Systems}} | Koo, Hsueh-Yung Benjamin; Simmons, Willard; Crawley, Edward (Nov 16, 2021). "Algebra of Systems as a Meta Language for Model Synthesis and Analysis" (PDF). local page: IEEE TRANSACTIONS ON SYSTEMS, MAN, AND CYBERNETICS.
| |||||||||||||||||
template page | {{LogicModel}} |
| |||||||||||||||||
invoke function | {{#invoke:Utility|monthNumberToFullMonthName |{{CURRENTMONTH}}}} | November |
More Comprehensive Guides
MediaWiki's allows some mixture of HTML syntax and extension defined syntax to enable more functionalities. For additional coding syntax instruction, see the following links.