Practical Semantic Mediawiki: Difference between revisions

Jump to navigation Jump to search
Line 110: Line 110:
*** A shortcut to creating images is to create the File: link first, then follow the red link to the upload form
*** A shortcut to creating images is to create the File: link first, then follow the red link to the upload form
** <nowiki>[[Mypage|This is my page]]</nowiki> Alternate link text (using pipe symbol)
** <nowiki>[[Mypage|This is my page]]</nowiki> Alternate link text (using pipe symbol)
* <nowiki>[http://theirsite.com]</nowiki> — A non-wiki link
* <nowiki>http://theirsite.com</nowiki> — A non-wiki link
** Use a space after the link to use your own link text. <nowiki>[http://theirsite.com Their site]</nowiki>.
** Use <nowiki>[]</nowiki> brackets and space after the link to use your own link text. <nowiki>[http://theirsite.com Their site]</nowiki>.


* <nowiki>{{My Template}}</nowiki> — A template (reusable content, function or variable)
* <nowiki>{{My Template}}</nowiki> — A template (reusable content, function or site value)
** Don't Repeat Yourself
** Don't Repeat Yourself
** Pipe symbol is used to pass parameters — <nowiki>{{Show Something|Something}}</nowiki>
** Pipe symbol is used to pass parameters — <nowiki>{{Show Something|Something}}</nowiki>

Navigation menu