Wiki:

Webelftown.com
Page name: pseudo HTML [Exported view] [RSS]
2009-11-19 11:07:02
Last author: SilverFire
Owner: Shreya
# of watchers: 62
D20: 1
Bookmark and Share

About the Elftown ads
The Elftown Mall


Make an Elftown ad
<img:/stuff/pseudohtmlguide.jpg>


<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


A guide to the pseudo HTML on Elftown


The limited "pseudo HTML" on Elftown 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 diary, and of course on the wiki.

For a very compact description of the pseudo HTML, see <URI:pseudo_html.html>

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Table of contents

[#Introduction]
[#Formatting text]
[#Making the text larger]
[#Using the PRE and SUP tag]
[#Centering text]
[#Aligning text to the right]
[#Justifying text]
[#Making the text Bold, Italic, Underlined, Etc.]
[#Using the Box tag]
[#Creating tables]
[#Inserting other elements]
[#Inserting an image]
[#Inserting a horizontal ruler]
[#Resizing images]
[#Rotating images]
[#Aligning images]
[#Creating links]
[#Linking to a web page]
[#Linking to an Elftown wiki-page]
[#Linking to an Elftown wiki-page using an image]
[#Linking to a Wikipedia article]
[#Linking to an Elftown member]
[#Linking to a posting]
[#Linking to a poll]
[#Linking to a diary entry]
[#Linking to a guestbookmessage]
[#Linking to a private forum]
[#Linking to a public forum]
[#Linking to the news on Mainstreet]
[#Linking to any page on Elftown]
[#Linking to a private message]
[#Linking to parts of your house or wiki]
[#Writing tags that are shown]
[#Miscellaneous notes]
[#Paragraphs and line breaks]
[#HTML tags that don't work]
[#When the pseudo HTML doesn't do what you want]
[#Other useful pages]

Note: Click the link and you will be taken to that part of the wiki.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Introduction



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 "Elftown’s pseudo HTML"?

The "pseudo HTML" on Elftown is a limited set of HTML tags and some Elftown specific "codes" that work in postings, on the wiki, in your description etc. The available tags and "codes" are described below.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Formatting text



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.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


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>
<h3> big header "h3" ending with </h3>

h1 looks like this


h2 looks like this


h3 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>

An example:
    This text is pre-
            formatted
   



Using the SUP tag:

The SUP tag is used to create text that is superscripted (raised):

<sup> sup tag "sup" ending with </sup>

sup text looks like this next to normal text


Using the SUB tag:

The SUB tag is used to create text that is subscripted (lowered):

<sub> sub tag "sub" ending with </sub>

sub text looks like this next to normal text


<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Centering text

You can centre the text using the "center" tag like this:

<center>Text to be centered </center>

An example:
Centered text


<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Aligning text to the right

You can align the text by using the "right" tag like this:

<right>Text to be aligned right</right>

An example:
Right aligned text


<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Justifying text
Use the <justify>-tag. example:
<box100><justify>Huge pile of text that is enormous but you want it to look good and don't care if it's harder to read just because it has that nice looking straightness to the right. Look hoooooooow greaeaeat it looooooooooks with looooooooong woooooooooords.</justify></box100>

Huge pile of text that is enormous but you want it to look good and don't care if it's harder to read just because it has that nice looking straightness to the right. Look hoooooooow greaeaeat it looooooooooks with looooooooong woooooooooords.


<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>



Making the text Bold, Italic, Underlined, Etc.

You can make your text bold, italic, underlined or crossed out 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>
<HL> HighLighted tag "HL" ending with </HL>

Bold text looks like this
Italic text looks like this
Underlined text looks like this
Crossed out text looks like this
Highlighted 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, i, and s, or all the tags of that type will stop working in your text! This is one of the most common mistakes!

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


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.

To create a box tag, you write:
box : "minimum width" (Depends on the browser what that is.)

You can choose between:
box50, box100, box150, box200, box250, box300, box400, box500 and box3500

Example:
<box200>This is a box</box200> <box200>This is a second box</box200>


The above will look like this:

This is a box

This is a second box



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 boxedit (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.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Creating tables



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 1Column 2
First data second data


You write | (pipe) for a new column and --- (3 minus) for a new row.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Inserting other elements



There are two "elements" you can insert into your text: images and horizontal rulers.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Inserting an image

To insert an image into your text you add the Elftown -specific "IMG" tag at the point in your text where you want the image: <IMG:(URL to the image)>

An example:
<IMG:http://www.elftown.com/img/new/elftownminibutton.gif>

The IMG tag above results in this:
<img:http://www.elftown.com/img/new/elftownminibutton.gif>

The image doesn't have to be in Elftown, but it must be on the internet. You cannot use an image directly from your own computer.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Inserting a horizontal ruler

Horizontal rulers (lines) are inserted using the "hr" tag:

<hr>


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.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Resizing images


If you want to inline images from Elftown you can change their size by writing one or two numbers before the ':' like this:
<IMG50:img/new/elftownminibutton.gif> looks like <img50*0:img/new/elftownminibutton.gif> 
(keeps the current ratio between width and height, but new width will be 50px)
<IMG*50:img/new/elftownminibutton.gif> looks like <img0*50:img/new/elftownminibutton.gif> 
(keeps the current ratio between width and height, but new height will be 50px)


OR to change the height/width ratio:

<IMG25*50:img/new/elftownminibutton.gif> looks like <img25*50:img/new/elftownminibutton.gif> (image re-sized to 25*50)

Note: If the image isn't on Elftown, it will be resized, but not by Elftown but from the viewer's browser so viewer have to download the maybe huge image, instead of a small thumbnail image.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Rotating images


If you want to rotate an image (That image has to be on Elftown!), you can add an 'l' (left), 'r' (right) or 'a' (around) after 'img':

<imgl:img/new/elftownminibutton.gif> looks like <imgl:img/new/elftownminibutton.gif>

<imgr:img/new/elftownminibutton.gif> looks like <imgr:img/new/elftownminibutton.gif>

<imga:img/new/elftownminibutton.gif> looks like <imga:img/new/elftownminibutton.gif>

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Aligning images


You can align images by using LIMG and RIMG instead of the normal IMG-tag.

No alignment
<img50*0:img/drawing/1_1176987475.jpg> When you don't align an image, it looks like this. Notice how the text starts at the bottom of the image, and not on the top.


Left alignment using the LIMG tag
When you write <limg50:img/drawing/1_1176987475.jpg> and some text, it will look like this:

<Limg50*0:img/drawing/1_1176987475.jpg> The image is aligned to the left, the text starts at the top of the image.

And goes on here...



Right alignment using the RIMG tag
When you write <rimg50:img/drawing/1_1176987475.jpg> and some text, it will look like this:

<Rimg50*0:img/drawing/1_1176987475.jpg> The image is aligned to the right and again the text starts at the top of the image.




<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Creating links



Links are very simple on Elftown. 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.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


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.

http://www.Elftown.com

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Linking to an Elftown wiki-page

To make a link to a page on the Elftown 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.

An example:
[index@wiki]

The link looks like this:
index

(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)

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Linking to an Elftown wiki-page using an image

Instead of linking to a wiki as shown above, you can link to a wiki by using an image. You could for instance use the wikibanner of a wiki to link to that wiki. By clicking on the image, you will be taken to the wiki.

To make a hyperlinked image, you have to write the following:

<wikiimg:wikiname@wiki:image-url>

An example:
<wikiimg:Elftown@wiki:img/new/elftown_v2.gif>

The link looks like this:
Elftown
When you click it, it will take you to the wiki Elftown.

You can also thumbnail the image, but not in the most regular way. You have to decide which height or width you want the image to have. Y represents the height, and X the width. Once you've decided what height/width you want you need to insert that in the end of the link like this:

<wikiimg:Elftown@wiki:img/new/elftownminibutton.gif?y=20>
The height will become 20 pixels, it will look like this:

Elftown
The link again leads to Elftown.

or:

<wikiimg:Elftown@wiki:img/new/elftownminibutton.gif?x=20>
The Width will become 20 pixels, and it will look like this:

Elftown
This link again leads to Elftown.

You can also change both the height and the width by adding this to the end of the image url:

<wikiimg:Elftown@wiki:img/new/elftownminibutton.gif?x=50&y=50>
The width and the height will both become 50 pixels, and it will look like this:

Elftown

Note: the height and width don't have to have the same value, so you could specify that your image have a height of 20 pixels and a width of 40, and it would work fine.


<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


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

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>



Linking to an Elftown member

To link to an Elftown 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...)

An example:
[Kajo

You can also write an @ and the member number in square brackets ([@174]) to link to a member, but it will automatically change to look like above.

Each member also has a personal url that can be found on the house of the member. If the member only uses English letters, the link will be:
www.elftown.com/username
Otherwise the link will be:
www.elftown.com/usernumber

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Linking to a posting

A link to a posting is very similar to a link to a member; the posting number within square brackets:

[2]

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Linking to a poll

You can link to a poll with a link that looks like this: <poll:(poll number)>

An example:
<poll:1>

You can find the poll number right beside the poll's title.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Linking to a diary entry

You can link to a diary entry by using this syntax <diary:entry number>

An example: <diary:1>

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Linking to a guestbookmessage

You can link to a guestbookmessage by using this syntax <gb:entry number>

An example: <gb:1>

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


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)>

An example:
<joinforum:64:play> (Wrong secret forum password to the forum number 64)

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Linking to a public forum

Write <forum:forumnumber> where "forumnumber" is a number, for example 1 for the newbie forum, and you'll will get a link looking like <forum:Elftown, newbie questions>.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Linking to the news on mainstreet

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 news title.
An example: <news:News!>

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Linking to any page on Elftown

To link to a page on Elftown you can use the pseudo HTML "URL" tag: <URL:(Elftown URL)>

An example:
<URL:help.html>

This is especially helpful if you want to link to pages that don't have any special tag. To list [Hedda]'s relations for example: <URL:list_relations.html?membernr=1>

Note: Do not write <URL:http://www.elftown.com/list_relations.html?membernr=1>! That will work only for people who are logged in on elftown.lysator.liu.se, but Elftown is also accessable at elftron.lysator.liu.se for example. <URL:list_relations.html?membernr=1> will work for everyone, regardless of how they are logged into Elftown.

The "Elftown URL" is the same as the URL to the page but without "http://www.Elftown.com/".
Clicking on the link will open a new window.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Linking to a private message

You can link to a message with:
[messagenumber@]
The messagenumber you want to link to can be found on top of the specific message.
It will say: 'Letter number: #'.

Note: A link to a message will only work if you are the sender or receiver of the message, of course.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Linking to parts of your house/wiki

Write [#] on the bottom of your house/wiki and you will be taken back to the top of the page.
Example: [#]

You can also have links that will take you to a specific section on your house/wiki. Just like you see on this wiki.
The link you want to be clickable is to be written like this: [#sectionname]. The name you insert there can be anything you like, but best would be if it tells you where you will be taken if you click it.
The section you want to be taken to also needs a link. You write the link above that section like this:
<#sectionname>
The links will need the same name to be able to work.
If you afterwards look at the wiki, you will only see the clickable links. The links that you wrote in the sections are not seen.

Example: Click [#Linking to a private message] and you will be taken to the section above this one.


You can also write a link to a part of a wiki somewhere else. Thus you can link to a part of a wiki by writing a link on your house/wiki.
The clickable link doesn't just contain the sectionname now, but also has to direct you to the wiki. The link therefore should be written like this:
[wikiname@wiki#sectionname]
In the section of the wiki you want to be taken to you also write:
<#sectionname>

Example: Veterans#Council leads to the retired Councilmembers on Veterans.
On that wiki you can see that there was also a link made back to the Council. That was done by writing a clickable link on Veterans and <#council> in the retired section on Council.

Note: you can not link from somewhere else to a part of your house. You can only link from your house to another part of your house.
Note2: Do note use ' in the link, or it will not work. So don't has to become dont for it to work.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


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:

help  

You can also use !uQt! within an !uQt!, to have the !uQt! in the tag shown, too...

You can also put text between <qt></qt> and it will not be treated as pseudo HTML. The standard way to inline code is to use <pre><qt>this[is]=your_code;</qt></pre>

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Miscellaneous notes



Case sensitivity:

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>.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


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 Elftown. Instead you just write your text as you would in a text editor, using the Enter key to make line breaks as usual.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


HTML tags that dont work

Here is a list of some (but not all!) of the HTML tags that cannot be used: <h4> <h5> <marquee> <font color=red> <blink>

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


When the pseudo HTML doesnt 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.

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.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Other useful pages



More information about how to use the Elftown Wiki can be found on the Wiki help page.

If you want to try out the tags, I suggest that you go to the Wiki playground [edit] 1574.

See also the other help pages and the Newbie forum!

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Go or return to:
-The wiki-index
-The Elftown technical pages index
-Elftown - Technical Information
-The help index

Username (or number or email):

Password:

2009-09-24 [Lin Star]: Hmmm...maybe. Yeah, I'll have to make it really quick. I'll link it when I'm done. C: Thanks for trying, though.

2009-09-24 [Lin Star]: Click for larger image. C: That's what I'm talking about.
<img0*100:stuff/aj/188188/listcode.png>

2009-09-24 [Trennas]: oh like that, now i know what you mean XD

no, we indeed do not have tags for that. But I suppose the closest effect could be achieved with a two column table.

2009-09-24 [Lin Star]: Right, and img or numbers in that. lol But that's a lot of HTML code that not everyone knows or particularly wants, you know? *shrugs*

There are so much more arrangements you could possibly do with those tags and that includes intricate outline formats and basic lists. lol

I've also seen the tags used like this:
<list><*>List
<*>List</list>
That would get plain bullet lists and if you change the first tag to <list=1>, <list=A>, <list=I>, or <list=a> it would make a list respectively to numbers, upper case letters, roman numerals, or lower case letters.

2009-09-25 [Trennas]: would be a nice addition, but well, I'm not the one in charge of adding new tags XD

2009-09-28 [Chimes]: I don't see why that's needed... What's wrong with just typing it...?

2009-09-28 [Trennas]: Some people would just like to have some more advanced options, that's all.

2009-09-28 [moira hawthorne]: some people happy with vanilla chocolate chocolate chip and chocolate mint as flavours... some people like the 57 - 99 ect flavours

2009-09-28 [Lin Star]: I'm just saying it would be handy and helpful. It's good to have options, not that we couldn't function without them, just that they'd be nice to have.

2009-09-29 [Lin Star]: I have another question, though. For linking to members through their member number, how would we type that out in the page? I keep trying different combinations, but I haven't found it. :/ I know if you type in [Lin Star] it'll go to me, but what if I change my name and know I will? How do I type it then so no matter if I change my name, it'll still link back to me?

I reread the part several times, but it never tells you what you have to type in.

2009-09-29 [Aeolynn]: Your name is always linked back. If you changed your name, any previous posting/comment with your previous name on it will be changed. :] if you have any other questions try the forums, this isn't exactly the place for it.

2009-09-29 [Trennas]: why wouldn't this be the place for it? it's a question about pseudo html, and this just so happens to be a wiki about the pseudo html. Don't see the harm in that :s

By the way, I think that the piece about the linking member numbers is a bit old. I tried several combinations to see if it would work and it didn't. But Aeolynn is right, if you change your user name, it changes everywhere :)

2009-09-29 [Lin Star]: Ah, okay. C: Thank you.

2009-09-30 [hanhepi]: yeah, the linking to a user bit is outdated. it changes when you change your user name. at least it changes on everything i've seen.

2009-09-30 [Trennas]: ah well, glad we cleared that up XD

2009-09-30 [Veltzeh]: I took a liberty of fixing it.

2009-09-30 [Trennas]: good job, much clearer now!

2009-09-30 [hanhepi]: thanks vel :D

2009-11-19 [Trennas]: what changed?

2009-11-19 [Hedda]: There is a diff-button to the right. Try using that! <img:stuff/cheshmak.gif>

2009-11-19 [Trennas]: ooh I didn't even know that existed! Wow, learned two new ET things in 2 days :p

Number of comments: 174
Older comments: (Last 200) 8 7 6 5 4 3 2 1 .0.

Show these comments on your site

Elftown - Wiki, forums, community and friendship. Sister-site to Elfwood
Search ads by Chitika
10% off Amazon's Prices on over 900,000 Books!