User:Tdis8629: Difference between revisions

From Unforgotten Realms Wiki
Jump to navigationJump to search
imported>Tdis8629
No edit summary
imported>Tdis8629
Formatting help: add uploading tutorial
Line 72: Line 72:
|2,1
|2,1
|2,2
|2,2
|}
===Uploads===
As always, I will include additional help links for [http://www.mediawiki.org/wiki/Help:Images Images] via Mediawiki's help pages.
====Photos and Images====
To upload a file, go [[Special:Upload|here]], or select Upload File and select the image. After browsing for it on your computer/mobile device, you are able to modify its name and give a description. Select "Upload Image," and you will be redirected to its page.
* '''NOTE''': Currently, the file limit is 10MB, though most assets shouldn't exceed 2MB
To add a photo, add <code><nowiki>[[File:photoNameHere.ext]]</nowiki></code> to an article, and it will appear when you commit the edit.
====Modifications====
With photos and media, there are a select amount modifications you can add to fit your needs.
[[File:Melee.png|thumb|Example asset; will be scaled down in examples]]
{| class="wikitable"
|+ Photos and Image assets
! Modification type
! Description
! Example
! Effect
|-
| Resize
| Resizes the object to its specified size (in pixels; scales)
| <code><nowiki>[[File:Melee.png|50px]]</nowiki></code>
| [[File:Melee.png|50px]]
|-
| Thumbnail
| Adds a box surrounding it; useful for side assets; defaults to right side
| <code><nowiki>[[File:Melee.png|thumb]]</nowiki></code>
| [[File:Melee.png|50px|thumb]]
|-
| Description
| ''Requires'': thumb | Add a description to the bottom
| <code><nowiki>[[File:Melee.png|thumb|Name here]]</nowiki></code>
| [[File:Melee.png|50px|thumb|Name here]]
|-
| Horizontal Position
| Sets the position of an item to either left, right, or centered; image floats with the flow of the section, and colliding objects are pushed
| <code><nowiki>[[File:Melee.png|right]]</nowiki></code>
| [[File:Melee.png|50px|right]]
|-
| Vertical Position
| Sets the position of an item to either top, bottom, middle,etc ; image floats with the flow of the section, and colliding objects are pushed
| <code><nowiki>[[File:Melee.png|top]]</nowiki></code>
| [[File:Melee.png|50px|top]]
|}
|}

Revision as of 01:35, 3 June 2015

Just a simple editor/importer who enjoys Lets Play and roleplaying content.

Imports

Major revisions

  • Gracias
    • Reformat and cleaning up links

Major creations

Formatting help

After a couple of messages asking for help, I may as well create a basic wiki formatting guide. If you are fluent in X/HTML and CSS, you can also use those in place of simplified commands, or use in conjunction of when creating additional flair.

(Note: More info can be found at MediaWiki's help site)

Tables

A basic table in the the editor looks like this

{|     <-- Start the table
|1,1   <-- First row, first column
|1,2   <-- First row, second column
|-     <-- row break
|2,1   <-- Second row, first column
|2,2   <-- Second row, second column
|}     <-- End table

Which makes it look like this:

1,1 1,2
2,1 2,2

To add borders to each cell, add class="wikitable" in front of {|, to make it look like this:

1,1 1,2
2,1 2,2

To add headers, use ! as your first row:

{|     <-- Start the table
!1,1   <-- Header, first column
!1,2   <-- Header, second column
|-     <-- row break
|2,1   <-- Second row, first column
|2,2   <-- Second row, second column
|}     <-- End table

Which looks like this:

1,1 1,2
2,1 2,2

Uploads

As always, I will include additional help links for Images via Mediawiki's help pages.

Photos and Images

To upload a file, go here, or select Upload File and select the image. After browsing for it on your computer/mobile device, you are able to modify its name and give a description. Select "Upload Image," and you will be redirected to its page.

  • NOTE: Currently, the file limit is 10MB, though most assets shouldn't exceed 2MB

To add a photo, add [[File:photoNameHere.ext]] to an article, and it will appear when you commit the edit.

Modifications

With photos and media, there are a select amount modifications you can add to fit your needs.

File:Melee.png
Example asset; will be scaled down in examples
Photos and Image assets
Modification type Description Example Effect
Resize Resizes the object to its specified size (in pixels; scales) [[File:Melee.png|50px]] File:Melee.png
Thumbnail Adds a box surrounding it; useful for side assets; defaults to right side [[File:Melee.png|thumb]]
File:Melee.png
Description Add a description to the bottom [[File:Melee.png|thumb|Name here]]
File:Melee.png
Name here
Horizontal Position Sets the position of an item to either left, right, or centered; image floats with the flow of the section, and colliding objects are pushed [[File:Melee.png|right]]
File:Melee.png
Vertical Position Sets the position of an item to either top, bottom, middle,etc ; image floats with the flow of the section, and colliding objects are pushed [[File:Melee.png|top]] File:Melee.png