Help:Contents

(Difference between revisions)
Jump to: navigation, search
(Add info on #REDIRECT)
Line 21: Line 21:
  
 
  <nowiki>[[Category:Facets]]</nowiki>
 
  <nowiki>[[Category:Facets]]</nowiki>
 +
 +
== Redirect a page to point to another ==
 +
 +
To redirect an existing page to another page, use the following syntax as the first line of the page to be redirected:
 +
 +
<nowiki>#REDIRECT[[Page to redirect to]]</nowiki>
  
 
== Add a code span or block ==
 
== Add a code span or block ==

Revision as of 05:02, 3 November 2015

Style guide and various tips on MediaWiki formatting and markup.

Contents

Style guide

A guide to preferred usage and presentation of terms used throughout this wiki. See also Wikipedia's Manual of Style.

SIMILE Widgets
NOT Simile Widgets – SIMILE widgets – Simile widgets
refers to this open-source project
SIMILE Project
NOT Simile Project – SIMILE project – Simile project
refers to the original MIT project from which SIMILE Widgets derives

Find external links

You can search for external links matching a certain protocol with Special:LinkSearch.

Assign a category to a page

To add a category (e.g. Facets) to a given page, add the following anywhere on the page (at end is best):

[[Category:Facets]]

Redirect a page to point to another

To redirect an existing page to another page, use the following syntax as the first line of the page to be redirected:

#REDIRECT[[Page to redirect to]]

Add a code span or block

For a code fenced paragraph that respects indentation, use a space (" ") followed by <nowiki> tags:

 <nowiki><div ex:role="facet" 
   ex:expression=".age"
   ex:facetClass="Slider" 
   ex:horizontal="true"
   ex:precision="100"
   ex:histogram="true">
</div></nowiki>

Which renders as:

<div ex:role="facet" 
   ex:expression=".age"
   ex:facetClass="Slider" 
   ex:horizontal="true"
   ex:precision="100"
   ex:histogram="true">
</div>

Transclude one page inside another

Use {{Exhibit3}}. Items in the main namespace must use a leading colon, e.g. {{:Exhibit3}}. See Transclusion on MediaWiki site for more details.

Transclude category listings

Per Stack Overflow, Semantic MediaWiki allows you to do so with:

{{#ask:[[Category: Facets]]
|format=ul
}}

Which yields:


MediaWiki Help

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox