Help:Site-FormattingFrom USI-RPG.comThis page focuses on contributors and editing of the site content. If you have other help, please email me. You can also check out the old faq, but its mostly RPG related info, and doesn't apply much to this site at this time. Old FAQ First and Foremost, editing pages you need to be logged in. Second, to edit a page, you need to browse to it, and then click on the edit link at the top of the page. If you do not see an edit tab, then it means that its protected and you'll need to pester me for changes on that page. Some pages, especially database-like pages such as Technology, Species, and Factions use Templates. Please use these templates for the content of those pages as it makes them nice and uniform, and if we add sections then it will automatically update those pages to support those sections. Templates is where you access a list of used templates. Formatting and Syntax is explained Below, including how to use the Templates, as mentioned above. Remember, the design of the Wiki is to make the site better through group collaboration. Feel Free to make edits on design, correct grammar, and make the templates look better. We want to add as much as possible to this site and make it have more data than the Universe has ever had on display. :D Also remember others will edit your pages. If you are in a disagreement, just be communicative about it, use the discussion pages and the lists and we'll come to a consensus about what is best. In order to keep order and prevent naming chaos amongst all the pages, please check out Naming_conventions. This will help you know how to name your pages, and if you are linking to a page how you can easily guess at a link! Please adhere to the convention, cuz we'll just rename the page if you don't ;P
Editing PagesThe first is by use of the Wiki Syntax. A good example is the above line that says "Editing Pages". To accomplish the title likeness and the underline, two == were placed, one before and one after the block of text. The full syntax looked like this ==Editing Pages Help== Which gave us our desired result. Links are generated by the site by the use of double brackets. [[ ]] are containers for links. Example [[RPG:Old_Faq|Old FAQ]] A | is used to seperate a potentially non-formatted text to replace with your own. Otherwise the link itself will show the underscore. Why an underscore ? The link you create uses the link as its page title. So if you create a link called [[thisoldhouse]] you end up with a page title as thisoldhouse. Doesn't look very nice. However, underscores in links are converted to spaces in the page titles. So you end up with [[This_Old_House]] being This Old House as your title. TemplatesTemplaes are a great thing. In function it allows any page to act like any type of database simply by referencing the template to be used, and telling it which variables to fill in for you. Take a look at this template (open in new window) This is the faction template used on factions. You will see that by itself its pretty self explanitory. The {{{Text}}} are used as variables for definition when we use a template. When we use the template, we dont' paste that code in on the page of use. We do this instead. <code>
{{
Template:Factions
|Image=
|Name=
|Location=
|Military=
|Government=
|TechLevel=
|AssocSpecies=
|About=
|Diplomatic=
|History=
|Other=
|Category=
}}
</code>
...and we then simply fill in the blanks as if it was a normal database on the old site. The order isn't important, but its little syntax is (though it could all be on a single line if you wanted it to be.) I break it down for each section per line to make editing easier in the future. The link below is our current templates in use. More FormattingYou can format your text using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position. For example, to format a word in italic, you include it in two single quotes like ''this'' Text formatting markup
ParagraphsMediawiki ignores normal line breaks. To start a new paragraph, leave an empty line. You can also start a newline with the HTML tag <br />. HTMLSome HTML-Tags are allowed in MediaWiki, for example <code>, <div>, <span> and <font>.
More advanced formattingBeyond the basic text formatting markup shown above, there are some more advanced formatting tricks: There are four sorts of links in MediaWiki:
To add an internal link, enclose the name of the page you want to link to in double square brackets. When you save the page, you'll see the new link pointing to your page. If the page exists already, it is displayed in blue, empty pages are displayed in red. Selflinks to the current page are not transformed in URLs but displayed in bold. The first letter of the target page is automatically capitalized and spaces are represented as underscores (typing an underscore in the link will have a similar effect as typing a space, but is not recommended, since the underscore will also be shown in the text). How to link
Uploaded filesTo use an image or other file which has been uploaded to the wiki, use:
If you add a pipe (|) and some text after the filename, the text will be used as alternative text for text-only browsers:
If you don't want to display the image, you can link to the file's description page, by adding a colon:
To bypass the description page and link directly to a file , use the "Media" pseudo-namespace:
You can also make piped links if you want some other text to be used:
Advanced optionsThe full syntax for displaying an image is:
Where options can be zero or more of the following, separated by pipes:
The options can be given in any order. If a given option does not match any of the other possibilities, it is assumed to be the caption text. Caption text can contain wiki links or other formatting. Gallery of imagesIt's easy to make a gallery of thumbnails with the
<gallery>
Image:{filename}|{caption}
Image:{filename}|{caption}
{...}
</gallery>
Captions are optional, and may contain wiki links or other formatting. for example: <gallery> Image:Example.jpg|Item 1 Image:Example.jpg|a link to [[Help:Contents]] Image:Example.jpg Image:Example.jpg Image:Example.jpg|''italic caption'' </gallery> is formatted as:
Other filesYou can link to an external file using the same syntax used for External links.
Or with different text:
If it is enabled on your wiki , you can also embed external images. To do that, simply insert the image's url:
Administration of images/filesTables may be authored in wiki pages using either HTML table elements directly, or using wikicode formatting to define the table. HTML table elements and their use are well described on various web pages and will not be discussed here. The benefit of wikicode is that the table is constructed of character symbols which tend to make it easier to perceive the table structure in the article editing view compared to HTML table elements. A good general rule of thumb is to avoid using a table unless you need to. Table markup often complicates page editing. Wiki table markup summary
Simple tablePlainThe following table lacks borders and good spacing but shows the simplest wiki markup table structure
AlternativeFor more table-ish looking wiki markup cells can be listed on one line separated by ||. This does not scale well for longer cell content such as paragraphs. It works well for short bits of content however, such as our example table. Extra spaces within cells in the wiki markup can be added, as I have done in the wiki markup below, to make the wiki markup itself look better but they do not effect the actual table rendering. HTML attributes can be added to this table following the examples in other tables on this page but have been left out of the following example for simplicity.
With HTML attributesYou can add HTML attributes to make your table look better border="1"
align="center" border="1"
align="right" border="1"You can put attributes on individual cells. Numbers for example may look better aligned right
cellspacing="0" border="1"
cellpadding="20" cellspacing="0" border="1"
With HTML attributes and CSS stylesCSS style attributes can be added with or without other HTML attributes style="color:green;background-color:#ffffcc;" cellpadding="20" cellspacing="0" border="1"
Table with TH headingsTH (HTML table headings) can be created by using ! instead of |. Headings usually show up bold and centered by default. Top headingsEach column
Colspan="2"
Side headingsDefault
Right justifyRight justified side headings can be done as follows
CaptionA table caption can be added to the top of any table as follows
Attributes can be added to the caption as follows
Table with H1, H2, H3 etc. headingsHTML H1, H2, H3, H4 etc. headings can be created the standard wiki markup way with ==equal== signs and must be on a line all by themselves to work. Preview the whole table. If you click on an edit tab for a heading within a table, edit, and preview, the parent table will display erroneously broken because part of it will be missing. Keep the heading hierarchy consistent with the rest of the page so that the table of contents at page top works correctly.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

