Help:Editing
From Tech Artists Wiki
This page should contain samples of commonly-used Wiki code. The samples should conform to a common style we wish to use for pages throughout the TAO wiki.
The standard MediaWiki WikiText article can be found here.
Contents |
[edit] Images
To add a picture to a page, use the Wiki code [[image:imagename.ext|frame|Image by [http://author-website.com Author Name] ]]. After you press Show Preview or Show Page you can click the link to upload the image.
Rules:
- Your image needs a unique name, otherwise you'll get an image that already exists.
- Accepted image formats are 'gif','png','jpg','jpeg','svg'. Accepted document formats are 'xls','doc','ms','mcr','py','mel','hlsl','fx'.
- Image size should be 150 KB or less, though larger images are permitted.
- Where possible, get the artist's permission before posting their image.
- Always add a caption and an artist credit. The artist's name should be a link to their website.
- Images should always be within a frame, to make sure the caption and credit display directly below the image.
[edit] Image Actual Size
An image within a frame, aligned right, and not using a thumbnail. The <br clear="all"> tags prevent text from wrapping around the image, so it stands alone. Alignment options are left, center, or right.
<br clear="all"> [[image:Whatif_tree_back_small.jpg|frame|right|Simulating backlighting with [[normal map]]s.<br>Image by [http://www.linkedin.com/in/ericchadwick Eric Chadwick] ]] <br clear="all">
[edit] Image Thumbnail
An image aligned left, within a frame using a thumbnail and a caption.
<br clear="all"> [[image:Whatif_normalmap_mapped.jpg|left|thumb|A model with a normal map.<br/>(image by [http://www.whatif-productions.com/ James Ku])]] <br clear="all">
[edit] Image Tables
Images can be arranged side-by-side in a table. The default thumbnail width is 180 pixels. This can be overridden by replacing |thumb| with |thumb|300px| , using whatever pixel size you wish. You can change the background color to #333333 if you want to match the current wiki skin (making the border invisible).
{| border="0" cellpadding="10" style="background:#555555"
| [[image:Whatif_normalmap_mapped.jpg|center|thumb|300px|A model with a normal map.<br/>(image by [http://www.whatif-productions.com/ James Ku])]] || [[image:Whatif_normalmap_low.jpg|center|thumb|300px|The low-resolution wireframe.<br/>(image by [http://www.whatif-productions.com/ James Ku])]] || [[image:Whatif_normalmap_high.jpg|center|thumb|300px|The high-resolution model baked into the normal map. <br/>(image by [http://www.whatif-productions.com/ James Ku])]]
|}




