Editing
Edit Guide
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==File Uploads== The Balisong Wiki supports uploading of media. If you want to upload a picture, click on the "Upload file" field, or just click this link: [[Special:Upload]].<br> Please check out [[#Naming_Conventions]] if you are unsure how to name your files. ===Only Submit Your Own Images=== Please only submit your own images as we do not want to get into trouble with copyright owners. ===Limits=== Please only upload files that are 1920x1080 or smaller. Large pictures take up a lot of ram, potentially making the Balisong Wiki go [https://en.wikipedia.org/wiki/Out_of_memory out of memory]. If you see a screen like this: [[File:Out_Of_Memory.png]] Please immediately contact the server owner [[Main_Page#Contact]]. The following sub-headings will containt important information on how to format images. If you want more information not covered in this editing guide, please check out the official Mediawiki guide for images [https://www.mediawiki.org/wiki/Help:Images https://www.mediawiki.org/wiki/Help:Images]. ===Embedding=== Instructions for how to embed files on a page are on the file upload page [[Special:Upload]], but in case you want something clearer:<br> If you want to embeda picture, write 2 brackets, then "File:" followed by the name of the file, including its file extension. For example like this: <nowiki>[[File:Slift_V2.png]]</nowiki> ===Stopping Floating Text=== Sometimes text will be rendered around the image which can look very awkward. To stop this from happening, simply add this line right after the image that you want to embed and leave an empty line after it: <nowiki><div style="clear: both"></div></nowiki> Which should look like this with the embed image added <nowiki>[[File:Slift_V2.png]]</div> <div style="clear: both"> </nowiki> Or alternatively you use this code and replace the "..." with the embedding link of your image. <nowiki><div style="overflow: hidden">β¦</div></nowiki> With the embed added, it should look like this: <nowiki><div style="overflow: hidden">[[File:Slift_V2.png]]</div></nowiki> ===Scaling=== ====Resizing==== You can scale images by writing a pipe (|) and the ammount of pixels you want, after the embed. <nowiki>[[File:Slift_V2.png|200px]]</nowiki> ====Restrict Image Within Space==== If you need to fit an image within a certain space, you can restrict its height, width, or both. Keep in mind that the aspect ratio will always be preserved. =====Restricting Image Width===== If you want to restrict the width, write the length of the pixels how long the image at most can be, followed by "px". <nowiki>[[File:Slift_V2.png|200px]]</nowiki> This will create an image that is at most 200 pixels wide. =====Restricting Image Height===== If you want to restrict the height, write a "x", after that the length of the pixels how long the image at most can be, followed by "px". <nowiki>[[File:Slift_V2.png|x200px]]</nowiki> This will create an image that is at most 200 pixels high. =====Restricting Image Both===== If you want to restrict both, the height and the width, you can use can write the width, followed by a "x", then the height, and at the end, "px" <nowiki>[[File:Slift_V2.png|150x200px]]</nowiki> This will create an image that is at most 150 pixels wide and at most 200 pixels high. ===Thumbnail=== You can enable thumbnailing by adding the "thumb" keyword. This will draw a rectangle around the image to visually separate it from the text. <nowiki>[[File:MachineWise_Slift_V2.jpg|thumb]]</nowiki> ===Alignment=== You can align the picture by adding the location to where it should be aligned <nowiki>[[File:MachineWise_Slift_V2.jpg|right]]</nowiki> ===Caption=== You can add a cpation, by writing it as the last argument. <nowiki>[[File:MachineWise_Slift_V2.jpg|Rose Gold Slift V2]]</nowiki> ===Multiple Arguments=== You can use multiple arguments by just chaining them together with pipes (|) <nowiki>[[File:MachineWise_Slift_V2.jpg|600px|thumb|center|Rose Gold Slift V2]] <div style="clear: both"> </nowiki> This will embed a picture of a [[MachineWise]] [[MachineWise_Slift_V2]] on this page, which will be scaled to 600 pixels, aligned to the center of the screen, have a caption with "Rose Gold Slift V2", will not have any text floating around it and it will look like this: [[File:MachineWise_Slift_V2.jpg|600px|thumb|center|Rose Gold Slift V2]] <div style="clear: both">
Summary:
Please note that all contributions to BalisongWiki are considered to be released under the GNU Free Documentation License 1.3 or later (see
BalisongWiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Edit Guide
Random page
Help about MediaWiki
Special pages
Tools
What links here
Related changes
Page information