Formatting Quick Reference

From SCI Wiki
Revision as of 21:17, 2 September 2013 by Andrew Branscom (talk | contribs)
Jump to navigationJump to search

Text formatting

The most text formatting needs can be accessed by use of the editing tool bar. For additional help, see WikiMedia's Wiki Formatting Help.

Remember, for special characters use the standard HTML substitutions, i.e. for an ampersand, use &, copyright symbol, ©. See HTML Codes for Special ASCII Characters

 

HTML Tags

The Wiki formatting accepts some HTML tags. The following are some of the more common ones.

Line break - <br />
Non Breaking Space - &nbsp;
Preformatted - <pre>
Code - <code>

And span and division tags - <span>, <div>

To specify font color, use

<span style="color:red"></span>

To center justify, use

<div align="center"></div><div align="center"></div>

To specify font size, use

<span style="font-size:18pt"></span>

To add a comment or to comment out text on the page that will not get rendered on the finished page, enclose it with "<!--" and "-->"

<!-- comment here -->

 

Linking

To link to an SCI Wiki page,

[[Page Name]]

To link to an SCI Wiki page using a different name add a pipe "¦" after the page name, followed by the text to be used,

[[Page Name|Different Name]]

To setup a redirect, use

#REDIRECT [[Page Name]]

To set a named anchor, use

<div id="AnchorName"></div>

Note, Section headings and the top of the page are automatically anchored.

To link to a named anchor on the same page, use

[[#AnchorName]]

To link to a named anchor with different text, add a "¦", folowed by the text to be used:

[[#AnchorName|text to be used]]

To link to a named anchor on a different page, use

[[Page Name#AnchorName]]

To link to another web page, just use the URL. The Wiki software will parse the link.

To link to another web page using a different name, enclose the URL in double brackets, followed by a space, then the name to be used -


[[http://www.someURL.com/ Link name]]

To set an email link, use

[mailto:info@example.org email me]

Mailto named with subject line and body -

[mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info]

 

InterWiki and Linking Shortcuts

Linking a Google Search
To link to a Google search, use the following:

[[g:SCI|SCI]]

which will give SCI

Linking to SCI Programming
To link to the SCI Programming Fan Made Games page, use the following:

[[SCIP:fangames.php|Fan Made Games]]

which will give Fan Made Games

Linking to SCI Programming Forums
To link to the SCI Programming SCI Syntax Help Forum, use the following:

[[SCIPF:board,3.0.html|SCI Syntax Help]]

which will give SCI Syntax Help

Linking to a Sierra Help Pages page
To link to a Sierra Help Pages file or page, such as the game list, use the following:

[[SHP:Games/GameHelp.html|Game Help]]

which will give Game Help


linking from and within Wikimedia
Within Wikimedia, the project families are Wikipedia, Wiktionary, Wikiquote, Wikibooks and Wikisource. Linking to a Wikimedia project such as Wikipedia can be done using the following [[wikipedia:]]. Specify the page you wish to link to after the ":" (colon), i.e. [[wikipedia:Sierra's Creative Interpreter]]


Project titles and shortcuts

Project Long form Shortcut
Wikipedia [[wikipedia:]] [[w:]]
Wiktionary [[wiktionary:]] [[wikt:]]
Wikinews [[wikinews:]] [[n:]]
Wikibooks [[wikibooks:]] [[b:]]
Wikiquote [[wikiquote:]] [[q:]]
Wikisource [[wikisource:]] [[s:]]
Wikispecies [[wikispecies:]] [[species:]]
Wikiversity [[wikiversity:]] [[v:]]
Wikimedia Foundation [[wikimedia:]]
[[foundation:]]
[[wmf:]]
Wikimedia Commons [[commons:]]
Wikimedia local groups [[chapter:]]
Wikimedia Meta-Wiki [[metawikipedia:]]
meta:
[[m:]]
Wikimedia Incubator [[incubator:]]
MediaWiki [[mw:]]
MediaZilla / Bugzilla [[mediazilla:]]
[[bugzilla:]]
Testwiki [[testwiki:]]

 

For more help with links, see WikiMedia's Help with Links.

 

Citations and footnotes

To use an auto citation, insert

<ref>Citation to be used</ref>

where you want the citation added. Use

==References==
<references/>

where you want the citations to appear. If you don't want the References section to appear in the auto contents, use

;References
<references/>

To use an auto footnote, insert

<ref group=Note>Note here</ref>

in the body of the text and

===Notes===
<references group=Note/>

where you want the note to appear. Again, if you don't want the Notes section to appear in the auto contents, use

;Notes
<references group=Note/>

For more help with Citations and footnotes, see the Wikipedia Manual of Style.

 

Images

To insert an image, the file must be uploaded, first. Please contact Collector on the SCI Programming forums or the Sierra Help Pages Forum if you need a file to be uploaded.

The Wiki syntax for inserting an image is as follows:

[[File:filename.extension|options|caption]]

where options can be zero or more, separated by pipes (|). These options allow for greater control of the image, like placement and linking. See this MediaWiki list for available options.

See this MediaWiki page for more help with images.

Misc

Tooltips

The Balloons extension has been installed. This will allow you to add Tooltips to your entries.

<balloon title="Tooltip example">Mouse over this</balloon>

will give you: <balloon title="Tooltip example">Mouse over this</balloon>.