Wikitravel talk:Wiki markup

From Wikitravel
Jump to: navigation, search

Image map[edit]

Swept in from Wikitravel:Travellers' pub:

Following up from a point in the discussion about the Caribbean Islands (Talk:Main Page#Caribbean islands) I started experimenting with an image map of the world just to see if it was feasible, but after trying things out in User:Wrh2/Sandbox and searching on Google I can't find a way to actually get the <map> and <area> tags working with Wikimarkup. Does Wikimarkup have any way of allowing a clickable image map? -- Wrh2 02:06, 16 Jun 2005 (EDT)

Linking from one section to another[edit]

Swept in from the Pub:


Can anyone tell me how to make a link that takes a reader to a different part of the same article?

Thanks. Sapphire 22:15, 9 Dec 2005 (EST)

Linking like this: #Linking from one section to another will work. I've provided a link to this section --Ravikiran 00:49, 10 Dec 2005 (EST)

Using special character markup for umlauts etc[edit]

Since we're talking about foreign places and languages etc, we're using umlauts and other special characters a lot, but I guess most people are just putting them into pages directly, without using any special wiki markup. So the question is, should people be doing this? I guess there maybe technical reasons why it might be better to use the entity encoding format. Anyone know more about this? e.g. does it make our pages more browser compatible?

The following is taken from 'special characters' from mediawiki users guide. Should we copy that section into our Wiki markup page? Should we say that people should use this format, rather than typing it directly? Note that user's with standard US style keyboards might find this information useful when typing awkward characters, even if is not particularly preferred.

Umlauts and accents:
Ú Û Ü ß à á
â ã ä å æ ç
è é ê ë ì í
î ï ñ ò ó ô
œ õ ö ø ù ú
û ü ÿ

&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring;
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml;
&Igrave; &Iacute; &Icirc; &Iuml; &Ntilde; &Ograve;
&Oacute; &Ocirc; &Otilde; &Ouml; &Oslash; &Ugrave;
&Uacute; &Ucirc; &Uuml; &szlig; &agrave; &aacute;
&acirc; &atilde; &auml; &aring; &aelig; &ccedil;
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute;
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc;
&oelig; &otilde; &ouml; &oslash; &ugrave; &uacute;
&ucirc; &uuml; &yuml;

-- Nojer2 11:49, 24 March 2006 (EST)

No, HTML entities should be avoided and direct entry is preferred. As for what's "foreign" and what's "standard", last I checked Wikitravel isn't even based in your little country... Jpatokal 11:57, 24 March 2006 (EST)
Direct entry certainly seems easier (nicer to read the wiki syntax) than the HTML entities. But that way might offer an easier way for someone like me to type a euro character (&euro=€) and other such funny foreign characters on my standard english keyboard :-p
...Seriously though. I was wondering about the technical aspects of how various browsers interpret these characters. Is it possible to corrupt umlauts etc on page, if you edit the page using certain browsers (for example a more basic browser running on a PDA?). I noticed something weird happening on the Zurich page once. Interestingly the example broken characters are rendering differently now. Maybe the problem was fixed, or maybe the characters were further broken by another browser.
To be fully w3c compliant I suppose MediaWiki should really be spitting out these HTML entities in the rendered HTML, but OK we prefer not to see them in the editng textbox. -- Nojer2 18:42, 27 March 2006 (EST)

Formatting Question[edit]

Swept in from the pub:

I introduced double columns in a section of an article where it seemed appropriate. However, the columns are sometimes "equal widths" and sometimes "differing widths". Does anyone know why this happens? The differing widths change, depending on the text by each bullet point. The article is "Decatur (Georgia)", but it appears to be a wiki formatting issue that I do not fully understand. Thanks for any help. --Baxterguy 08:05, 16 October 2007 (EDT)

It's a tables, so you will to specify the column width if you want to ensure that they are equal. I am however not sure it is a good idea to use two columns in the article. It's looks OK on my 1600x1200 and 1280x1024 display, but I suspect it will start becoming a mess at 1024x768 and be totally useless on any kind of portable device, especially if there are images in the same section. In addition to that it also breaks consistancy with the rest of the articles in the guide. --NJR_ZA 00:41, 17 October 2007 (EDT)

making tables[edit]

Swept in from the Pub:


I am trying to find information on how to make tables such as time/schedule tables for ferries or trains and couldn't find any.

I tried to copy/paste from an existing table but trying to modify it looked too complicated. Thanx for help in advance.Paula 01:23, 10 September 2008 (EDT)

If the information is so complicated that it needs a table, think twice about whether it's worth maintaining, or if you can just link to the official site instead...
But basic wiki table format is like this (click Edit to see syntax): Jpatokal 02:25, 10 September 2008 (EDT)
header header header
column column column
column column column
are you assigned to me Jpatokal? you seem to follow me everywhere.
it's not the information that's too complicated, it's the table's editing syntax that is. I have already put in the links but they are all in Korean so I thought it would be helpful to have the basic times and destinations in English.
is there a link to table formatting?