User:Zana Dark/Formatting
This page is here to explain how to properly format on Uncyclopedia. Please don't try out any of your formatting ideas on this actual page, which exists to tell every other editor who reads this how to format stuff. Instead, why not try them out in the sandbox? [1]
Please try to be funny rather than stupid. Being funny is never stupid, but being stupid is seldom funny. If you haven't already, please read Uncyclopedia:How To Be Funny And Not Just Stupid before writing an article.
Please don't indent paragraphs with either the tab button or the spacebar.
This is what that looks like. Although sometimes it can be useful...
Instead, you should use a colon (heh :) in front of the text you wish to be indented.
- : = Colon
When editing pages, click Preview to check your formatting before you Save!
A table of contents will automatically be generated if the article is long enough and there are headings in the document. Insert the code __NOTOC__ somewhere on the page if you want to hide this from your readers.
There are also the {{TOC}}, {{TOCleft}}, and {{TOCright}} templates for specific TOC placement and the __NOEDITSECTION__ code to hide the edit links.
=Formatting Headers=[edit | edit source]
Surround text with single equal signs (=) to indicate a page break.
==Header One==[edit | edit source]
To create a heading for your article, surround the text by two equal signs.
===Header Two===[edit | edit source]
To create a sub heading, use three, four, five, or six equal signs...
====Header Three====[edit | edit source]
=====Header Four=====[edit | edit source]
======Header Five======[edit | edit source]
Formatting Text[edit | edit source]
There are several ways to format regular text. These include:
- Bold Text is surrounded by 3 single quotes '''like this'''
- Italic Text is surrounded by 2 single quotes ''like this''
To ignore the wiki formatting altogether, use the HTML tags <nowiki> and </nowiki>.
To ignore HTML and wiki formatting, use the tags <pre> and </pre>.
There are also the <code> and </code> tags, as well as <tt> and </tt>. Go ahead, live a little.
Math formulas should be surrounded by the HTML tags <latex> and </latex> (but um, why is there math in your article, anyway?). A better way to put math in your article is to use the HTML code to insert the proper character. Not all of these work in all computers, and maybe only one of the given three reference codes will work within the wiki (usually the 3rd number) but here is a link to the reference chart
Linking[edit | edit source]
To link to an article, place double square braces around the keyword(s).
- [[example link]]
To link an article, but replace the keyword(s) with alternate text, use a pipe (heh Shift+Backslash = | ).
- [[link|Legend of Zelda]]
...which will display as Legend of Zelda. Link to something either related to the words that appear, or something hillariously unrelated. Just don't be random.
To create an external link, simply enclose it in single square braces.
- [http://www.somewebsite.com]
And to make an external link with alternate text, separate it with a space.
- [http://www.somewebsite.com rick roll!]
Quotes[edit | edit source]
Quotes should be formatted using the {{NQ|Insert Quote Here|author|subject}} template. Note that there is an automatic link to the author name and the subject name is optional. Check {{QF}} for "fancy" options.
“Example quote.”
– writer on quotes
The {{QU|Insert Quote Here|authorlink|author|subject}} template produces a quote with an option to link the author name to something else. Again the subject is optional.
“Example quote.”
The {{CQ|Insert Quote Here}} makes a centered quote with no author or subject option.
“ | Example quote. | ” |
The {{qCtr|Insert Quote Here}} is a centered quote, with author and subject options that cannot be made into links.
- writer on quotes
{{QB|quote="''Quote''"|source='''Bartender'''|width=40%}} produces a quote box on the right...
"What is this, some kind of joke?"
If you must add quotes to the top of your article, more than one is not recommended. If you must have more than one, please limit it to no more than three, else it becomes a list.
Lists[edit | edit source]
- To create a list, place an asterisk (Shift+8 = * ) in front of the text for each line.
- And add more **asteriskses for sub-levels
- ***Like this
- And add more **asteriskses for sub-levels
- For numbered lists, use a pound sign (Shift+3 = # ) instead of a *.
- Again, add more #'s for sub-levels.
- ###Like this.
- Again, add more #'s for sub-levels.
Tabular Data[edit | edit source]
Tables can be inserted using normal HTML coding or via a wiki alternative. This code is obviously adaptive, but here is the example for reference:
{| style="border:1px solid black;padding:10px;margin:10px;" cellpadding=5 cellspacing=5 |- style="background:black;color:white;" ! colspan=3 | '''Table Header''' |- style="background:gainsboro" | 2nd Row | 2nd column | 3rd column |- | Etc... |colspan=2| 2nd/3rd column |}
Table Header | ||
---|---|---|
2nd Row | 2nd column | 3rd column |
Etc... | 2nd/3rd column |
Centering[edit | edit source]
- {{-}}
To center elements , you can use the {{Center}} template, or the deprecated but still useful HTML tag: <center>CENTERED_CONTENT</center>.
- {{Center|INSERT_CENTERED_CONTENT}}
Adding Images[edit | edit source]
Use the square braces to insert images into your article.
- Full size - [[File:Saget.jpg]]
- Full size, framed - [[File:Saget.jpg|frame]]
- Right (or left. Center too.) - [[File:Saget.jpg|right]]
- Thumbnail, sized (XXXpx is the displayed image width in pixels} - [[File:Saget.jpg|thumb|XXXpx]]
- With a caption - [[File:Saget.jpg|thumb|XXXpx|caption]]
- And you can combine options, for instance: - [[File:Saget.jpg|right|thumb|100px|Formatted Image.]]
Clearing Floated Elements and Rules[edit | edit source]
To clear floated elements (push other elements below), you can use the 'minus' template:
- {{-}}
- {{-|left}}
- {{-|right}}
To insert a 'hard' rule, you can use four dashes on a new line (----) or the hr template: {{hr}}
To insert a 'blank' rule with space, you can use the br template: {{br}} or use <br> for a new line.
Categorizing[edit | edit source]
You can also use the square braces to add categories to your page. This helps readers find related pages quickly. An article can be part of more than one category, so feel free to use as many of these as applicable.
- [[Category:category name]]
Common formating suggests that these go at the end of the page, and adding a category tag to a category page will make that category a subcategory of that category. Check out what categories already exist and try to use them - putting your article in a relevant and highly populated category will lead more people to your article (Category:Everything is also a good place to look for relevant categories).
To link a Category without making your article part of that category, use a colon.
- [[:Category:like this]]
To add your article to a category but under a different name, use a pipe (particularly handy, for the People category).
- [[Category:category name|name, category]]
Advanced Formatting[edit | edit source]
Templates[edit | edit source]
You can include templates in your page using curly brackets.
- {{like this}}
Any page can be a template. Whip out that colon again.
- {{:so cash}}
Hey Faggots,
My name is Mark, and I hate every single one of you. All of you are fat, retarded, no-lifes who spend every second of their day looking at stupid ass jokes. You are everything bad in the world. Honestly, have any of you ever gotten any pussy? I mean, I guess it's fun making fun of people because of your own insecurities, but you all take to a whole new level. This is even worse than jerking off to pictures on Facebook.
Don't be a stranger. Just hit me with your best shot. I'm pretty much perfect. I was captain of the football team, and starter on my basketball team. What sports do you play, other than "jack off to Oscar Wilde"? I also get straight A's, and have a banging hot girlfriend (She just blew me; shit was SO cash). You are all faggots who should just kill yourselves.
- Thanks for listening,
Multimedia Content[edit | edit source]
To embed audio files, or movie files, use the media prefix.
- [[Media:like this]]
Flash (.swf files hosted locally on Uncyclopedia) can be embedded using the {{Flash2}} template.
- {{flash2|FULL_URL_TO_UNCYC_SWF_FILE|WIDTH|HEIGHT|image=IMAGE.FILE}}
- <youtube width=280 height=214>NtSCw9SJoYM</youtube>
And YouTube files can be added also.
See Also[edit | edit source]
- Uncyclopedia:How To Get Started Editing for a comprehensive guide.
- Uncyclopedia Owner's Manual in case you forgot.
- Uncyclopedia's Manuel of Style, he's better than Karl Lagerfeld
P.S.: Footnotes or References, Small or not[edit | edit source]
These should be placed at the very end of the article (after navigation templates if references and before templates if footnotes) using the <references/> tag or the code: {{small|{{reflist}}}}. Everything enclosed in the XML tags <ref> and </ref> throughout the article will be shown here in the order listed, like so: