Page Creation Tools

From OpenUru
Revision as of 05:50, 31 December 2011 by Mac Fife (talk | contribs) (Banners: add condition)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Wiki Extensions

A number of "extensions" have been installed on this wiki to aid usability or to provide additional formatting options for page authors. The following paragraphs provide a brief overview of each and its use, although you should refer to the extension's official description page for full details.

Cite

wip_30x30.PNG
Content to be advised.

Full details: http://www.mediawiki.org/wiki/Extension:Cite/Cite.php

Syntax Highlight

This adds a <syntaxhighlight> tag that can be used to enclose a code snippet and apply syntax coloring. Over 100 different programming and scripting languages are supported. Among the features that the page author can control are:

  • Selection of language (affects how coloring is applied)
  • Addition of line numbers (and setting the starting line number)
  • Highlighting of a specified line in the code

The following example shows how to color a code snippet using HML markup and illustrates the use of line numbering and highlighting of a specific line:

<syntaxhighlight lang="html4strict" line start="100" highlight="5">
HTML snippet goes here...
</syntaxhighlight>

A typical result would be:

100 <table align=center style="background: ivory;color:maroon;font-style:italic;font-family:arial;font-weight:bold;font-size:10pt;"> 
101 <tr><th> Heading 1 </th><th> Heading 2 </th></tr>
102 <tr>
103 <td style="padding:10px;"> This is cell 1 text </td>
104 <td style="padding:10px;"> This is cell 2 text </td>
105 </tr>
106 </table>

Full details: http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi

Parser Functions

wip_30x30.PNG
Content to be advised.

Full details: http://www.mediawiki.org/wiki/Extension:ParserFunctions

WikiEditor

WikiEditor is part of the Usability Initiative improvements that are in development for Mediawiki v1.17. It has been adopted here in its beta state since it offers a significant improvement over the standard wiki editor and places far less reliance on the author's knowledge of wiki markup. This makes the wiki more accessible to novice users as the formatting tools will be relatively familiar to anyone who has used Microsoft Word, Open Office Writer or similar applications.

Full details: http://www.mediawiki.org/wiki/Extension:UsabilityInitiative


Templates

Stub Markers

Use only one stub marker on a page. Use the one that best describes the page subject. When removing a stub marker, remember that the associated category will also be removed, so you should manually add the appropriate categories for the developed page content.

{{Stub}} 
Generic stub template. Use this when none of the discipline specific stubs below are appropriate.
{{Tech-stub}} 
Marks a technical page that needs to be expanded. Assigns the "Technical" category to the page
{{Art-stub}} 
Marks an art page that needs to be expanded. Assigns the "Art" category to the page
{{Writing-stub}} 
Marks a writing page that needs to be expanded. Assigns the "Writing" category to the page
{{Design-stub}} 
Marks a (creative) design page that needs to be expanded. Assigns the "Design" category to the page
{{Music-stub}} 
Marks a music page that needs to be expanded. Assigns the "Music" category to the page

Layout

{{TOClimit}} 
Limit the depth of a Table of Contents
{{TOCright}} 
Float Table of Contents to right edge of page
{{TOCleft}} 
Float Table of Contents to left edge of page
{{Clear}} 
Clear "floats": Following content starts below floated items
{{-}} 
Shorthand equivalent of {{Clear}}
{{Pad}} 
Inserts padding into text (forces gaps greater that a single space)
{{Sidebar}} 
Adds a "sidebar" text box (can be be floated either left or right)
{{Infobox}} 
Adds an Infobox to the right side of an article.
{{AgeInfobox}} 
Adds an Infobox for Ages to the right side of an article.

Banners

{{Spoiler}} 
Insert a "spoiler warning" banner
{{Protected}} 
Insert a "protected page" banner (Admin use only!)
{{Draft}} 
Insert a "draft content warning" banner
{{GFDL}} 
Insert a GNU Free Documentation License statement
{{CopiedFrom}} 
Insert a statement that the article is copied from another wiki
{{NewGreeters}} 
Insert a New Greeters banner (for use only in articles created by The New Greeters).

Icons

{{Help}} 
Places a small "Help" icon at the left edge of the page
{{Locked}} 
Places a small "Lock" icon at the right edge of the page
{{Info}} 
Places a small "information" icon at the left edge of the page

General

