Help coding a link with a pipe

+4 votes

I'm having trouble getting a link in a biography to work right.

I would appreciate it if some more experienced people would look at the last sentence in the birth and baptism section of Niels Jensen's biography.  I'm trying to pipe a link to the words Kirke of Lyngby Parish.  

I think the proper formating is [http://address|words] with no spaces on either side of the pipe symbol.  If I do that, the proper words minus the first word are underlined in the biography but the link won't work. It seems to add a couple of characters to the end of the link address that screws it up.  If I put a space after the last character of the http address and before the pipe symbol, then the link goes to the proper web page and I get back the first word of my text but the pipe symbol shows up in my bio text so it reads

in the |Kirke of Lyngby Parish

Any ideas on how I can get the link to work without the pipe symbol showing up in my text?  I tried parenthesis, extra brackets, quote marks around the http address, and even leaving the last slash off the web address.  None of that worked. It seems for this particular web page to load properly, I have to have a space after the last slash.

WikiTree profile: Nels Jensen
in Policy and Style by Mary Jensen G2G6 Mach 9 (94.7k points)
retagged by Ellen Smith
Use a space instead of a pipe.

Thank you so much.  Worked like a charm. So now the family can see where Grandpa Nels was baptised.

2 Answers

+5 votes
Best answer
Mary, there are two kinds of links using wikicode and they have different formatting, unfortunately, which can easily confuse people.

External links are the ones that go to a page on another website.  They do not use the pipe character.  They are made by starting and ending with only 1 bracket.  Inside the brackets is the URL followed by a space and then the label, like:

      [ LABEL]

Internal links are the ones that go to another page on WikiTree.  They use the pipe character (the pipe is a vertical straight line, found on most keyboards as upper case of the backslash, above the ENTER key).  They are made by starting and ending with double brackets and separating the address part and label with a pipe, like:

   [[Doe-1|John Doe]]

Note:  Internal links are most often used to link to a profile page.  In this case, the person's WikiTree ID is the address part.
by Gaile Connolly G2G6 Pilot (820k points)
selected by Mary Jensen
Thank you Gail.

This helps a lot.  This is my first external link which was not in a citation where I wanted to show the full URL.
+1 vote

The pipe character is usually on the keyboard on the same key as the backslash  \

To get it hold down  Shift  and  \    |


Hold down Alt and type 124 on your numeric pad |

by Dave Welburn G2G6 Pilot (113k points)

Related questions

+1 vote
1 answer
+8 votes
1 answer
128 views asked Jan 6, 2016 in WikiTree Help by John Nash G2G6 Mach 1 (11.0k points)
+5 votes
1 answer
+7 votes
4 answers
+2 votes
1 answer
61 views asked Nov 20, 2017 in WikiTree Tech by Barry Smith G2G6 Pilot (182k points)
+7 votes
2 answers
+8 votes
1 answer
+3 votes
1 answer
+9 votes
3 answers

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright