The original OPRs appear to suggest two distinct children, Janet and Thomas born to James Wardlaw and Margaret McKraich or McCraich in Dunfermline, born 3rd Mar 1777, baptised 6th Mar 1777.
Seems unlikely that there are actually two sets of parents with same/similar names that would have a child with exactly the same birth/baptism dates. Both Wardlaw and McCraich/McKraich are pretty rare surnames.
Problem 1, original image and index for birth/baptism record for Thomas declares the child a daughter, i.e. female. (Church of Scotland).
Problem 2, birth/baptism record for Janet is at a different church, Dunfermline Associate ("Other Churches" in OPR).
So, why would twins be baptised at different churches on the same day?
If this is in actuality one person, why baptise twice? I've never come across this happening in over 30 years of research.
The only explanation I could guess at, is the parents worshiped at different churches/denominations.
Could this be the same person and somehow one church got the name radically wrong?
Suggestions on how to record at WikiTree are welcome. Enter as one person, i.e. most likely Janet and put notes? Or add as two people and document on both? Personally I'd favour the second, but fairly new to WikiTree and not completely familiar with some of the conventions yet. Currently shown as distinct individuals at Familysearch, Janet (LJRD-J4L ), Thomas (LJRD-JKQ).