QED:Templates

From QED

(Redirected from Help:Quotations)
Jump to: navigation, search

To review or search all templates, visit Special:Prefixindex and select the Template namespace, or go there now.

For a list of copyright notices defined as templates, visit Template:Copyright.

For Dublin Core templates, see Dublin Core.

The following tables provides a guide to generic or frequently-used templates.


Contents

Viewing Uploaded Files

Template:Audio Display the link to an uploaded audio clip
Template:GoogleEarth View a geographical data file using Google Earth google_earth_link.gif Trade Routes (help · info)
Template:GoogleEarthMaps View a geographical data file using Google Earth or Google Maps /images/7/7f/Muslmrtes.kmz http://maps.google.com/maps?f=q&hl=en&q=http://qed.princeton.edu//images/7/7f/Muslmrtes.kmz Trade Routes(help · info)
Template:GoogleMaps View a geographical data file using Google Maps icong10px.png Trade Routes (help · info)
Template:msword E.g. {{msword|xyz.doc|XYZ Documentation}} produces: XYZ Documentation (help · info)
Template:pdf E.g. {{pdf|xyz.pdf|XYZ Documentation}} produces: XYZ Documentation (help · info)

Template:pdflink can be used for hyperlinks to pdf files in general, e.g. {{pdflink|http://no.where.org/example.pdf|example.pdf}} produces example.pdf

For files that have been uploaded to Webshare, see Template:webshare.

For .djvu files, see Template:djvu.

See also Help:Video and Help:Flash.

Cataloging Templates

Signs and Symbols

Template:* {{*‎}}  •
Template:blackbox {{blackbox}}
Template:ck Check marks, ballot Xs, empty ballot box ✓ ✔ ✗ ✘ ☐
Template:favicon {{favicon|http://qed.princeton.edu}}
http://qed.princeton.edu
Template:graybox {{graybox}}

Template:gt a{{gt}}b ab
Template:P Resizable orange {{{1}}} .gif image
Template:permalink E.g.Permalink11px.gifThis is a DOI permalink Permalink11px.gif
Template:TM TradeMark symbol TM Compare XyzzyTM with Xyzzy™

Separators

These symbols also serve as paragraph separators.

Template:graybox {{graybox}}  

Template:halfline {{halfline}}

_________________________________

Quotations

Template:cquote produces formatted text with quotation marks like this:

And this is what he said.

—Aaron Copland, Lincoln Portrait

Template:quotation produces a box like this. See also Template:Quote.

Template:quote produces formatted text like this. Optionally, source information may also be specified. See also Template:Quotation.

Wiki Guy

Text Boxes

Image:45px-Stop.png
This is a warning using Template:Warning


File: hello.php
<?php
echo "Hello world.\n";
?>


This text box uses Template:code, which is a variant of Template:File.


This text box uses Template:box, which allows the text to wrap dynamically depending on the size of the browser window. One can also optionally specify the width of the box and other parameters.


This text box uses Template:pre, which produces similar results to the HTML <pre> tag, except that the text will wrap dynamically depending on the size of the browser window. This template is identical to Template:box except that the text in the box is embedded within <tt> and </tt> tags.


Examples:
Left-Aligned Text Box
{{textbox|Heading|Body}}
Centered Text Box
<center>{{textbox|Heading|Body}}</center>
Right-Aligned Text Box
<div align=right>{{textbox|Heading|Body}}</div>

See also Help:Boxed text.

Templates for Tables and Templates

Template:bgc, Template:rh, and Template:table illustrate how templates can be used to specify style in a table.

The bgc template can be used anywhere that the CSS attribute "background-color" is used. For example, it makes it easy to create a table with alternating row colors, though such tables can often be created more simply using the zebra class.

The rh template is mainly intended to simplify creating row-wise style specifications.

The first of the following two tables uses {{table}}, and the second uses class=wikitable:

Glyph Entity Name
© &copy;
Glyph Entity Name
© &copy;


Special Characters

  • {{!}} is |
  • {{!!}} is ||
  • {{eq}} is =

The following can be used in contexts where a literal | is desired:

  • {{vbar}} is equivalent to &#124; and produces |
  • {{abs|X}} is equivalent to &#124;X&#124; and produces |X|

Miscellaneous

Template:archive Manage link rot by using web.archive.org http://infoshare1.princeton.edu/katmandu/electronic/ejpage.html
Template:Click Specify the hyperlink for a small image
Template:Clr Force a break across the entire page (useful e.g. with tables)
Template:Co Generate a text box with foreground and background colors
Co blue yellow
Template:Color Specify text color Blue
Template:DOI E.g. {{DOI|10.1038/35057062|example}} produces: Permalink11px.gifexampleDOI
Template:ExternalAudio Display the link to an external audio recording

(subject to Wiktionary licensing restrictions).

Template:fs Change the fontsize e.g. {{fs|4|This is size 4}} This is size 4
Template:h:title Add hovertext and optionally underline with dots Hover here
Template:legend Create a color legend      The color black
Template:ls Include a list of the subpages of a top-level page. (Ardvaark/xyzzy is a subpage of Ardvaark.)
Template:pdflink Link to an external pdf file WorldHaplogroupsMaps.pdf
Template:period color Map names for geological time periods to color specifications
Cambrian
Template:repeat Repeat TEXT COUNT number of times ∎∎∎∎∎∎∎∎∎∎
Template:RestartTheAnimation Provides a button for reloading the first image on the page
Template:target Specify that a link should open in a new tab or window Princeton University
Template:Titled-click Specify the hyperlink and hover text for a small image
Template:Top Insert a hyperlink to the top of the page. The label can be customized

↑Top

Template:Valid XML Use the W3C Valid XML logo to advertise and/or to facilitate testing
Template:wp Useful when a link to wikipedia and to another page are both wanted
e.g. [http://dspace.mit.edu DSpace]{{wp|DSpace}}
DSpacewp

Other Examples

On this page, {{ls}} produces: This page doesn't have any sub-pages

See also

Personal tools