A guide to the pseudo HTML on Elfpack
The limited "pseudo HTML" on Elfpack allows you to format your text, insert images in your text, and to link to postings, members, wiki-pages and other web pages. The pseudo HTML works just about everywhere - in messages, postings, your description, your blog, and of course on the wiki.
Table of contents
: Formatting text
: Making the text larger
: Centering text
: Aligning text to the right
: Making the text Bold, Italic, Underlined or Strikethrough
: Inserting other elements
: Inserting an image
: Inserting a horizontal ruler
: Resizing images
: Creating links
: Linking to a web page
: Linking to an Elfpack wiki-page
: Linking to a Wikipedia
: Linking to an Elfpack member
: Linking to a posting
: Linking to a poll
: Linking to a blog entry
: Linking to a guestbookmessage
PseudoHTML#19: Linking to a private forum
PseudoHTML#20: Linking to a public forum
PseudoHTML#21: Linking to the news on mainstreet
PseudoHTML#22: Linking to any page on Elfpack
PseudoHTML#23: Linking to a private message
PseudoHTML#24: Linking to parts of your house/wiki
PseudoHTML#25: Writing tags that are shown
PseudoHTML#26: Miscellaneous notes
PseudoHTML#27: Paragraphs and line breaks
[#Creating tables]: How to create tables
PseudoHTML#29: Sounds and Videos
PseudoHTML#30: HTML tags that don't work
PseudoHTML#31: When the pseudo HTML doesn't do what you want
PseudoHTML#32: Other useful pages
Note: Click the link and you will be taken to that part of the wiki.
What is HTML?
HTML stands for HyperText Markup Language, and is a set of "codes" - tags - that can be put in the text to indicate how the text should be displayed (bold, italics etc), that the text should be a link to somewhere, or that there should be an object (for example an image) inlined in the text.
Some tags are "single", like the <hr> tag that indicates that a horizontal line should be inserted in the text. Other tags come in "pairs", a start tag and an ending tag, that are put around the text that is to be formatted. Examples of paired tags are the <b> ... </b> and <i> ... </i> tags that indicate bold and italics in the text.
What is "Elfpack's pseudo HTML"?
The "pseudo HTML" on Elfpack is a limited set of HTML tags and some Elfpack specific "codes" that work in postings, on the wiki, in your description etc. The available tags and "codes" are described below.
You can format text with a limited number of "ordinary" HTML tags. All HTML tags aren't allowed and thus don't work, because that might make some pages look downright awful.
Making the text larger
You can make the text larger by using the header tags "h1" and "h2" (other header tags don't work):
<h1> huge header "h1" ending with </h1>
<h2> large header "h2" ending with </h2>
h1 looks like this
h2 looks like this
Using the PRE tag:
The PRE tag allows you to write pre-formatted text, using a fixed width font and with all spaces displayed (extra spaces are normally removed):
<pre> pre-formatting tag "pre" ending with </pre>
This text is pre-
You can centre the text using the "center" tag like this:
<center>Text to be centered </center>
Aligning text to the right
You can align the text by using the "right" tag like this:
<right>Text to be aligned right</right>
Right aligned text
Making the text Bold, Italic, Underlined or Strikethrough
You can make your text bold, italic or underlined by using the "b","i", "u" and "s" tags:
<b> bold tag "b" ending with </b>
<i> italics tag "i" ending with </i>
<u> underlined tag "u" ending with </u>
<s> strikethrough tag "s" ending with </s>
Bold text looks like this
Italic text looks like this
Underlined text looks like this
Strikethrough text looks like this
Bold, italics, underlined, strikethrough, centred and pre-formatting can be nestled, so that you get text that is both bold and italics while also being pre-formatted or centred. You can also nestle the italics tag with the header tags, to get headers in italics.
* Remember always to put the end tags on h1, h2, pre, center, b, u and i, or all the tags of that type will stop working in your text! This is one of the most common mistakes!
Inserting other elements
There are two "elements" you can insert into your text: images and horizontal rulers.
Inserting an image
To insert an image into your text you add the Elfpack-specific "IMG" tag at the point in your text where you want the image: <IMG:(URL to the image)>
The IMG tag above results in this:
The image doesn't have to be in Elfpack, but it must be on the internet. You cannot use an image directly from your own computer.
Inserting a horizontal ruler
Horizontal rulers (lines) are inserted using the "hr" tag:
There is a horizontal ruler, below this text, if you want to see what one looks like.
There is no closing tag for the "hr" tag or the "IMG" tag.
If you want to inline images from Modelica Community you can change their size by writing one or two numbers before the ':' like this:
<IMG100:http://www.elfpack.com/Itayyam_logo.png> looks like
(keeps the current ratio between width and height, but new width will be 50px)
OR to change the height/width ratio:
<IMG50*100:http://www.elfpack.com/Itayyam_logo.png> looks like (image re-sized to 25*50)
Links are very simple on Elfpack. You don't use the <A HREF=...> construction that you may be familiar with from HTML. How you do the link depends on the type of link.
Linking to a web page
To make a link to a web page you just write the URL to the web page. Nothing more, nothing less.
Linking to an Elfpack wiki-page
To make a link to a page on the Elfpack wiki, you write the page name followed by @wiki within square brackets. When written correctly, the page name without the brackets and @wiki will be displayed as the link in the resulting text.
The link looks like this:
(Advanced: Between "@wiki" and "]" you can add "edit", version number and/or #where in page (set with ) like this: [page@wikiedit88#hint] takes you to version 88 of "page" with an edit-form at the first <#hint> in it)
Linking to a Wikipedia article
You can write [[Elftown]] to make a Wikipedia-link like this Elftown
If you want to write something different than the article name, you can write like [[Elftown|The best site in the world]] and it becomes: The best site in the world
(Sorry, there is no Elfpack article (yet...))
Images in wiki-links
You can make a wiki-page link with an image in it.
The link will appear as follows
Linking to a Elfpack member
To link to a Elfpack member you simply write the member's name within square brackets (no @wiki this time, or it will become a link to a wiki page...)
Linking to a posting
A link to a posting is very similar to a link to a member; the posting number within square brackets:
Linking to a poll
You can link to a poll with a link that looks like this: <poll:(poll number)>
You can find the poll number right beside the poll's title.
Linking to a diary entry
You can link to a diary entry by using this syntax <diary:entry number>
An example: <diary:1>
Linking to a guestbookmessage
You can link to a guestbookmessage by using this syntax <gb:entry number>
An example: <gb:1>
Linking to a private forum
If you have created a private forum, you can provide a link with a password to the forum to allow people to join the forum without invitation. The link looks like this: <joinforum:(forum number):(password)>
<joinforum:64:play> (The secret forum number 64 doesn't allow joining via password)
Linking to a public forum
A link to an ordinary forum is a bit more complicated than a link to a private forum. To link to a forum, you use the pseudo HTML "URL" tag, writing the Elfpack URL to the forum: <URL:view_forum?forumnr=(forum number)>
You can also link to such a forum by using the syntax <forum:forum number>
The forum number will show as the forum name.
<forum:Elfpack, newbie questions>
Clicking on the link will open a new window.
Linking to the news on mainstuff
You can link to the news by using this syntax <URL:news.html?nrs=(newsnumber)>
An example: <URL:news.html?nrs=1>
Or you can link to the news by using this syntax <news:news number>
The number will appear as the newstitle.
An example: <news:Opened!>
Clicking on the link will open a new window.
Linking to any page on Elfpack
To link to a page on Elfpack you can use the pseudo HTML "URL" tag: <URL:(Elfpack URL)>
The "Elfpack URL" is the same as the URL to the page but without "http://www.elfpack.com/".
Clicking on the link will open a new window.
Linking to a private message
In a message to a member you can link to a previous message you have received or sent to that member.
This goes as followed:
The messagenumber you want to link to can be found on top of the specific message.
It will say: 'Letter number: #'.
The receiver can click the link and will then be sent to the message.
Note: You can only link to a message that you have received from or sent to the member you are writing to.
Linking to parts of your house/wiki
Writing tags that are shown
If you want to write a pseudo HTML tag that will be shown instead of interpreted as a tag, just like in the examples on this page, you put the string !uQt! somewhere in the tag. An example:
<!uQt!b> [help@!uQt!wiki] <!uQt!/b>
will look like this:
<b> [help@wiki] </b>
instead of like this:
You can also use !uQt! within an !uQt!, to have the !uQt! in the tag shown, too...
The table tag allows you to create columns, when you write:
<table>Column 1|Column 2 --- First data | second data</table>
It will look like this:
|Column 1||Column 2 |
| First data || second data|
You write | (pipe) for a new column and --- (3 minus) for a new row.
Tags can be written in both uppercase and lowercase, but the whole tag must be in the same "case". That means you can write <hr> as well as <HR>, but not <Hr> or <hR>.
Paragraphs and line breaks
As you may already have noted, you don't use the paragraph or line break HTML tags (<p> and <br>) on Elfpack. Instead you just write your text as you would in a text editor, using the Enter key to make line breaks as usual.
Using the Box tag
The Box tag allows you to divide texts into boxes, which can particularly come in handy in case you're making some sort of list for instance. Also useful for grouping images together with their image-texts.
The normal tag
creates a box with "minimum width" and that can be different in different browsers.
If you want a fixed width, you can use the tags:
box50, box100, box150, box200, box250, box300, box400 and box500.
<box200>This is a box</box200> <box200>This is a second box</box200>
The above will look like this:
Note: When you use the box tag on a wikipage, you will see some changes appear in how you can edit the wiki:
It has now become possible to either edit the wikipage as whole (Advanced edit), or edit the wikipage through box edit (Edit per box).
When you press one of these edits, it is also possible to switch to the other edit option. This might be useful to see how each editing page will look like.
If however you made any changes on the editing page, don't forget to submit the changes first. If you switch before you submitted the changes, the changes will be lost.
Adding Sound and Videos
You can add a sound file using the following code: <sound:URLofSOUND>. It will not play automatically, and if it's used in your house it will count towards your ten-image-limit.
Videos are added in exactly the same way: <sound:URLofVIDEO>
Of course, the file must be uploaded somewhere on the internet. Links to files hosted on other sites work too if you don't have uploading privs
Note: The code will only create a link to a pop-up window if you put it in your house! (For now. Might change)
HTML tags that don't work
Here is a list of some (but not all!) of the HTML tags that cannot be used: <h4> <h5> <marquee> <blink>
Tags such as <font color=red> only work in your presentation and only if you have donated a small amount of money to Elfpack. You can do this by clicking <URL:donate.html>
When the pseudo HTML doesn't do what you want
There are some common mistakes that will make your pseudo HTML stop working:
Start and end tags not paired. This will cause all the tags of that type to stop working. Go through your text and check that there's an ending tag for each starting tag (and a starting tag for each ending tag). This applies to the "b", "i", "h1", and "h2" tags.
Improper placement of "center" tags. When using <center> with "header" tags ( <h1> or <h2> ), you must place the <center> tags inside the header tags for the text to be centered. It will look like this: <h1><center>Text</center></h1> If you do not do this, the text will be aligned to the left like it normally is.
Missing "@wiki" in a link to a wiki page. This will cause the link to appear within brackets and be interpreted as a link to a member. Add @wiki after the page name within the brackets.
Other useful pages
<URI:pseudo_html.html> - a compact version.
More information about how to use the Elfpack Wiki can be found on the Wiki Guide page.
See also the other help pages and the Newbie forum!
Go or return to:
The Council The Hell of the Insane The Wiki-Index The Help-Index
||Show these comments on your site|