In Memoriam: Tai'lahr

OpenUru.org, along with the rest of the Mystonline community, is mourning the loss of Tai'lahr on October 16th, 2019.

Rest in Peace, friend.

Difference between revisions of "Page Creation Tools"

From OpenUru
Jump to navigation Jump to search
(→‎Layout: Add link to Sidebar template)
(→‎Banners: add condition)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<div style="background-color:#f9f9ff; padding:20px;">
 
<div style="background-color:#f9f9ff; padding:20px;">
 +
== 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 ===
 +
{{tba}}
 +
Full details: http://www.mediawiki.org/wiki/Extension:Cite/Cite.php
 +
 +
=== Syntax Highlight ===
 +
This adds a <nowiki><syntaxhighlight></nowiki> 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:
 +
<pre><syntaxhighlight lang="html4strict" line start="100" highlight="5">
 +
HTML snippet goes here...
 +
</syntaxhighlight>
 +
</pre> 
 +
A typical result would be:
 +
<syntaxhighlight lang="html4strict" line start="100" highlight="5">
 +
<table align=center style="background: ivory;color:maroon;font-style:italic;font-family:arial;font-weight:bold;font-size:10pt;">
 +
<tr><th> Heading 1 </th><th> Heading 2 </th></tr>
 +
<tr>
 +
<td style="padding:10px;"> This is cell 1 text </td>
 +
<td style="padding:10px;"> This is cell 2 text </td>
 +
</tr>
 +
</table>
 +
</syntaxhighlight>
 +
 +
Full details: http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi
 +
 +
=== Parser Functions ===
 +
{{tba}}
 +
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 ==
 
== Templates ==
 
=== Stub Markers ===
 
=== Stub Markers ===
Line 18: Line 59:
 
; [[Template:Pad|<nowiki>{{Pad}}</nowiki>]] : Inserts padding into text (forces gaps greater that a single space)
 
; [[Template:Pad|<nowiki>{{Pad}}</nowiki>]] : Inserts padding into text (forces gaps greater that a single space)
 
; [[Template:Sidebar|<nowiki>{{Sidebar}}</nowiki>]] : Adds a "sidebar" text box (can be be floated either left or right)
 
; [[Template:Sidebar|<nowiki>{{Sidebar}}</nowiki>]] : Adds a "sidebar" text box (can be be floated either left or right)
 +
; [[Template:Infobox|<nowiki>{{Infobox}}</nowiki>]] : Adds an Infobox to the right side of an article.
 +
; [[Template:AgeInfobox|<nowiki>{{AgeInfobox}}</nowiki>]] : Adds an Infobox for Ages to the right side of an article.
  
 
=== Banners ===
 
=== Banners ===
Line 23: Line 66:
 
; [[Template:Protected|<nowiki>{{Protected}}</nowiki>]] : Insert a "protected page" banner (Admin use only!)
 
; [[Template:Protected|<nowiki>{{Protected}}</nowiki>]] : Insert a "protected page" banner (Admin use only!)
 
; [[Template:Draft|<nowiki>{{Draft}}</nowiki>]] : Insert a "draft content warning" banner
 
; [[Template:Draft|<nowiki>{{Draft}}</nowiki>]] : Insert a "draft content warning" banner
 +
; [[Template:GFDL|<nowiki>{{GFDL}}</nowiki>]] : Insert a GNU Free Documentation License statement
 +
; [[Template:CopiedFrom|<nowiki>{{CopiedFrom}}</nowiki>]] : Insert a statement that the article is copied from another wiki
 +
; [[Template:NewGreeters|<nowiki>{{NewGreeters}}</nowiki>]] : Insert a New Greeters banner (for use '''only''' in articles created by The New Greeters).
  
 
=== Icons ===
 
=== Icons ===
Line 32: Line 78:
 
=== General ===
 
=== General ===
  
; [[Template:Tba|<nowiki>{{Tba}}</nowiki>]] : Inline test marker that there is more to come ("Content to be advised").
+
; [[Template:Tba|<nowiki>{{Tba}}</nowiki>]] : Inline text marker that there is more to come ("Content to be advised").
  
 
=== Special ===
 
=== Special ===
Line 41: Line 87:
  
 
=== Icons ===
 
