Difference between revisions of "Mixing Text and Images"

From the Family Tree Forum Reference Library
m
Line 28: Line 28:
 
This example consists of three columns with four rows in each column.
 
This example consists of three columns with four rows in each column.
  
====THE CODE====
+
====The Code====
  
 
<nowiki> {|  width="100%" border="0" cellspacing="5" cellpadding="5"  </nowiki><br>
 
<nowiki> {|  width="100%" border="0" cellspacing="5" cellpadding="5"  </nowiki><br>
Line 45: Line 45:
 
|}
 
|}
  
====EXPLANATION OF THE CODE====
+
 
 +
====Explanation of the code====
  
 
[[image:tabletop.jpg]]
 
[[image:tabletop.jpg]]
Line 58: Line 59:
  
  
====THE RESULT====
+
====The Result====
  
 
{|  width="100%" border="0" cellspacing="5" cellpadding="5"  
 
{|  width="100%" border="0" cellspacing="5" cellpadding="5"  
Line 74: Line 75:
 
|<span class="plainlinks">[http://www.nationalarchives.gov.uk/familyhistory/?homepage=fr-more more family history...]</span> takes you to a detailed explanation about how to begin your research into your family history.||<span class="plainlinks">[http://www.nationalarchives.gov.uk/militaryhistory/?homepage=mh-more more  military history..]</span> takes you to a detailed explanation about how to research military history.
 
|<span class="plainlinks">[http://www.nationalarchives.gov.uk/familyhistory/?homepage=fr-more more family history...]</span> takes you to a detailed explanation about how to begin your research into your family history.||<span class="plainlinks">[http://www.nationalarchives.gov.uk/militaryhistory/?homepage=mh-more more  military history..]</span> takes you to a detailed explanation about how to research military history.
 
|}
 
|}
 +
  
 
==Help Pages for The Wiki==
 
==Help Pages for The Wiki==

Revision as of 12:33, 5 April 2008

Page being edited by Caroline


Basic code

This method is rather unpredictable, especially if you need the list of Contents (TOC) to show and/or captions underneath either or both of the pictures.


N.B. If the image has no "built in" border you need to use |thumb| not |frame| as you cannot cotrol the size of the image with |frame|.

This causes problems with getting the line spacing correct for every viewer.


See Adding Content to The Wiki ~ Images and Tables for explanation of codes for images.


Documents fr2.jpg
Building3.jpg

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec in enim. Aliquam erat volutpat. Maecenas id nibh ut turpis lobortis commodo. Phasellus sed neque. Proin fringilla euismod libero. Etiam vel lectus. Aliquam dui. Curabitur venenatis molestie neque. Integer mi dolor, gravida at, accumsan eget, fringilla eget, arcu. Suspendisse euismod. Nam et lorem accumsan magna venenatis pellentesque. In et ante. Etiam magna. Cras rutrum mi quis tellus.

Sed mi eros, lacinia mattis, gravida vel, placerat posuere, lacus. Duis accumsan tincidunt sapien. Morbi sed velit. Etiam quis orci. Donec at velit sed lorem elementum feugiat. Curabitur ut ligula. Quisque in eros. Morbi sed enim id sapien tristique fringilla. Nunc ligula augue, pellentesque ac, nonummy id, semper eget, ante. Sed mi eros, lacinia mattis, gravida vel, placerat posuere, lacus. Duis accumsan tincidunt sapien. Morbi sed velit. Etiam quis orci. Donec at velit sed lorem elementum feugiat. Curabitur ut ligula. Quisque in eros. Morbi sed enim id sapien tristique fringilla. Nunc ligula augue, pellentesque ac, nonummy id, semper eget, ante.


Using tables to control layout on a page

This example consists of three columns with four rows in each column.

The Code

{| width="100%" border="0" cellspacing="5" cellpadding="5"
|-valign="top"
| <div align="center">'''Family History''' </div>
| <div align="center">'''Military History''' </div>
| <div align="center">'''Learning and Research''' </div>
|-valign="top"
| <div align="center">[[image:fammenu.jpg]] </div>
| <div align="center">[[image:milmenu.jpg]] </div>
| <div align="center">[[image:learnmenu.jpg]] </div>
|-valign="top"
|Direct links to sources and background information for Census records, Births, marriages & deaths, Wills, Adoption records and Outward passenger lists. ||Direct links to sources and background information for the British Army, Royal Navy, Royal Marines, Royal Air Force, WW1 medals, Merchant navy, WW1 soldiers’ records. ||Direct links to The Catalogue and Documents Online together with very detailed (searchable) lists of what is available at The National Archives in Kew.
|-valign="top"
|<span class="plainlinks">[http://www.nationalarchives.gov.uk/familyhistory/?homepage=fr-more more family history...]</span> takes you to a detailed explanation about how to begin your research into your family history.||<span class="plainlinks">[http://www.nationalarchives.gov.uk/militaryhistory/?homepage=mh-more more military history..]</span> takes you to a detailed explanation about how to research military history.
|}


Explanation of the code

Tabletop.jpg

Toprow.jpg

Table2row.jpg

Table3row.jpg

Table4row.jpg


The Result

Family History
Military History
Learning and Research
Fammenu.jpg
Milmenu.jpg
Learnmenu.jpg
Direct links to sources and background information for Census records, Births, marriages & deaths, Wills, Adoption records and Outward passenger lists. Direct links to sources and background information for the British Army, Royal Navy, Royal Marines, Royal Air Force, WW1 medals, Merchant navy, WW1 soldiers’ records. Direct links to The Catalogue and Documents Online together with very detailed (searchable) lists of what is available at The National Archives in Kew.
more family history... takes you to a detailed explanation about how to begin your research into your family history. more military history.. takes you to a detailed explanation about how to research military history.


Help Pages for The Wiki

Adding content


Visual Reference