Difference between revisions of "Hypertext Syntax"

From PKC
Jump to navigation Jump to search
Line 60: Line 60:
| <nowiki>[[Main Page|This is called the Piped Link]]</nowiki> || [[Main Page|This is called the Piped Link]]
| <nowiki>[[Main Page|This is called the Piped Link]]</nowiki> || [[Main Page|This is called the Piped Link]]
|}
|}
==Transclusion from other pages==
{| class="wikitable"
{| class="wikitable"
|+ Transcluding content from other pages or functions
|+ Transcluding content from other pages or functions
Line 67: Line 68:
| raw page || <nowiki>{{:Paper/Algebra of Systems}}</nowiki> || {{:Paper/Algebra of Systems}}
| raw page || <nowiki>{{:Paper/Algebra of Systems}}</nowiki> || {{:Paper/Algebra of Systems}}
|-
|-
| Example || Example || Example
| template page || <nowiki>{{LogicModel}}</nowiki> || {{LogicModel}}
|-
|-
| Example || Example || Example
| Example || Example || Example
|}
|}
==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:35, 23 March 2022

Absolute Essential

The essential markdown syntax for MediaWiki are:

  1. Hierarchical Markdown
  2. Hyperlink
  3. 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

Hyperlink to other pages

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

Transclusion from other pages

Transcluding content from other pages or functions
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}}
Logic Model ([[{{{name}}}]]) Template:LogicModel 03 23, 2022
Abstract Specification
[[{{{name}}}/Context|Context]] {{:{{{name}}}/Context}}
[[{{{name}}}/Goal|Goal]] {{:{{{name}}}/Goal}}
[[{{{name}}}/Criteria|Success Criteria]] {{:{{{name}}}/Criteria}}
Concrete Implementation
Given [[{{{name}}}/Input|Inputs]] When [[{{{name}}}/Process|Process]] is executed... Then, we get [[{{{name}}}/Output|Outputs]]
{{:{{{name}}}/Input}} {{:{{{name}}}/Process}} {{:{{{name}}}/Output}}
Boundary/Safety Conditions of [[{{{name}}}/Boundary|{{{name}}}]]
{{:{{{name}}}/Boundary}}
Example Example Example

More Comprehensive Guides

  1. MediaWiki Syntax
  2. Citation