Help - I can't see the error in my wiki markup! [closed]

+8 votes
235 views

I've added details of the 1861 census and Emma's death to the profile at https://www.wikitree.com/wiki/Shackles-1 but I've obviously done something wrong as none of it is appearing in her profile.

I've been through the markup several times but can't see where I've gone wrong - can someone with a fresh eye please take a look at it frown

WikiTree profile: Emma Caird
closed with the note: formatting error found & corrected
in WikiTree Help by Sheena Tait G2G6 Pilot (118k points)
closed by Sheena Tait

I took a look, and compared it to my own tables... not sure why yours isn't working. I'd like to know how this one gets resolved, too.

EDIT: I found the problem!

2 Answers

+7 votes
 
Best answer
When you are using self-contained reference tags, you'll want them to look like this:

<ref name="someName"/>

Your ref tag looks like this:

<ref name=census /ref>

If you fix that, it fixes the whole thing.
by G. Borrero G2G6 Pilot (125k points)
selected by Sheena Tait
Bah!! Because the two census references were showing up in the Sources section I thought I'd got them correct.

Thank you G!!
+4 votes
Your REF NAME was missing the necessary quotation marks, so I added them.

Your table is wider than the page. I have input an example of how I do the census entries more concisely. If you prefer the table, just delete my example.
by N Gauthier G2G6 Pilot (294k points)
Thanks N, it was actually the closing "/ref>" that was causing the problem - it should have been "/>".

I agree that including the census transcript in the bio is a bit clunky looking - I tend to do that only when there are additional children included in the census that don't already have a WikiTree bio and who aren't listed in the parents' bios.
I don't use quotation marks in my ref names and they work fine! You can use them or not, but if you do use them, the subsequent references in that profile also need to have them.
I think the only time you have to use quotation marks is when you want your ref name to have a space in it, as you would between two words, such as <ref name="1850 Census">. To close would be <ref name="1850 Census" />. But instead you can always run your words together, as in <ref name=1850Cen>, and <ref name=1850Cen />.

Spacing is critical, especially no space after the =, and yes before />.
Oh, I didn't know that, but I tend to run the words together anyway. Good to know though!

Related questions

+15 votes
3 answers
330 views asked Jan 3, 2019 in The Tree House by Steven Harris G2G6 Pilot (749k points)
+9 votes
1 answer
143 views asked May 26, 2021 in WikiTree Tech by Liam Upton G2G1 (1.2k points)
+8 votes
3 answers
834 views asked Jan 8, 2019 in WikiTree Tech by John Gilroy G2G2 (2.3k points)
+14 votes
4 answers
+21 votes
1 answer
466 views asked May 6, 2016 in WikiTree Tech by Julie Ricketts G2G6 Pilot (487k points)
+5 votes
1 answer
603 views asked Dec 11, 2012 in Genealogy Help by Living Lechner G2G6 Mach 6 (67.8k points)

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

disclaimer - terms - copyright

...