Warning:
jsMath
requires JavaScript to process the mathematics on this page.
If your browser supports JavaScript, be sure it is enabled.
View source
From QED
for
Help:Tags
Jump to:
navigation
,
search
You can view and copy the source of this page:
{{{{SITENAME}}/Help}} On this web site, text markup can be accomplished both by using "wikimarkup" and by using '''tags'''. [http://meta.wikimedia.org/wiki/Help:Editing Wikimarkup] is designed to be easy to read and to write and is generally to be preferred over more complex alternatives. Sometimes, however, HTML or similar special-purpose tags are needed, for example for footnotes and complex mathematical formulae. ==Basic Tags== To specify that some text is to be processed in a special way, the text is enclosed by a start tag and an end tag, as illustrated by the following line using a fictitious label "tagName": <nowiki><tagName>Some text to be processed</tagName></nowiki> For example: {{pre|width=800|Content creation should not be recondite.<ref>Brendan Eich, ''Innovators of the Net.''</ref>}} If the sole purpose of a tag is to provide a directive, a single tag of the form <tagName/> may be specified. For example, to signal the position of all pending footnotes, one might write: <pre> ==Footnotes== <references/> </pre> ==HTML Tags== The use of unrestricted HTML raises certain privacy and security issues and a distinction is therefore drawn between "safe" and "potentially unsafe" HTML: * "Safe" HTML can be used in an unrestricted way. A list of safe HTML tags is provided [http://meta.wikimedia.org/wiki/Help:HTML_in_wikitext here]. * "Unsafe" HTML must be enclosed within an "html" tag as illustrated in the following: {{pre|<nowiki><html><script>alert("Hello")</script></html></nowiki>}} This allows the {{SITENAME}} administrators to disable the processing of unsafe HTML should security considerations so require. ==Special-Purpose Tags== The list of special-purpose tags that are available on {{SITENAME}} is growing over time as additional modules are added. Here is the current list: {| border=1 cellpadding=4 id=tags ! Tag ! Further Details ! Comment |- | <nowiki><nowiki></nowiki> ||[http://meta.wikimedia.org/wiki/Help:Editing#Just_show_what_I_typed] || Wiki markup between the nowiki start and end tags is left as-is |- | <nowiki><categorytree></nowiki> || [[Help:CategoryTree|CategoryTree]] || AJAX-based browser of category hierarchy |- | <nowiki><ref></nowiki> ||[[Help:Cite|Cite]] || Create a footnote |- | <nowiki><references></nowiki> ||[[Help:Cite|Cite]] || Insert pending footnotes |- | <nowiki><gallery></nowiki> || [[Help:Gallery|Gallery]] || Create a gallery of images |- | <nowiki><gnuplot></nowiki> || [[Help:Gnuplot|Gnuplot]] || Works with inline or uploaded data |- | <nowiki><math></nowiki> || [[Help:Math|Math]] || TeX markup for mathematical formulae |- | <nowiki><googlemap></nowiki> || [[Help:Googlemap|Googlemap]] || Embed a [[Help:Google Maps|Google Map]] |- | <nowiki><googlevideo></nowiki> || [[Help:Video|Video]] || Embed a [http://video.google.com Google video] using Flash. |- | <nowiki><graphviz></nowiki> || [[Graphviz]] || Markup for generating graphs with hot spots defined as hyperlinks |- | <nowiki><calendar></nowiki> || [[Help:Calendar|Calendar]] || Calendar with hyperlinks and support for a [[wikipedia:iframe|iframe]]s. |- | <nowiki><flash></nowiki> || [[{{SITENAME}}:Flash]] || View uploaded .swf Flash files |- | <nowiki><gflash></nowiki> || [[{{SITENAME}}:Gflash]] || View .swf Flash files using an http: URL |- | <nowiki><flyover></nowiki> || [[Help:flyover|flyover]] || Flyover images (images that appear when the cursor hovers over a <flyover src="http://qed.princeton.edu/images/8/8c/Acid_Rain_in_Europe,_1993.png" MAX=500>hotspot</flyover>) |- | <nowiki><image></nowiki> || [[{{SITENAME}}:image]] || a single tag for both internal and external images |- | <nowiki><jmol></nowiki> || [[Help:Jmol|Jmol]] || view 3D images of molecules interactively and stereoscopically |- | <nowiki><kmz></nowiki> || [[{{SITENAME}}:KMZ]] || a tag for use with [[Help:Google Earth|Google Earth]] and [[Help:Google Maps|Google Maps]] |- | <nowiki><memorize></nowiki> || [[Help:Memorize|Memorize]] || Create an interactive flashcard quiz or memory game. |- | <nowiki><mov></nowiki> || [[Help:mov|mov]] || Embed QuickTime video |- | <nowiki><ram></nowiki> || [[Help:ram|ram]] || Embed RealMedia video |- | <nowiki><sharethis></nowiki> || [[Help:Share this|Share this]] || <sharethis/> |- | <nowiki><DPL></nowiki> || [[{{SITENAME}}:Dynamic Page List]] || A simple query language for finding {{SITENAME}} pages matching namespace/category criteria |- | <nowiki><ListSubPages></nowiki> || [[{{SITENAME}}:List Subpages]] || List the subpages of a top-level page. Use [[:Template:ls]] |- |} In addition, the following tags are currently supported but may be temporarily disabled if security considerations so require: * the <nowiki><javascript></nowiki> tag for executing Javascript — see [[Help:Javascript]]; * the <nowiki><php></nowiki> tag for executing [[wikipedia:PHP|PHP]]{{wp}} (currently restricted to '''protected''' pages) — see [[phpinfo]] for an example. ==Tags in Templates== To define a [[Help:template|template]] using a tag containing template variables, the '''[[Help:macro|#macro]]''' parser function should be used. ==See also== * [[Help:Video]] * [[Help:Templates]] * [[JpGraph]]
Templates used on this page:
Template:Pre
Template:QED/Help
Template:Qed
Template:Wp
Return to
Help:Tags
.
Views
Help page
View source
History
Personal tools
Log in
Navigation
QED Home Page
Projects
Help
Community portal
Contributions
Recent changes
QED News
princeton
Almagest
Blackboard
Blog Service
IT's Academic
Mapping Globalization
University Channel
WebMedia
Princeton University
Search
Advanced search
Toolbox
What links here
Related changes
Special pages
Tag This!
BlogMarks
del.icio.us
digg
edtags
Furl
iGoogle
reddit
Segnalo
Simpy
Spurl
Yahoo