Help:Editing: Difference between revisions
From Halopedia, the Halo wiki
(→Formatted Text: made this part way more comprehensive) |
|||
Line 338: | Line 338: | ||
== Formatted Text == | == Formatted Text == | ||
To set specified formatting to a piece of text, use the <span> element. There are three basic formattings you can apply to text, which are explained below. | |||
=== Colored Text === | === Colored Text === | ||
Using colored text is highly discouraged but in some cases useful. To color your text enter the following code. So for example: | Using colored text is highly discouraged but in some cases useful. To color your text enter the following code. So for example: | ||
<pre><nowiki> | <pre><nowiki> | ||
<span style="color:red;">red text</span> | <span style="color:red;">red text</span> | ||
<span style="color:orange;">orange text</span> | <span style="color:orange;">orange text</span> | ||
<span style="color:yellow;">yellow text</span> | <span style="color:yellow;">yellow text</span> | ||
<span style="color:green;">green text</span> | |||
<span style="color:blue;">blue text</span> | <span style="color:blue;">blue text</span> | ||
<span style="color:purple;">purple text</span> | |||
<span style="color:black;">black text</span> | |||
<span style="color:silver;">silver text</span> | <span style="color:silver;">silver text</span> | ||
</nowiki></pre> | </nowiki></pre> | ||
Will output: | Will output:<span style="color:red;">red text</span> | ||
<span style="color:red;">red | |||
<span style="color:orange;">orange text</span> | <span style="color:orange;">orange text</span> | ||
<span style="color:yellow;">yellow text</span> | <span style="color:yellow;">yellow text</span> | ||
<span style="color:green;">green text</span> | |||
<span style="color:blue;">blue text</span> | <span style="color:blue;">blue text</span> | ||
<span style="color:purple;">purple text</span> | |||
<span style="color:black;">black text</span> | |||
<span style="color:silver;">silver text</span> | <span style="color:silver;">silver text</span> | ||
Line 371: | Line 368: | ||
Will give this: <span style="color:#0000FF;">This text is blue.</span> | Will give this: <span style="color:#0000FF;">This text is blue.</span> | ||
=== Font Size | === Font Size === | ||
To set a specified font size | To set a specified font size, enter the following code. So for example: | ||
<pre><nowiki> | |||
<span style="font-size: 130%;">Enlarged text</span> | |||
</nowiki></pre> | |||
Will output:<span style="font-size: 130%;">Enlarged text</span> | |||
=== Typeface === | |||
To set a specified typeface, enter the following code. So for example: | |||
<pre><nowiki> | |||
<span style="font-family: Times New Roman;">Times New Roman text</span> | |||
</nowiki></pre> | |||
Will output:<span style="font-family: Times New Roman;">Times New Roman text</span> | |||
=== Combined === | |||
A piece of text can also combine two or all three of the above. So for example: | |||
<pre><nowiki> | <pre><nowiki> | ||
<span style="font-family: Times New Roman; font-size: 130%;"> | <span style="color: Blue; font-family: Times New Roman; font-size: 130%;">Custom text</span> | ||
</nowiki></pre> | </nowiki></pre> | ||
Will output:<span style="font-family: Times New Roman; font-size: 130%;"> | Will output:<span style="color: Blue; font-family: Times New Roman; font-size: 130%;">Custom text</span> | ||
{{Helplist}} | {{Helplist}} | ||
[[Category:Help|Editing]] | [[Category:Help|Editing]] |
Revision as of 00:41, August 9, 2008
Begin Editing
To begin editing a page, click on "Edit this page" or the "edit" tab at the top. To edit an individual section, look at the section header for "[edit]".
Then enter your Wiki text into it, whatever that may be. To see what your page looks like before you save it, press "Show preview". If that all looks good, enter a Summary (see below), mark whether it's a minor edit, and if you want to watch the page. Then, when you're finished, press "Save page." Your changes will be visible immediately.
"Minor" Edits
When a logged in user has the option of flagging the edit as a "minor edit". When to use this is some what a matter of personal preference. The rule of thumb is that an edit of a page that is spelling corrections, formatting, and minor rearranging of text should be flagged as a "minor edit". A major edit is basically something that makes the entry worth relooking at for somebody who wants to watch the article rather closely, so any "real" change, even if it is a single word. This feature is important, because users can choose to hide minor edits in their view of the recent changes to keep the volume of edits down to a manageable level.
The reason for not allowing a user who is not logged in to mark an edit as minor is that vandalism could then be marked as a minor edit, in which case it would stay unnoticed longer. This limitation is another reason to log in.
Summary
The Summary is a summary of what you have done to change the page. Whether it be creating the page or fixing a spelling error, you should always fill out the summary, so administrators know what you've done.
The Wiki Markup
In this section, we will show everything about how to make a good Wiki page--formatting, links and more.
You may want to keep this page open in a separate browser window for reference. If you want to try out things without danger of doing any harm to Halopedia or its users, you can do so in the Sandbox.
Sections, Paragraphs, Lists, and Lines
What You See | What You Type | ||
---|---|---|---|
Section Headings Look Like This: New section Subsection |
Section Headings Look Like This: == New section == === Subsection === ==== Sub-subsection ==== | ||
New line: A single new line has no effect on the layout. But an empty line starts a new paragraph. |
New line: A single new line has no effect on the layout. But an empty line starts a new paragraph. | ||
You can break lines |
You can break lines<br/> without starting a new paragraph. | ||
| * Bulleted lists are easy; ** Just start every line with a star *** more stars means deeper levels | ||
marks the end of the list.
| # Numbered lists are also good ## very organized ## easy to follow #A new line #in a list marks the end of the list. #New numbering starts #with 1. | ||
| * You can even do mixed lists *# and nest them *#* like this<br/>or have newlines<br/>inside lists | ||
| * You can also **break lines<br/>inside lists<br/>like this | ||
of definitions
| ; Definition list : list of definitions ; item : the item's definition | ||
IF a line of plain text starts with a space THEN it will be formatted exactly as typed; in a fixed-width font; lines won't wrap; ENDIF this is useful for: * pasting preformatted text; * algorithm descriptions; * program source code * ASCII art; * chemical structures; WARNING: if you make the text wide, it won't wrap, and force the whole page to be wide and hence less readable. | IF a line of plain text starts with a space THEN it will be formatted exactly as typed; in a fixed-width font; lines won't wrap; ENDIF this is useful for: * pasting preformatted text; * algorithm descriptions; * program source code * ASCII art; * chemical structures; | ||
| <center>Centered text.</center> | ||
| {{col-begin}} {{col-2}} ==Column 1== {{col-2}} ==Column 2== {{col-end}} |
Links, URLS
Joe is playing Halo on Xbox. Spaces are treated like underscores (typing an underscore is the same as typing a space, but is not recommended). | Joe is playing Halo on [[Xbox]].<br /> Jane is playing [[Halo PC|Halo on PC]]. |
When adding a comment to a Talk page, you should sign it. You can do this by adding three tildes for your user name: or four for user name plus date/time:
| When adding a comment to a Talk page, you should sign it. You can do this by adding three tildes for your user name: : ~~~ or four for user name plus date/time: : ~~~~ |
Redirect one article title to another by putting text like this in its first line. | #REDIRECT [[Master Chief]] |
External links: [http://www.bungie.net Bungie], [http://www.bungie.net] | |
Or just give the URL: http://www.bungie.net | Or just give the URL: http://www.bungie.net |
To connect in between Wikis use the Interwiki code Halo on Wikipedia | [[Wikipedia:Halo|Halo on Wikipedia]] |
If you are linking from another wikia to Halopedia then use the following code: | [[w:c:halo]] |
If you are linking from Halowiki.net to Halopedia then use the following code: | [[Halopedia:Main Page]] or [[Halopedia:Article Name]] |
Character Formatting
Emphasize, strongly,
very strongly. | ''Emphasize'', '''strongly''', '''''very strongly'''''. |
A typewriter font for technical terms. | A typewriter font for <tt>technical terms</tt>. |
You can use small text for captions. | You can use <small>small text</small> for captions. |
You can | You can <s>strike out deleted material</s> and <u>underline new material</u>. |
Umlauts and accents: | è é ê ë ì í À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü ß à á â ã ä å æ ç è é ê ë ì í î ï ñ ò ó ô œ õ ö ø ù ú û ü ÿ |
Commenting page source: Note:Used to leave comments in a page for future edits. | <!-- comment here --> |
Formatted Text
To set specified formatting to a piece of text, use the element. There are three basic formattings you can apply to text, which are explained below.
Colored Text
Using colored text is highly discouraged but in some cases useful. To color your text enter the following code. So for example:
<span style="color:red;">red text</span> <span style="color:orange;">orange text</span> <span style="color:yellow;">yellow text</span> <span style="color:green;">green text</span> <span style="color:blue;">blue text</span> <span style="color:purple;">purple text</span> <span style="color:black;">black text</span> <span style="color:silver;">silver text</span>
Will output:red text orange text yellow text green text blue text purple text black text silver text
For a complete list of possible colors, see Wikipedia's article on web colors. Simply copy the hex code next to your preferred color, paste in the appropriate spot, and remove the spaces in the hex code. For example:
<span style="color:#0000FF;">This text is blue.</span>
Will give this: This text is blue.
Font Size
To set a specified font size, enter the following code. So for example:
<span style="font-size: 130%;">Enlarged text</span>
Will output:Enlarged text
Typeface
To set a specified typeface, enter the following code. So for example:
<span style="font-family: Times New Roman;">Times New Roman text</span>
Will output:Times New Roman text
Combined
A piece of text can also combine two or all three of the above. So for example:
<span style="color: Blue; font-family: Times New Roman; font-size: 130%;">Custom text</span>
Will output:Custom text