Half-Life Wiki
Advertisement
Half-Life Wiki
This article pertains to Half-Life WikiThis page is semi-protected.

This page will provide instruction on how to add an image into an article.

Categories referring to images.

Before uploading

Screenshots

By default, screenshots can be made in all Valve games with the F5 key. Fraps can also be used. GoldSrc games save them in BMP, Source games in JPG.

Anti-aliasing

Pistol antialiased

The difference between non anti-aliased (above) and anti-aliased (below) models.

First, it would be better to choose the biggest resolution you can afford, and turn on the anti-aliasing. It can be found in the game advanced video options. It would look much better. Even if your computer can't follow, it does not really matter, since you are there to take pictures, not play seriously. Also, some graphic cards offer an override of the original game's resolution, which will look even better. For example, many sharp edges, such as the ones seen in trees or metal fences still look quite "ugly" without an override.

Don't just press "F5" right away

Do your best to provide screenshots where the related subject can clearly be identified. Don't crop too much, it is always better to clearly see the context surrounding the subject, but don't provide screenshots where the main subject is too far either. Try to be as artistic as possible, it cannot kill this wiki to provide good-looking screenshots, and be careful not to have too much ground/water in the screenshot, which is a mistake many people do, even in real life photography. It is always better to have more sky/ceiling than ground/water.

Also, while the GoldSrc games save screenshots in BMP, the Source games save them in JPG. The compression of the latter is too high and cannot be changed, so reduce the size of the image to lessen the JPG compression artifacts, or use Fraps to save them in another format, then convert them in JPG with a program that allows choosing JPG compression. So, avoid Paint at all costs, and prefer Photoshop or IrfanView.

Useful console tweaks

If you want to provide screenshots for general settings where the player's presence is irrelevant, you can hide the HUD ("hud_draw 0" in GoldSrc and "cl_drawhud 0" in Source), the crosshair ("crosshair 0" in GoldSrc; "cl_drawhud 0" hides both in Source) and the weapons ("r_drawviewmodel 0" in GoldSrc and Source and "impulse 200" in Source only) with the console. Use also "noclip" to have a better freedom of movement, "god" to be safe from possible crossfire or a great drop when you disable "noclip", and also "notarget", so that almost every entity ignores you. That makes you practically invisible, you can take all the pictures you want without being bothered. See these examples of an empty screen: example 1, example 2.

File formats

Prefer JPG for these files, especially if they are really big. The PNG quality for screenshots is uselessly too high.

Custom games

Noncanon

An example of a customized canon game. Custom elements like this are not allowed in a screenshot.

Also, do not take screenshots from customized/tweaked canon games, like FakeFactory's Cinematic Mod or GameBanana offers. Prefer the original models and textures, the only canon render.

Other

To be more faithful to the original games, prefer taking screenshots in Half-Life rather than Half-Life: Source, unless you want to showcase the differences between the two games.

For the same reason, HD models should be used only in Blue Shift and Decay screenshots.

Models

In-game models are often better to help understanding how this NPC, weapon, technology device, etc. works. It does not really matter.

Covers

Unless you can find a better resolution, all covers are ok for now.

Logos

If you want to upload game logos from the game files or anywhere else, it would be better if they were in PNG. Also, if a SVG version is available, it is much better.

Uploading

All pictures should be uploaded to the Half-Life site by using this page, Special:Upload (You have to have an account and be logged in to upload an image.

Warning: do NOT upload images that do not have anything to do with this wiki, which is not an image repository; they will be deleted. However this does not apply to user images (to be used only on your userpage): however the information template is also mandatory for them.

After uploading

After the upload, add under the picture the Template:Information. It is mandatory.

Simplest form

Pick up that can2

Above is an image of Civil Protection. To put your own image into an article you just need to add this code:

[[File:Pick up that can2.jpg]]

Standard image format

However the above code offers no formating options and so all images should follow the Wiki image markup language. The wiki markup language will only work if no capital letters are used. Most images on Half-Life should follow this Wiki format:

[[File:Pick up that can2.jpg|thumb|right|Example image caption.]]
Pick up that can2

Example image caption.

This code will create the image to the right. Looking at the code above we can see that:

  • Logo.jpg is the image file name. When you upload a file a different name will be given to when you use this page to upload a file
  • thumb: Using "thumb" forces the creation of a thumbnail or smaller picture.
  • Location : 'right', 'left', 'center' or 'none'. Determines placement of the image on the page.
  • Caption : The image should always have a short description which would replace the "Example image caption" text on your image.

DO NOT upload small thumbnails!

  • Please DO NOT upload anymore small thumbnails or pictures of Images that already exist on the Half-Life wiki! If you want to use this image, [[File:Station 7.jpg]] then link to that image! DO NOT upload a smaller version.

So here is [[File:Station 7.jpg]]:

Station 7



If you want to show a small version then all you have to do enter the following code:

[[File:Station 7.jpg|200px]]. The "|200px" code allows you to make the picture any size you want just by changing the number as shown here where the 200px makes the image 200px wide:

Station 7



DO NOT upload a small version of an existing picture!


Advanced image formating

Options can be combined, and vertical bars ("|") are used to separate options from each other. The options can be put in any order. An unknown option is taken as the caption text, but this seems to appear only if thumb is specified. If there are two or more unknown options, the last one upstages the rest.

Here is the description of the options other than the caption text:

right
Pick up that can2
The image is right-aligned, and text floats to the left of the File: [[File:Pick up that can2.jpg|right|70px|]] (shown on the right).
left
Pick up that can2
The image is left aligned, and text floats to the right of the File: [[File:Pick up that can2.jpg|left|70px|]] (shown on the left).
center
The image is centered, and...
Pick up that can2
the text following the image starts below it: [[File:Pick up that can2.jpg|center|70px|]] (shown above).
none
The image is put at the left, and...
Pick up that can2
the text following does not float to the right (or to the left, obviously), and starts below it: [[File:Pick up that can2.jpg|none|70px|]] (shown above).
sizepx
Pick up that can2
This option renders a version of the image that's [size] pixels wide (e.g. [[File:D-Halo.jpg|right|50px|]] shown on the right). Height is computed to keep aspect ratio (i.e. the shape of the image)

Last vertical bar law

Pick up that can2

What is between the last vertical bar and the closing brackets ("]]"), void or not, is taken as the last option, and works as usual. For instance, when the last option is right, the image is right-aligned, and text floats to the left: [[File:Pick up that can2.jpg|70px|right]] (shown on the right).

Pick up that can2
Pick up that can2

This text is displayed.

In particular, if the last option is the void text (that is, if there is nothing between the last vertical bar and the closing brackets), the caption is not displayed: [[File:Pick up that can2.jpg|thumb|This text is not displayed.|70px|left|]] (shown on the left) and [[File:Pick up that can2.jpg|thumb|This text is displayed.|70px|right]] (shown on the right).

Frame option

If you specify a "frame" option the image will not be scaled, and no size specifiers will be in the HTML. The image will be rendered at full size

frame
Pick up that can2

Pick up that can.

With this option, the embedded image is shown with its actual size enclosed by a frame, regardless of the "thumb" or "size" attribute, and the caption, if any, is visible in the frame. Without the options left, center, and none, the image is normally on the right: [[File:Pick up that can2.jpg|frame|thumbnail|50px|OPic]].

Inline Images

With none of the options other than sizepx and alternate (caption) text, an embedded image is rendered inline.

text text text text text text text text text text text text text
[[File:Pick up that can2.jpg|150px|The Palace of Westminster]]
text text text text text text text text text text texttext text 
[[File:Vort Ep2.jpg|100px|This is a globe.]]
text text text text text text text text text texttext text text 

gives

text text text text text text text text text text text text text text text text text texttext text text text text texttext text text text text texttext text text text text text The Palace of Westminster text text text text text text text text text text texttext text text text text texttext text text text text text This is a globe. text text text text text text text text text texttext text text text text texttext text text text text texttext text text text text texttext text text text text texttext text text text text text

Image with caption in the center

Pick up that can2

Pick up that can.

Use [[File:image name|alignment|type|size|<div style="text-align: center;border:none">Caption</div>]]

For example, [[File:Pick up that can2.jpg|right|thumb|100px|<div style="text-align: center;border:none">Pick up that can.</div>]] produces a caption in the center. However, this syntax is not recommended for long captions (for example, captions involving long, descriptive sentences running more than one line), for which the regular image syntax should be used. You can also specify the color of the border, like "border:solid grey".

Linking to the image description page

If you want to make a link to the description page for an image, use a leading colon before "File:" in an intra-wiki link, like this: [[:File:Pick up that can2.jpg|STS-32 crew]] which yields: STS-32 crew

Image galleries

To make a gallery of Images you can use the following code:

<gallery widths=140 position=center captionalign=center hideaddbutton=true><!--- DO NOT ALTER THESE CODES --->
File:Pick up that can2.jpg
File:Pick up that can2.jpg|Captioned
File:Pick up that can2.jpg
File:Pick up that can2.jpg|[[Help:Editing|Links]] can be put in captions.
File:Pick up that can2.jpg
File:Pick up that can2.jpg|Full [[wikipedia:MediaWiki|MediaWiki]]<br />[[wikipedia:syntax|syntax]] may now be used…
</gallery>

Which produces:

Notice that there are no brackets except for links within captions. Captions are optional. Images are separated by new lines.

Categories

Please add the proper category below the image you upload. Most common categories can be found here. If it does not exist, create it, but be really sure it does not exist!

Advertisement