User:Kikino

From YUIkipedia
Jump to navigation Jump to search

Stuff

#REDIRECT [[page]]

[citation needed] fact for citation needed

Template:Cquote << for quoted text

This is one.

—This is four
, and this is five.

{{cquote|This is one.<br> |4=This is four<br> |5=and this is five.}}


Template:Lowercase < on the top of the page to change first letter to lowercase

Template:Cleanup/ja

Template:Empty_section

Template:Expand

Embed video

To add the link in the wiki: <youtube>FileNameOfYouTubeVideo</youtube>

OR

The EmbedVideo parser function expects to be called in either of the following ways:

  • {{#ev:service|id}} -or-
  • {{#ev:service|id|width}}

Where:

  • service is the name of a video sharing service.
  • id is the id of the video to include
  • width (optional) is the width in pixels of the viewing area (height will be determined automatically)

For example, to include the famous "evolution of dance" YouTube video, you'd enter:

{{#ev:youtube|dMH0bHeiRNg}}

And if you wanted scaled down to thumbnail size, you could use:

{{#ev:youtube|dMH0bHeiRNg|100}}

Note: See the Project Homepage for more examples.

Supported Services

As of version 0.1, EmbedVideo supports embedding video content from the following services:

Colors

Set text color by using <span style="color:#009000"> TEXT </span>

Set background color by using <span style="background:#00FF00"> TEXT </span>

Set both by using <span style="color:#FFFFFF; background:#FF69B4"> TEXT </span>


Standard color names

The HTML 4.01 specification defines sixteen named colors, as follows:

Color Hexadecimal Color Hexadecimal
black #000000 silver #c0c0c0
gray #808080 white #ffffff
maroon #800000 red #ff0000
purple #800080 fuchsia #ff00ff
green #008000 lime #00ff00
olive #808000 yellow #ffff00
navy #000080 blue #0000ff
teal #008080 aqua #00ffff



Cheatsheet

http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet

Notifications

http://en.wikipedia.org/wiki/Wikipedia:Template_messages/Cleanup#Expand_and_add

Extended image syntax

http://en.wikipedia.org/wiki/Wikipedia:Extended_image_syntax

MaintenanceShell

Special:MaintenanceShell


Sidebar Setup

MediaWiki:Sidebar

Gallery

The gallery-tag is a quick way to show thumbnails in a number of columns. The images will have a single fixed width. The gallery-tag also allows text to take the position of an image. The resulting HTML is that of a table with class="gallery", with cells with class="gallerybox".

Each entry is of the form File:image name or File:image name|caption, possibly with links.

A title to the gallery can be given with "gallery caption" parameter. The number of images per row can be set by "perrow"; the default is 4, but perrow is ignored on Commons (as of 2009-01-15). The width and height per image ("widths" and "heights") can be set as well. The height of the caption depends on the image width and varies per image with the length of the caption. The height of each table row is the maximum height needed in that row for an image with a caption.

Example:

<gallery caption="Sample gallery" widths="100px" heights="100px" perrow="6">
File:Drenthe-Position.png|[[w:Drenthe|Drenthe]], the least crowded province
File:Flevoland-Position.png
File:Friesland-Position.png|[[w:Friesland|Friesland]] has many lakes
File:Gelderland-Position.png
File:Groningen-Position.png
File:Limburg-Position.png
File:Noord_Brabant-Position.png
File:Noord_Holland-Position.png
File:Overijssel-Position.png
File:Utrecht-Position.png
File:Zuid_Holland-Position.png|[[w:South Holland|South Holland]], the most crowded province
File:Zeeland-Position.png
</gallery>

gives:

Galleries in categories

A gallery of images on a category page is automatically shown as the fourth section of this category page. The first 20 characters of the image name are shown, with dots if that is not the full name. Both the image and the name link to the image page, instead of just the image. No alternative text or other links are possible. The file size is also shown.

For a comparison, see commons:Category:William-Adolphe Bouguereau and commons:William-Adolphe Bouguereau.

Images in a table

Using table syntax, with images in separate cells, and the image syntax explained elsewhere on this page, gives more control over size, layout, captions, etc. than each of the two methods above. However, only a category page automatically gives file sizes.

Example of an image table:

{| border="1"
|+'''Provinces of the Netherlands'''
|-
| valign="top"|
[[File:Drenthe-Position.png|thumb|left|150px|[[w:Drenthe|Drenthe]], the least crowded province]]
| valign="bottom"|
[[File:Flevoland-Position.png|thumb|left|100px|]]
| valign="top"|
[[File:Friesland-Position.png|thumb|left|100px|]]
|-
|
|-
| valign="top"|
[[File:Gelderland-Position.png|thumb|left|100px|]]
| valign="top"|
[[File:Zuid_Holland-Position.png|thumb|left|100px|[[w:South Holland|South Holland]], the most crowded province]]
| valign="top"|
[[File:Utrecht-Position.png|thumb|left|50px|]]
|}

gives:

Provinces of the Netherlands
File:Drenthe-Position.png
Drenthe, the least crowded province

Note that, with this method, each image has a width specified by the size option, if any, and a height depending on whether there is caption or not, and how long the caption is. The width of a column is determined by the widest image in it, and the height of the row is determined by the tallest image in it.

Template:Tim supports making a gallery using table syntax.

The parameters "left" and "right" may give complications inside a table (and may not be needed anyway), depending on the browser. In IE the first table sometimes (!) displays text through the image:

{| border="1"
| [[File:Crystal_Clear_app_clock.png|left]]
|abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
|}
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
{| border="1"
| [[File:Crystal_Clear_app_clock.png]]
|abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
|}
File:Crystal Clear app clock.png abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz


Extra CSS

MediaWiki:Print.css