Jump to content

User:Rearete/WikiCode: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
SmackBot (talk | contribs)
m Date maintenance tags and general fixes: build 564:
 
(2 intermediate revisions by one other user not shown)
Line 9: Line 9:
== Cleanup ==
== Cleanup ==


The code {*{cleanup}} produces the tag {{cleanup}}
The code {*{cleanup}} produces the tag {{cleanup|date=November 2010}}




Line 16: Line 16:
The syntax used for displaying an image is:
The syntax used for displaying an image is:


[[Image:{name}|{type}|{location}|{size}|{caption}]]
[[Image:{name}|{type}|{location}|{size}|{caption}]]


Only [[Image:{name}]] is required. The other details are optional and can be placed in any order.
Only [[Image:{name}]] is required. The other details are optional and can be placed in any order.


They are:
They are:


'''Type''':
'''Type''':
'thumb' / 'thumbnail' or 'frame'. This causes image to be displayed with specific formatting. "thumb" is normally preferred.
'thumb' / 'thumbnail' or 'frame'. This causes image to be displayed with specific formatting. "thumb" is normally preferred.


'''Location'''
'''Location'''
'right', 'left', 'center' or 'none'. Determines placement of the image on the page. "Left" or "right" is the norm, but large panoramas or timelines can be displayed in the center.
'right', 'left', 'center' or 'none'. Determines placement of the image on the page. "Left" or "right" is the norm, but large panoramas or timelines can be displayed in the center.
'''Size'''
{width}px or {width}x{height}px (e.g. 50x40px, would limit width to 50 and height to 40). Normally only one variable is used. Use common sense when determining the sizes; you can use the "Show preview" button if you need to.


'''Caption'''
'''Size'''
Any element which cannot be identified as one of the above is automatically treated as caption text. It is traditional to put this last. The caption should identify what the image is, and ideally be a complete sentace that adds to the article by pointing out something a casual reader wouldn't have noticed otherwise, or add information the pertains to the image.
{width}px or {width}x{height}px (e.g. 50x40px, would limit width to 50 and height to 40). Normally only one variable is used. Use common sense when determining the sizes; you can use the "Show preview" button if you need to.
'''Caption'''
Any element which cannot be identified as one of the above is automatically treated as caption text. It is traditional to put this last. The caption should identify what the image is, and ideally be a complete sentace that adds to the article by pointing out something a casual reader wouldn't have noticed otherwise, or add information the pertains to the image.


If you have a picture that isn't already in Wikipedia's image collection that you want to include in an article, you will need to upload it first.
If you have a picture that isn't already in Wikipedia's image collection that you want to include in an article, you will need to upload it first.

==Vandalism Counter==
{{User:Bob/vandalcounter
|<small>at least 2</small>
|center=false
|please=true
}}
In case i ever want to use it

Latest revision as of 12:33, 15 November 2010

Wikipedia:Vandalism Guidelines on vandalism

Lots of the wiki markup can be found at Wikipedia:How to edit a page

This page is for me to put down codes and links so that I won't forget them.

Remove the * from code to get it to work.

Cleanup

[edit]

The code {*{cleanup}} produces the tag


Inserting a picture in an article

[edit]

The syntax used for displaying an image is:

[[Image:{name}|{type}|{location}|{size}|{caption}]]

Only [[Image:{name}]] is required. The other details are optional and can be placed in any order.

They are:

Type: 'thumb' / 'thumbnail' or 'frame'. This causes image to be displayed with specific formatting. "thumb" is normally preferred.

Location 'right', 'left', 'center' or 'none'. Determines placement of the image on the page. "Left" or "right" is the norm, but large panoramas or timelines can be displayed in the center.

Size {width}px or {width}x{height}px (e.g. 50x40px, would limit width to 50 and height to 40). Normally only one variable is used. Use common sense when determining the sizes; you can use the "Show preview" button if you need to.

Caption Any element which cannot be identified as one of the above is automatically treated as caption text. It is traditional to put this last. The caption should identify what the image is, and ideally be a complete sentace that adds to the article by pointing out something a casual reader wouldn't have noticed otherwise, or add information the pertains to the image.

If you have a picture that isn't already in Wikipedia's image collection that you want to include in an article, you will need to upload it first.

Vandalism Counter

[edit]
This userpage has
been vandalized
at least 2
times.

If you're going to vandalize my
page, please update the counter.


In case i ever want to use it