=== Icons ===
{{tba}}
+
 
 +
{| class="wikitable"
 +
|-
 +
! Icon Image !! URL for insertion
 +
|-
 +
| http://assets.openuru.org/wiki/icons/application-edit-48x48.png || <nowiki>http://assets.openuru.org/wiki/icons/application-edit-48x48.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/icons/art-52x47.png || <nowiki>http://assets.openuru.org/wiki/icons/art-52x47.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/icons/book-36x20.png || <nowiki>http://assets.openuru.org/wiki/icons/book-36x20.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/icons/CAUTION_50x50.png || <nowiki>http://assets.openuru.org/wiki/icons/CAUTION_50x50.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/icons/community-users-48x48.png || <nowiki>http://assets.openuru.org/wiki/icons/community-users-48x48.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/icons/divider-48x48.png || <nowiki>http://assets.openuru.org/wiki/icons/divider-48x48.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/icons/help-48x48.png || <nowiki>http://assets.openuru.org/wiki/icons/help-48x48.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/icons/info-48x48.png || <nowiki>http://assets.openuru.org/wiki/icons/info-48x48.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/icons/INFO_50x50.PNG || <nowiki>http://assets.openuru.org/wiki/icons/INFO_50x50.PNG</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/icons/lock-48x48.png || <nowiki>http://assets.openuru.org/wiki/icons/lock-48x48.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/icons/music-107x94.png || <nowiki>http://assets.openuru.org/wiki/icons/music-107x94.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/icons/music-61x48.png || <nowiki>http://assets.openuru.org/wiki/icons/music-61x48.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/icons/note-edit-48x48.png || <nowiki>http://assets.openuru.org/wiki/icons/note-edit-48x48.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/icons/SECURITY_50x50.PNG || <nowiki>http://assets.openuru.org/wiki/icons/SECURITY_50x50.PNG</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/icons/STOP_50x50.PNG || <nowiki>http://assets.openuru.org/wiki/icons/STOP_50x50.PNG</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/icons/tech-gears-128x128.png || <nowiki>http://assets.openuru.org/wiki/icons/tech-gears-128x128.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/icons/tech-gears-48x48.png || <nowiki>http://assets.openuru.org/wiki/icons/tech-gears-48x48.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/icons/warning-48x48.png || <nowiki>http://assets.openuru.org/wiki/icons/warning-48x48.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/icons/wip_30x30.PNG || <nowiki>http://assets.openuru.org/wiki/icons/wip_30x30.PNG</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/icons/WIP_50x50.PNG || <nowiki>http://assets.openuru.org/wiki/icons/WIP_50x50.PNG</nowiki>
 +
|}
 +
 
 +
=== GPL Logos ===
 +
 
 +
{| class="wikitable"
 +
|-
 +
! Image !! URL for insertion
 +
|-
 +
| http://assets.openuru.org/logos/gpl/agplv3-155x51.png || <nowiki>http://assets.openuru.org/logos/gpl/agplv3-155x51.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/logos/gpl/agplv3-88x31.png || <nowiki>http://assets.openuru.org/logos/gpl/agplv3-88x31.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/logos/gpl/gplv3-127x51.png || <nowiki>http://assets.openuru.org/logos/gpl/gplv3-127x51.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/logos/gpl/gplv3-88x31.png || <nowiki>http://assets.openuru.org/logos/gpl/gplv3-88x31.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/logos/gpl/lgplv3-147x51.png || <nowiki>http://assets.openuru.org/logos/gpl/lgplv3-147x51.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/logos/gpl/lgplv3-88x31.png || <nowiki>http://assets.openuru.org/logos/gpl/lgplv3-88x31.png</nowiki>
 +
|}
 +
 
 +
=== General GNU Logos ===
 +
 
 +
{| class="wikitable"
 +
|-
 +
! Image !! URL for insertion
 +
|-
 +
| http://assets.openuru.org/wiki/icons/heckert_gnu_62x60.png || <nowiki>http://assets.openuru.org/wiki/icons/heckert_gnu_62x60.png</nowiki>
 +
|}
 +
 
 +
