Difference between revisions of "Help:Editors Toolbox"

From Second Life Wiki
Jump to navigation Jump to search
m (→‎Templates: note #ID syntax)
m (→‎Templates: cleanup)
Line 43: Line 43:
|-
|-
|<nowiki>{{</nowiki>[[Template:Help/Box|Help/Box]]|<TOPIC>|<TEXT>}}
|<nowiki>{{</nowiki>[[Template:Help/Box|Help/Box]]|<TOPIC>|<TEXT>}}
|Creates an inforbox with defined <TOPIC> and <TEXT> in a [[Help Portal]] style.
|Creates an infobox with defined <TOPIC> and <TEXT> in a [[Help Portal]] style.
|-
|-
|<nowiki>{{</nowiki>[[Template:Hint|Hint]]|mode=<MODE>|desc=<DESCRIPTION>}}
|<nowiki>{{</nowiki>[[Template:Hint|Hint]]|mode=<MODE>|desc=<DESCRIPTION>}}
Line 79: Line 79:
|-
|-
|<nowiki>{{</nowiki>[[Template:Unsigned|Unsigned]]|<USERNAME>|<DATE>}}
|<nowiki>{{</nowiki>[[Template:Unsigned|Unsigned]]|<USERNAME>|<DATE>}}
|Supposed to be used on talkpages, to mark a comment as unsigned and to provide the right signature.
|Supposed to be used on talk pages, to mark a comment as unsigned and to provide the right signature.
|-
|-
|<nowiki>{{</nowiki>[[Template:User|User]]|<USERNAME>}}
|<nowiki>{{</nowiki>[[Template:User|User]]|<USERNAME>}}
Line 97: Line 97:
*[http://www.mediawiki.org/wiki/Extension:Widgets Widgets]
*[http://www.mediawiki.org/wiki/Extension:Widgets Widgets]


Please note that not all parser functions listet there are available in the SL Wiki. <code>#titleparts</code> and <code>#iferror</code> are missing. Furthermore, there are known problems with conditionals and variables. See {{Jira|WEB-896}}.
Please note that not all parser functions listed there are available in the SL Wiki. <code>#titleparts</code> and <code>#iferror</code> are missing. Furthermore, there are known problems with conditionals and variables. See {{Jira|WEB-896}}.


== Widgets ==
== Widgets ==

Revision as of 00:55, 10 January 2009

This page some available tools for Wiki editors. For LSL Portal specific tools, please read the LSL Editing Primer.

For userpage specific templates, see Quickie Wiki Intro/Usercategories.

For general MediaWiki syntax, please have a look at the Quickie Wiki Intro as well as the MediaWiki Help Pages.

Templates

The description provided at this page is a short summary of the functionality of the templates. For further details on usage, please browse to the linked documentation pages.

Template Description
{{Anchor|<ID>}} Sets an anchor at a page. You can link there with [[PAGENAME#<ID>]] (or just [[#<ID>]] for anchors on the same page).

Note: MediaWiki automatically generates anchors for headings.

{{Age|<YYYY>|<MM>|<DD>}} Displays a difference between the current date and a given date in days. See also Template:CountDown.
{{Box|<TOPIC>|<TEXT>}} Places a nice box around the text. Might break when you use additional Wiki syntax within the the <TOPIC> or <TEXT> fields.
{{CountDown|<YYYY>|<MM>|<DD>}} Dispays the difference between a given date and the current date in days. See also Template:Age
{{Delete|<REASON>}} Requests the deletion of a page.
{{Ediquette}} Places an infobox at a users talkpage which gives suggestions to be more thoughtful with the Wikis resources.
{{Footnote|<TEXT>}} Saves text for a footnote. Supposed to be used in combination with Template:Footnotes.
{{Footnotes}} Displays footnotes defined with Template:Footnote.
{{Help}} Displays a Help Header and Multi-lang bar above the article and can add it to certain categories.
{{Help/Box|<TOPIC>|<TEXT>}} Creates an infobox with defined <TOPIC> and <TEXT> in a Help Portal style.
{{Hint|mode=<MODE>|desc=<DESCRIPTION>}} Is able to create a variety of different warning boxes.
{{HoverText|<TERM>|<HOVER>}} Underlines <TERM> and displays the hovertext specified in <HOVER> as an on-mouse-over effect.
{{HoverLink|<LINK>|<HOVER>}} Creates an internal wiki link with a given hovertext.
{{Jira|<ISSUE-ID>}} Places a link to the specified issue the public issue tracker.
{{KB|<ID>|<TITLE>}} Creates a link to a Knowledge Base article. See also Template:Slkb.
{{Multi-lang}} Displays a language bar on top of the article which links to translated versions. See also Project:Languages.
{{NoWrap|<TEXT>}} Prevents <TEXT> from beeing altered via line breaks.
{{RightToc}} Places the table of contents on the right side of the article.
{{Slkb|<ID>|<TITLE>}} Creates a link to a Knowledge Base article. See also Template:KB.
{{SLurl|<REGION>}} Provides an easy way to create SLURLs.
{{SLURL2|<SLURL>}} Displays <SLURL> in a nicer format.
{{Unsigned|<USERNAME>|<DATE>}} Supposed to be used on talk pages, to mark a comment as unsigned and to provide the right signature.
{{User|<USERNAME>}} Creates a link to <USERNAME>s profile.
{{User2|<USERNAME>}} Only creates a link to <USERNAME>s profile, in case <USERNAME> created a profile page. Otherwise just displays the name as text.


Infos for template creators

All extensions currently installed in the Wiki are listed at Special:Version. The most important ones for template creators might be

Please note that not all parser functions listed there are available in the SL Wiki. #titleparts and #iferror are missing. Furthermore, there are known problems with conditionals and variables. See WEB-896.

Widgets

See http://www.mediawiki.org/wiki/Extension:Widgets for general information about widgets. All currently in the SL Wiki available widgets can be found at Special:PrefixIndex/Widget:. You can suggest the implementation of further widgets via the issue tracker.


Videos and Images

Videos

The VideoFlash extension allows to add YouTube and Google Videos (as well as some others). We also got a Blip.tv widget as well as one for YouTube playlists, which is falsely named as Widget:YouTubeChannel.

Images

Images can either be added via the regular MediaWiki syntax (see Mediawiki Help:Images) or via the ImageMap extension. The ImageMap manual from Wikipedia as well as the ImageMap editor tool can be useful. Note that images added via this extension cause a line break which can be avoided by putting image and text in between <div class="imagemap-inline"></div>.