Sample entry
From OpenWordBase
Article originally entered just to create categories. Here are some coding examples to get you started writing wiki. We will add more as needed. You can also refer to Help:Contents or mw:Help:Contents for further reading.
Embedded pages
{{User:Admin}}
or
{{:Sample Page}}
Note: it is a good idea to enclose embedded pages in a separate DIV element, so it can be sized or floated.
Images
Upload a file using the link in the toolbox (bottom box in left navigation column). Then, open the entry into which you wish to place the image. Place the image in the form [[Image:sample.jpg|{options}]]
Options
-
thumb,thumbnail, orframe: Controls how the image is formatted -
left,right,center,none: Controls the alignment of the image on the page -
{width}px: Resizes the image to the given width in pixels -
{caption text} - Special cases:
-
page=1: displays the specified page when showing a djvu file.
-
The options can be given in any order, with the pipe character '|' between. 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.
For more information
Gallery of images
It's easy to make a gallery of thumbnails with the <gallery> tag. First, upload your files using the link in the toolbox (bottom box in left navigation column). Then, open the entry into which you wish to place the image gallery. The syntax is:
<gallery>
Image:{filename}|{caption}
Image:{filename}|{caption}
{...}
</gallery>
Captions are optional, and may contain wiki links or other formatting.
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>
For more information
Tables
{| width="100%" border="0" cellpadding="2" cellspacing="0"
! width="40%" style="border-bottom: solid #ddd 1px" | <small>Title</small>
! width="30%" style="border-bottom: solid #ddd 1px" | <small>Author</small>
! width="30%" style="border-bottom: solid #ddd 1px" | <small>Purchase</small>
|-
| align="center" | '''The Language of the King James Bible'''
| align="center" | by Gail Riplinger
| align="center" | [http://www.avpublications.com/ Order Online]
|-
| align="center" | '''Scientific Facts in the Bible'''
| align="center" | by Ray Comfort
| align="center" | [http://www.livingwaters.com/ Order Online]
|}
Example
| Title | Author | Purchase |
|---|---|---|
| The Language of the King James Bible | by Gail Riplinger | Order Online |
| Scientific Facts in the Bible | by Ray Comfort | Order Online |
For more information
Bulleted list
* First level ** Second level ** Another item * [[Internal link]] * [http://www.example.com/ External link]
Use two asterisks for a second level bullet, three for third level, etc.
Example
- First level
- Second level
- Another item
- Internal link
- External link
Internal links
[[Page name]]
or, if you wish to use text other than the actual entry title to link to the entry:
[[Page name|Custom link text]]
Example
- Main Page
- Same link as above, but different text
- Internal links to non-existent pages show up red
- Sample entry - since you are on this page now, link is removed and words are bolded
External links
[http://www.example.com/ Example website]
Note: that is, left bracket, url, space, title, right bracket.
Example
Headings <h2>, <h3>
== Level 2 Heading == === Level 3 Heading ===
Note: the heading above this code is an actual example of a Level 2 Heading.
Styled text
'''bold''' ''italics'' '''''bold italics'''''
- bold
- italics
- bold italics
Category link
[[:Category:CategoryName]]
or
[[:Category:CategoryName|Custom link text]]
Example
Assign entry to Categories
Place this code at the end of the entry you wish to assign to a category:
[[Category:CategoryName]]
or
[[Category:CategoryName|Custom text]]
Note: This will also create the referenced category if it doesn't already exist.