=== Creative Commons Logos ===
 +
 
 +
{| class="wikitable"
 +
|-
 +
! Image !! URL for insertion
 +
|-
 +
| http://assets.openuru.org/logos/cc/by.png || <nowiki>http://assets.openuru.org/logos/cc/by.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/logos/cc/cc.png || <nowiki>http://assets.openuru.org/logos/cc/cc.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/logos/cc/nc-eu.png || <nowiki>http://assets.openuru.org/logos/cc/nc-eu.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/logos/cc/nc-jp.png || <nowiki>http://assets.openuru.org/logos/cc/nc-jp.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/logos/cc/nc.png || <nowiki>http://assets.openuru.org/logos/cc/nc.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/logos/cc/nd.png || <nowiki>http://assets.openuru.org/logos/cc/nd.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/logos/cc/pd.png || <nowiki>http://assets.openuru.org/logos/cc/pd.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/logos/cc/remix.png || <nowiki>http://assets.openuru.org/logos/cc/remix.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/logos/cc/sa.png || <nowiki>http://assets.openuru.org/logos/cc/sa.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/logos/cc/sampling.plus.png || <nowiki>http://assets.openuru.org/logos/cc/sampling.plus.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/logos/cc/sampling.png || <nowiki>http://assets.openuru.org/logos/cc/sampling.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/logos/cc/share.png || <nowiki>http://assets.openuru.org/logos/cc/share.png</nowiki>
 +
|-
 +
| http://assets.openuru.org/logos/cc/zero.png || <nowiki>http://assets.openuru.org/logos/cc/zero.png</nowiki>
 +
|}
 +
 
 +
=== Miscellaneous Images ===
 +
 
 +
{| class="wikitable"
 +
|-
 +
! Image !! URL for insertion
 +
|-
 +
| http://assets.openuru.org/wiki/img/led-green.gif || <nowiki>http://assets.openuru.org/wiki/img/led-green.gif</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/img/led-red.gif || <nowiki>http://assets.openuru.org/wiki/img/led-red.gif</nowiki>
 +
|-
 +
| http://assets.openuru.org/wiki/img/led-yellow.gif || <nowiki>http://assets.openuru.org/wiki/img/led-yellow.gif</nowiki>
 +
|}
  
 
</div>
 
</div>

Latest revision as of 05:50, 31 December 2011

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

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:

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

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

Parser Functions

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
http://assets.openuru.org/wiki/icons/application-edit-48x48.png http://assets.openuru.org/wiki/icons/application-edit-48x48.png
http://assets.openuru.org/wiki/icons/art-52x47.png http://assets.openuru.org/wiki/icons/art-52x47.png
http://assets.openuru.org/wiki/icons/book-36x20.png http://assets.openuru.org/wiki/icons/book-36x20.png
http://assets.openuru.org/wiki/icons/CAUTION_50x50.png http://assets.openuru.org/wiki/icons/CAUTION_50x50.png
http://assets.openuru.org/wiki/icons/community-users-48x48.png http://assets.openuru.org/wiki/icons/community-users-48x48.png
http://assets.openuru.org/wiki/icons/divider-48x48.png http://assets.openuru.org/wiki/icons/divider-48x48.png
http://assets.openuru.org/wiki/icons/help-48x48.png http://assets.openuru.org/wiki/icons/help-48x48.png
http://assets.openuru.org/wiki/icons/info-48x48.png http://assets.openuru.org/wiki/icons/info-48x48.png
http://assets.openuru.org/wiki/icons/INFO_50x50.PNG http://assets.openuru.org/wiki/icons/INFO_50x50.PNG
http://assets.openuru.org/wiki/icons/lock-48x48.png http://assets.openuru.org/wiki/icons/lock-48x48.png
http://assets.openuru.org/wiki/icons/music-107x94.png http://assets.openuru.org/wiki/icons/music-107x94.png
http://assets.openuru.org/wiki/icons/music-61x48.png http://assets.openuru.org/wiki/icons/music-61x48.png
http://assets.openuru.org/wiki/icons/note-edit-48x48.png http://assets.openuru.org/wiki/icons/note-edit-48x48.png
http://assets.openuru.org/wiki/icons/SECURITY_50x50.PNG http://assets.openuru.org/wiki/icons/SECURITY_50x50.PNG
http://assets.openuru.org/wiki/icons/STOP_50x50.PNG http://assets.openuru.org/wiki/icons/STOP_50x50.PNG
http://assets.openuru.org/wiki/icons/tech-gears-128x128.png http://assets.openuru.org/wiki/icons/tech-gears-128x128.png
http://assets.openuru.org/wiki/icons/tech-gears-48x48.png http://assets.openuru.org/wiki/icons/tech-gears-48x48.png
http://assets.openuru.org/wiki/icons/warning-48x48.png http://assets.openuru.org/wiki/icons/warning-48x48.png
http://assets.openuru.org/wiki/icons/wip_30x30.PNG http://assets.openuru.org/wiki/icons/wip_30x30.PNG
http://assets.openuru.org/wiki/icons/WIP_50x50.PNG http://assets.openuru.org/wiki/icons/WIP_50x50.PNG

GPL Logos

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

General GNU Logos

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

Creative Commons Logos

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

Miscellaneous Images

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