{{Tba}} 
Inline text marker that there is more to come ("Content to be advised").

Special

{{UruDocProj}} 
Used to mark pages that are part of the Uru Documentation Project and automatically assigns the "Uru Documentation" category to the page.

Images

The images listed here are available for public use and an example URL to include the image is given. Further details on using images in this wiki can be found in the "Using Images" article.

Icons

Icon Image URL for insertion
application-edit-48x48.png http://assets.openuru.org/wiki/icons/application-edit-48x48.png
art-52x47.png http://assets.openuru.org/wiki/icons/art-52x47.png
book-36x20.png http://assets.openuru.org/wiki/icons/book-36x20.png
CAUTION_50x50.png http://assets.openuru.org/wiki/icons/CAUTION_50x50.png
community-users-48x48.png http://assets.openuru.org/wiki/icons/community-users-48x48.png
divider-48x48.png http://assets.openuru.org/wiki/icons/divider-48x48.png
help-48x48.png http://assets.openuru.org/wiki/icons/help-48x48.png
info-48x48.png http://assets.openuru.org/wiki/icons/info-48x48.png
INFO_50x50.PNG http://assets.openuru.org/wiki/icons/INFO_50x50.PNG
lock-48x48.png http://assets.openuru.org/wiki/icons/lock-48x48.png
music-107x94.png http://assets.openuru.org/wiki/icons/music-107x94.png
music-61x48.png http://assets.openuru.org/wiki/icons/music-61x48.png
note-edit-48x48.png http://assets.openuru.org/wiki/icons/note-edit-48x48.png
SECURITY_50x50.PNG http://assets.openuru.org/wiki/icons/SECURITY_50x50.PNG
STOP_50x50.PNG http://assets.openuru.org/wiki/icons/STOP_50x50.PNG
tech-gears-128x128.png http://assets.openuru.org/wiki/icons/tech-gears-128x128.png
tech-gears-48x48.png http://assets.openuru.org/wiki/icons/tech-gears-48x48.png
warning-48x48.png http://assets.openuru.org/wiki/icons/warning-48x48.png
wip_30x30.PNG http://assets.openuru.org/wiki/icons/wip_30x30.PNG
WIP_50x50.PNG http://assets.openuru.org/wiki/icons/WIP_50x50.PNG

GPL Logos

Image URL for insertion
agplv3-155x51.png http://assets.openuru.org/logos/gpl/agplv3-155x51.png
agplv3-88x31.png http://assets.openuru.org/logos/gpl/agplv3-88x31.png
gplv3-127x51.png http://assets.openuru.org/logos/gpl/gplv3-127x51.png
gplv3-88x31.png http://assets.openuru.org/logos/gpl/gplv3-88x31.png
lgplv3-147x51.png http://assets.openuru.org/logos/gpl/lgplv3-147x51.png
lgplv3-88x31.png http://assets.openuru.org/logos/gpl/lgplv3-88x31.png

General GNU Logos

Image URL for insertion
heckert_gnu_62x60.png http://assets.openuru.org/wiki/icons/heckert_gnu_62x60.png

Creative Commons Logos

Image URL for insertion
by.png http://assets.openuru.org/logos/cc/by.png
cc.png http://assets.openuru.org/logos/cc/cc.png
nc-eu.png http://assets.openuru.org/logos/cc/nc-eu.png
nc-jp.png http://assets.openuru.org/logos/cc/nc-jp.png
nc.png http://assets.openuru.org/logos/cc/nc.png
nd.png http://assets.openuru.org/logos/cc/nd.png
pd.png http://assets.openuru.org/logos/cc/pd.png
remix.png http://assets.openuru.org/logos/cc/remix.png
sa.png http://assets.openuru.org/logos/cc/sa.png
sampling.plus.png http://assets.openuru.org/logos/cc/sampling.plus.png
sampling.png http://assets.openuru.org/logos/cc/sampling.png
share.png http://assets.openuru.org/logos/cc/share.png
zero.png http://assets.openuru.org/logos/cc/zero.png

Miscellaneous Images

Image URL for insertion
led-green.gif http://assets.openuru.org/wiki/img/led-green.gif
led-red.gif http://assets.openuru.org/wiki/img/led-red.gif
led-yellow.gif http://assets.openuru.org/wiki/img/led-yellow.gif