Interface administrators, smwadministrator, smwcurator, smweditor
82,369
edits
m (added category) |
mNo edit summary |
||
Line 1: | Line 1: | ||
== | __NOTOC__ | ||
==== | ==Home== | ||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*What is CSS? | |||
::D. All of the above | |||
*What is WIkitext? | |||
::A. Simplified form of HTML | |||
*What is HTML? | |||
::B. Language for all the Internet | |||
</div> | |||
[[FamilySearch HTML Tutorial|Back to Home Page]] | |||
---- | |||
==Introduction== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*Where are square brackets used? | |||
::C. Used in links | |||
*Where are pipes used? | |||
::B. Internal links | |||
*What are <> used for? | |||
::C. Div tags | |||
</div> | |||
[[FamilySearch Wikitext Introduction|Back to Introduction]] | |||
---- | |||
==Headers== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | <div style="border:10px solid lightgreen; padding:5px; "> | ||
* | =Kentucky= | ||
:: | ===History=== | ||
* | ===Vital Records=== | ||
===Birth Certificates=== | |||
Here's the coding: | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | |||
#<nowiki>=Kentucky Genealogy=</nowiki> | |||
#<nowiki>===History===</nowiki> | |||
#<nowiki>===Vital Records===</nowiki> | |||
#<nowiki>====Birth Certificates====</nowiki></div> | |||
</div> | |||
=====Quick Quiz===== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*We don't use Header Ones in FamilySearch Wiki articles | |||
::True | |||
*Header Five and Six are rairly used | |||
::True | |||
*Header Two work well in FamilySearch WIki | |||
::False | ::False | ||
* | *Avoid using Header Three and Header Four in articles | ||
::False | ::False | ||
</div> | </div> | ||
[[FamilySearch Wikitext | [[FamilySearch Wikitext Headers|Back to Headers]] | ||
---- | |||
==Lists== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*Coding for unordered list: | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | |||
<nowiki>*Birth Certificates</nowiki><br> | |||
<nowiki>*Land Records</nowiki><br> | |||
<nowiki>*Probate Records</nowiki><br> | |||
<nowiki>*Census</nowiki> | |||
<nowiki>*Vital Records</nowiki></div><br> | |||
*This is how the unordered lists will appear: | |||
::*Birth Certificates | |||
::*Land Records | |||
::*Probate Records | |||
::*Census | |||
::*Vital Records | |||
*Coding for ordered list: | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | |||
<nowiki>#World</nowiki><br> | |||
<nowiki>#North America</nowiki><br> | |||
<nowiki>#United States of America</nowiki><br> | |||
<nowiki>#State of Missouri</nowiki><br> | |||
<nowiki>#Jackson County</nowiki><br> | |||
<nowiki>#Independence</nowiki></div><br> | |||
*This is how the ordered list will appear: | |||
#World | |||
#North America | |||
#United States of America | |||
#State of Missouri | |||
#Jackson County | |||
#Independence | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*If you have a cooking recipe, which list would you use to show the steps? | |||
::A. Ordered List | |||
*If you were listing your favorite foods in order of preference, which lists would you use? | |||
::A. Ordered List | |||
*If you were listing the contents of your pockets, which list would you use? | |||
::B. Unordered List | |||
</div> | |||
[[FamilySearch Wikitext Lists|Back to Lists]] | |||
---- | |||
==Nested Lists== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
To practice nesting unordered lists, in your sandbox create an list with the following items: Fruits, Vegetables, Nuts and Grains. In between each item list three varieties.<br> | |||
Here is the coding you should have entered: | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | |||
<nowiki>*Fruits</nowiki><br> | |||
<nowiki>**Apples</nowiki><br> | |||
<nowiki>**Pears</nowiki><br> | |||
<nowiki>**Oranges</nowiki><br> | |||
<nowiki>*Vegetables</nowiki><br> | |||
<nowiki>**Peas</nowiki><br> | |||
<nowiki>**Carrots</nowiki><br> | |||
<nowiki>**Corn</nowiki><br> | |||
<nowiki>*Nuts</nowiki><br> | |||
<nowiki>**Walnuts</nowiki><br> | |||
<nowiki>**Peanuts</nowiki><br> | |||
<nowiki>**Almonds</nowiki><br> | |||
<nowiki>*Grains</nowiki><br> | |||
<nowiki>**Wheat</nowiki><br> | |||
<nowiki>**Soybeans</nowiki><br> | |||
<nowiki>**Barley</nowiki></div><br><br> | |||
Here's how the links would look on a page: | |||
*Fruits | |||
**Apples | |||
**Pears | |||
**Oranges | |||
*Vegetables | |||
**Peas | |||
**Carrots | |||
**Corn | |||
*Nuts | |||
**Walnuts | |||
**Peanuts | |||
**Almonds | |||
*Grains | |||
**Wheat | |||
**Soybeans | |||
**Barley | |||
To practice nesting ordered list, in your sandbox create an ordered list with the following items: North American, United States of America, State of Missouri and Jackson County. In between each item list three items that apply.</div> | |||
<br><br> | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*If you were nesting a list of states in no particular order in a list of countries, which list would you use?: | |||
::B. Unordered List | |||
*If you were nesting a list of states by size in a list of countries by size, which lists would you use? | |||
::A. Ordered List | |||
</div> | |||
[[FamilySearch Wikitext Nesting Lists|Back to Nesting Lists]] | |||
---- | |||
==Links== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*Here is the coding for the links: | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | |||
<nowiki>[http://www.wikipedia.org/ Wikipedia]</nowiki><br> | |||
<nowiki>[https://familysearch.org/ FamilySearch]</nowiki><br> | |||
<nowiki>[[Kentucky Genealogy|Kentucky]]</nowiki><br> | |||
<nowiki>[[California Genealogy|California]]</nowiki><br> | |||
<nowiki>[[Nevada Genealogy#Research Tools|Nevada Research Tools]]</nowiki><br> | |||
<nowiki>[[Glamorganshire#Topics|Glamorganshire Topics]]</nowiki><br> | |||
<nowiki>[http://home.ancestry.com/ Ancestry.com]</nowiki> | |||
<nowiki>[[HTML and Wikitext - Lesson One|HTML lessons]]</nowiki></div><br> | |||
*This is how they appear on the page: Try them out. | |||
[http://www.wikipedia.org/ Wikipedia]<br> | |||
[https://familysearch.org/ FamilySearch]<br> | |||
[[Kentucky Genealogy|Kentucky]]<br> | |||
[[California Genealogy|California]]<br> | |||
[[Nevada Genealogy#Research Tools|Nevada Research Tools]]<br> | |||
[[Glamorganshire#Topics|Glamorganshire Topics]]<br> | |||
[http://home.ancestry.com/ Ancestry.com]<br> | |||
[[HTML and Wikitext - Lesson One|HTML lessons]]<br> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*How many square brackets for Internal Links? | |||
::B. Two | |||
*How many square brackets are necessary for external links? | |||
::A. One | |||
*How do you separate the name of an Internal link from the page name? | |||
::B. Put a pipe between them. | |||
*How do you link to a section of a page? | |||
::B. Put a pound sign between the page name and the section. | |||
</div> | |||
[[FamilySearch Wikitext Links|Back to Links]] | |||
---- | |||
==Broken Links== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*<font color="red"><nowiki>[https://en.wikipedia.org/wiki/Main_PageWikipedia] </nowiki></font color> | |||
*ERROR: A space is missing between URL and name of link.<br> | |||
*CORRECTED LINK: <font color="red"><nowiki>[https://en.wikipedia.org/wiki/Main_Page Wikipedia] </nowiki></font color> | |||
---- | |||
*<font color="red"><nowiki>[Missouri Genealogy|Missouri]</nowiki></font color> | |||
*ERROR: Single square brackets were used instead of double square brackets. | |||
*CORRECTED LINK: <font color="red"><nowiki>[[Missouri Genealogy|Missouri]]</nowiki></font color> | |||
---- | |||
*<font color="red"><nowiki><a ref="https://en.wikipedia.org/wiki/Main_Page">Wikipedia</a> </nowiki></font color> | |||
*ERROR: HTML coding was used instead of Wikitext coding. | |||
*CORRECTED LINK: <font color="red"><nowiki>[https://en.wikipedia.org/wiki/Main_Page Wikipedia] </nowiki></font color> | |||
---- | |||
*<font color="red"><nowiki>[[Missouri GenealogyMissouri]] </nowiki></font color>. | |||
*ERROR: Pipe missing between page name and link name. | |||
*CORRECTED LINK: <font color="red"><nowiki>[[Missouri Genealogy|Missouri]] </nowiki></font color> | |||
---- | |||
*<font color="red"><nowiki>[[https://en.wikipedia.org/wiki/Main_Page Wikipedia]] </nowiki></font color> | |||
*ERROR: Too many square brackets. Only one set as this is an external link. | |||
*CORRECTED LINK: <font color="red"><nowiki>[https://en.wikipedia.org/wiki/Main_Page Wikipedia]</nowiki></font color> | |||
---- | |||
*<font color="red"><nowiki>[[Missouri Geneology Missouri]]</nowiki></font color>. | |||
*ERROR: Used a space in this internal link rather than a pipe. Also misspelled genealogy. | |||
*CORRECTED LINK: <font color="red"><nowiki>[[Missouri Genealogy|Missouri]]</nowiki></font color> | |||
</div> | |||
<br><br> | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*How can links be broken? | |||
::G. All of the above. (And then some)</div> | |||
[[FamilySearch Wikitext Broken Links|Back to Broken Links]] | |||
---- | |||
==Comments== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*Your wording of the comments is as good as anyone else's. Whatever makes sense to you is ok. | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><!--List of newspapers published in Kirksville, Missouri----------------></nowiki></font color></div><br> | |||
<nowiki>=== Newspapers ===</nowiki><br> | |||
<nowiki>*[http://www.kirksvilledailyexpress.com/ Kirksville Daily Express]</nowiki><br> | |||
<nowiki>*[http://chroniclingamerica.loc.gov/lccn/sn89066097/ click here to see past issues of Kirksville, Missouri Newspaper Archives]</nowiki><br> | |||
<div style="background-color:#wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><!--List of libraries, addresses and phone numbers----------------></nowiki></font color></div><br> | |||
<nowiki>=== Libraries and Museums ===</nowiki><br> | |||
<nowiki>[http://www.atsu.edu/atsmlib/ A T Still Memorial Library]</nowiki><br> | |||
<nowiki>600 W Jefferson St. Kirksville, MO</nowiki><br> | |||
<nowiki>(660) 626-2345</nowiki><br><br> | |||
<nowiki>[http://library.truman.edu/ Pickler Memorial Library - Turman State University]</nowiki><br> | |||
<nowiki>100 E Normal St. Kirksville, MO</nowiki><br> | |||
<nowiki>(660) 785-4000</nowiki><br><br> | |||
<nowiki>Adair County Public Library</nowiki><br> | |||
<nowiki>1 Library Ln. Kirksville, MO</nowiki><br> | |||
<nowiki>(660) 785-4051</nowiki><br><br> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><!--List of historical societies-------------------------></nowiki></font color></div><br> | |||
<nowiki>=== Societies ===</nowiki><br> | |||
<nowiki>*[http://www.adairchs.org/ Adair County Historical Society]</nowiki><br> | |||
<nowiki>*[http://www.adairchs.org/FAMILY_HISTORY_ADAIR.pdf Search Your Family History in Adair Co. MO]</nowiki><br> | |||
<nowiki>*[https://familysearch.org/learn/wiki/en/Special:Search?</nowiki><br>fulltext=true&search=Kirksville+Missouri+Family+History+Center Family History Center]</nowiki><br> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><!--Link to town clerk-----------------------------></nowiki></font color></div><br> | |||
<nowiki>==== Town Clerk ====</nowiki><br> | |||
<nowiki>*[http://www.kirksvillecity.com/ Kirksville City Website]</nowiki><br> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><!--Location of city directory for Kirksville, Missouri-----------></nowiki></font color></div><br> | |||
<nowiki>=== City Directories ===</nowiki><br> | |||
<nowiki>[http://library.truman.edu/books/eBook%20Collections.asp Truman State University] | |||
</nowiki> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*How many comments can you insert on page? | |||
::C. As many as you like. | |||
*How many words can you put in a comment? | |||
::C. As many words as you want. | |||
*Where can you insert comments? | |||
::C. Anywhere you want.</div> | |||
[[FamilySearch Wikitext Comments|Back to Comments]] | |||
---- | ---- | ||
==Categories== | |||
====Exercises==== | ====Exercises==== | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
Line 19: | Line 280: | ||
<font color="red"><nowiki>Categories: Wikitext lessons | Wikitext education</nowiki></font color> | <font color="red"><nowiki>Categories: Wikitext lessons | Wikitext education</nowiki></font color> | ||
</div> | </div> | ||
====Quick Quiz==== | ====Quick Quiz==== | ||
<div style="border:10px solid lightgreen; padding:5px; "> | <div style="border:10px solid lightgreen; padding:5px; "> | ||
Line 32: | Line 294: | ||
[[FamilySearch Wikitext Categories|Back to Categories]] | [[FamilySearch Wikitext Categories|Back to Categories]] | ||
---- | ---- | ||
==Images== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*Place this <nowiki>[[File:Ireland Map.gif]]</nowiki> image on your sandbox page and limit the width to 200 pixels. | |||
*Place this <nowiki>[[File:Ireland Countryside.jpg]]</nowiki> image on your sandbox page on top of the one above and limit the width to 250 pixels. | |||
*Place this <nowiki>[[File:Ireland Rebuilding of Tuam Cathedral 1865.jpg]]</nowiki> image between the two above and limit the width to 600 pixels. | |||
Heres how the images look on the page:<br> | |||
[[File:Ireland Countryside.jpg|250px]] | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>[[File:Ireland Countryside.jpg|250px]]</nowiki></div><br> | |||
[[File:Ireland Rebuilding of Tuam Cathedral 1865.jpg|600px]] | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>[[File:Ireland Rebuilding of Tuam Cathedral 1865.jpg|600px]]</nowiki></div><br> | |||
[[File:Ireland Map.gif|200px]] | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>[[File:Ireland Map.gif|200px]]</nowiki></div> | |||
</div> | |||
<br> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*What size are images stored in the Wiki? | |||
::B. Full size as submitted | |||
*What side of the page is the default position for an image? | |||
::C. All of the above. | |||
*How many images can we put on a page | |||
::A. Unlimited | |||
</div> | |||
[[FamilySearch Wikitext Images|Back to Images]] | |||
---- | |||
==Images (cont.)== | |||
====Exercises==== | ====Exercises==== | ||
<div style="border:10px solid lightgray; padding:5px; | <div style="border:10px solid lightgreen; padding:5px; "> | ||
The | #Place this <nowiki>[[File:Ireland Map.gif]]</nowiki> image on your sandbox page and limit the width to 300 pixels and place it on the right side of the page. | ||
#Place this <nowiki>[[File:Ireland Countryside.jpg]]</nowiki> image in your sandbox page and limit the width to 350 pixels and put a border around it. | |||
#Place this <nowiki>[[File:Ireland Rebuilding of Tuam Cathedral 1865.jpg]]</nowiki> in your sandbox and limit the width to 250 pixels and place the caption: "Tuam Cathedral" and center it. | |||
<br><br> | |||
[[File:Ireland Map.gif|300px|right]] | |||
<div style="clear:both"></div> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | |||
<nowiki>[[File:Ireland Map.gif|300px|right]]</nowiki></div> | |||
[[File:Ireland Countryside.jpg|350px|thumb]] | |||
<div style="clear:both"></div> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | |||
<nowiki>[[File:Ireland Countryside.jpg|350px|thumb]]</nowiki></div> | |||
[[File:Ireland Rebuilding of Tuam Cathedral 1865.jpg|250px|thumb|<center>Tuam Cathedral</center>]] | |||
<div style="clear:both"></div> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>[[File:Ireland Rebuilding of Tuam Cathedral 1865.jpg|250px|thumb|<center>Tuam Cathedral</center>]]</nowiki></div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*The default position of any image is on the right side of the page. | |||
:B. False | |||
*To place an image on the right side of the page, use |right. | |||
:A. True | |||
*You can place a caption on an image without the thumb code | |||
:B. False | |||
</div> | |||
[[FamilySearch Wikitext Images (cont.)|Back to Images (cont.)]] | |||
---- | |||
==Image Links== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*Place this <font color="red"><nowiki>[[File:Ireland Map.gif]]</nowiki></font color> image in your sandbox page and limit the width to 100 pixels and make it a link to a website that is about Ireland.<br><br> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>[[File:Ireland Map.gif|100px|link=http://wikitravel.org/en/Ireland|</nowiki>Wiktravel]]</div> | |||
*Place this <font color="red"><nowiki>[[File:Ireland Countryside.jpg]]</nowiki></font color> image in your sandbox page and limit the width to 100 pixels and make it a internal link to a favorite article in FamilySearch Wiki about Ireland. | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>[[File:Ireland Countryside.jpg|100px|</nowiki>link=Counties of Ireland|Irish Counties ]]</div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*The separator between the URL and the name of the website in an external image links is: | |||
::B. Pipe. | |||
*The separator between the page name and the name of the link in an internal image link is: | |||
::A. Pipe. | |||
*In external links, the "tooltip" only appears when you give your external links a name? | |||
::A. True. | |||
*In internal links, the "tooltip" appears with the name of the page if you do not give it a different name. | |||
::A. True. | |||
</div> | |||
[[FamilySearch Wikitext Image Links|Back to Image Links]] | |||
---- | |||
==Images and Text== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
[[File:Ireland Map.gif|200px|left]]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Proin ac finibus odio. Nulla efficitur lorem odio, vitae commodo lacus rhoncus in. Nullam imperdiet dui ligula. Nulla varius congue urna, egestas molestie turpis tincidunt vitae. | |||
<div style="clear:both"></div> | |||
Here is the coding: | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>[[File:Ireland Map.gif|200px|left]]</nowiki></div> | |||
---- | |||
[[File:Ireland Map.gif|200px|thumb]]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Proin ac finibus odio. Nulla efficitur lorem odio, vitae commodo lacus rhoncus in. Nullam imperdiet dui ligula. Nulla varius congue urna, egestas molestie turpis tincidunt vitae. | |||
<div style="clear:both"></div> | |||
Here is the coding: | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>[[File:Ireland Map.gif|200px|thumb]]</nowiki></div></div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*To float the text to the right of an image, you need to: | |||
::B. Place <font color="red"> |left</font color> in the image code. | |||
*To float the text to the left side of an image, you can only use <font color="red">|right</font color> coding | |||
::A. False. | |||
</div> | |||
[[FamilySearch Wikitext Images and Text|Back to Images and Text]] | |||
---- | |||
<font color="red"><nowiki> | ==Paragraphs== | ||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*Grab a paragraph from a page in the Wiki and paste it three times in your sandbox. Separate the paragraphs with two <font color="red"><nowiki><br></nowiki></font color> between each one. | |||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis. <br><br> | |||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis. <br><br> | |||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis. | |||
*Then with the same paragraph put <font color="red"><nowiki><p></nowiki></font color> and <font color="red"><nowiki></p></nowiki></font color> between each one. | |||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis. </p> | |||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis. </p> | |||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis. </p> | |||
*<i>Notice the spacing between the paragraphs is almost the same in both problems. However, the paragraph tag allows you to make changes to the paragraph whereas the <font color="red"><nowiki><br></nowiki></font color> will not and which we will cover in the next chapter</i>. | |||
</div> | </div> | ||
====Quick Quiz==== | ====Quick Quiz==== | ||
<div style="border:10px solid lightgray; padding:5px; ">*When you load paragraphs, using the enter button will automatically put spaces between them. | |||
::B. False | |||
*It is better to use <font color="red"><nowiki><br></nowiki></font color> than <font color="red"><nowiki><p></nowiki></font color> in separating paragraphs. | |||
::B. False | |||
*A <font color="red"><nowiki><p></nowiki></font color> does not require an ending tag for the paragraphs to separate like the <font color="red"><nowiki><br></nowiki></font color> | |||
::B. False | |||
</div> | |||
[[FamilySearch Wikitext Paragraphs|Back to Paragraph Page]] | |||
==Changing Fonts== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | <div style="border:10px solid lightgreen; padding:5px; "> | ||
<p style="font-family:papyrus; font-size:14pt; ">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.</p> | |||
:: | <div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><p style="font-family:papyrus; font-size:14pt; "></nowiki></div> | ||
:: | <p style="font-family:mistral; font-size:14pt; ">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.</p> | ||
* | <div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><p style="font-family:mistral; font-size:14pt; "></nowiki></div> | ||
:: | |||
* | </div> | ||
:: | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; "> | |||
*How many attributes can you put in the paragraph tag? | |||
::D. None of the above (It is unlimited) | |||
*What symbol do you use to separate a property from a value? | |||
::A. Colon | |||
</div> | </div> | ||
[[FamilySearch Wikitext | [[FamilySearch Wikitext Changing Fonts|Back to Changing Fonts]] | ||
---- | ---- | ||
==Font Size== | |||
====Exercises==== | ====Exercises==== | ||
<div style="border:10px solid | <div style="border:10px solid lightgreen; padding:5px; "> | ||
*Enlarge the lorem ipsum paragraph to 20pt. | |||
<p style="font-size:20pt">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.</p> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><p style="font-size:20pt"></nowiki></div><br> | |||
*Enlarge a header to 36pt. | |||
<h1 style="font-size:36pt; margin:0px; padding:0px">Header</h1> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><h1 style="font-size:36pt"></nowiki></div> | |||
</div> | </div> | ||
====Quick Quiz==== | ====Quick Quiz==== | ||
<div style="border:10px solid lightgray; padding:5px; ">*You cannot enlarge headers | |||
::B. False | |||
*You can add the "font-size" attribute between the = sign and the words of the header | |||
::B. False</div> | |||
[[FamilySearch Wikitext Sizing Fonts|Back to Sizing Fonts]] | |||
---- | |||
==Font Colors== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | <div style="border:10px solid lightgreen; padding:5px; "> | ||
* | *Change the lorem ipsum paragraph text to a color on this [http://www.w3schools.com/html/html_colornames.asp list]. | ||
:: | *Change the color of a header. | ||
* | |||
::False | <div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><p style="color:Cornflowerblue"></nowiki></div><br><br> | ||
* | |||
:: | <div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><p style="color:#5f9ea0"></nowiki></div><br><br> | ||
* | |||
::True | <div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><h1 style="color:red">Header</h1></nowiki></div> | ||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*You can use any name that is common to everyone for a color. | |||
::B. False | |||
*If the HEX number does not work in the code you may have: | |||
::c. All of the above | |||
*You have to use the header tags to color headers | |||
::A. True | |||
</div> | </div> | ||
[[FamilySearch Wikitext | [[FamilySearch Wikitext Font Colors|Back to Font Colors]] | ||
---- | ---- | ||
==Font Bold-Italics== | |||
====Exercises==== | ====Exercises==== | ||
<div style="border:10px solid lightgray; padding:5px; | <div style="border:10px solid lightgreen; padding:5px; "> | ||
*Make the second word of each sentence of the lorem ipsum bold. | |||
Lorem '''ipsum''' dolor sit amet, consectetur adipiscing elit. Donec '''sit''' amet iaculis metus. Pellentesque '''habitant''' morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce '''elementum''' efficitur faucibus. Curabitur '''eleifend''' quis ligula ac ullamcorper. Curabitur eget suscipit turpis. | |||
<p>Here is the coding</p> | |||
Lorem '''<nowiki>'''ipsum''' </nowiki>''' dolor sit amet, consectetur adipiscing elit. Donec '''<nowiki> '''sit'''</nowiki>''' amet iaculis metus. Pellentesque '''<nowiki>'''habitant'''</nowiki>''' morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce '''<nowiki>'''elementum'''</nowiki>''' efficitur faucibus. Curabitur '''<nowiki>'''eleifend''' </nowiki>'''quis ligula ac ullamcorper. Curabitur eget suscipit turpis. | |||
*Make the next to the last sentence of lorem ipsum italic. | |||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus.''Curabitur eleifend quis ligula ac ullamcorper''. Curabitur eget suscipit turpis. | |||
<p>Here is the coding</p> | |||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. '''<nowiki>''Curabitur eleifend quis ligula ac ullamcorper''</nowiki>'''. Curabitur eget suscipit turpis. | |||
*Make the last sentence both bold and italics. | |||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. '''''Curabitur eget suscipit turpis'''''. | |||
<p>Here is the coding</p> | |||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. '''<nowiki>''''Curabitur eget suscipit turpis'''''</nowiki>'''. | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*To make a sentence in bold text, you flank the sentence with two apostrophes | |||
::B. False | |||
*To make a word italicized, you flank the word with two quotation marks | |||
::B. False | |||
</div> | |||
[[FamilySearch Wikitext Font Bold-Italics|Back to Font Bold-Italics]] | |||
---- | |||
<font | ==Multi-attributes== | ||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | |||
<nowiki><p style="font-family:arial; font-size:12pt; color:red">Lorem ipsum ....</p></nowiki> | |||
</div> | |||
</div> | </div> | ||
====Quick Quiz==== | ====Quick Quiz==== | ||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*Attributes are separated with? | |||
::C. Semi-colon | |||
*How many attributes can you put in the paragraph tag? | |||
::D. None of the above | |||
*How would you make a word italicized along with the three attribute changes to the paragraph? | |||
::C. All of the above | |||
</div> | |||
[[FamilySearch Wikitext Multi-attributes|Back to Multi-attributes]] | |||
---- | |||
==Backgrounds== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | <div style="border:10px solid lightgreen; padding:5px; "> | ||
* | *What is the coding to change the color of the background of the lorem ipsum paragraph to green and the text to orange. | ||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><p style="background-color:green; color:orange">lorem ipsum ....</p></nowiki></font color></div><br> | |||
<p style="background-color:green; color:orange">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.</p><br> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><p style="background-color:red; color:gold">lorem ipsum ....</p></nowiki></font color></div><br> | |||
<p style="background-color:red; color:gold">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.</p> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
**How to make text invisible on a page without erasing it. | |||
::C. All of the above. | ::C. All of the above. | ||
</div> | </div> | ||
[[FamilySearch Wikitext | [[FamilySearch Wikitext Backgrounds|Back to Backgrounds]] | ||
---- | |||
==Padding== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
1. What is the coding to install our lorem ipsum paragraph in your sandbox with a background color of light green with white text and padding on the top and bottom of 20 pixels. | |||
<br> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><p style="background-color:lightgreen; color:white; padding-top:20px; padding-bottom:20px">Lorem ipsum .....</p></nowiki></font color></div><br> | |||
---- | ---- | ||
2. Load our lorem ipsum paragraph twice with no background color and no text color but with a <font color="red">padding-bottom</font color> of the first paragraph of 100px. What happens to the space between the paragraphs?<br> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><p style="padding-bottom:100px">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.</p> | |||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.</p></div><br> | |||
*It widens by over 100 pixels. | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*To have the text 20px from the left edge of the background what attribute do you use? | |||
::C. padding-left:20px | |||
*To have the background 50px from all side of the text, what attribute do you use? | |||
::C. None of the above</div> | |||
[[FamilySearch Wikitext Padding|Back to Padding]] | |||
==Div Tag - Introduction== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*Load our lorem ipsum paragraphs twice with the first one with a background color of cornsilk and the second one with a color crimson, both with a padding of 20 pixels, but using div tags instead of paragraph tags: | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><div style="background-color:moccasin; padding:20px; "></nowiki></div> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><div style="background-color:crimson; padding:20px; "></nowiki></div><br> | |||
<div style="background-color:moccasin; padding:20px; ">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.</div><br> | |||
<div style="background-color:crimson; padding:20px; ">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.</div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*The div tag and paragraph tag function the same way. | |||
::A. True | |||
*The attributes work the same way in the div tag as in the paragraph tag | |||
::A. True | |||
*Div tags put spaces between paragraphs | |||
::B. False</div> | |||
[[FamilySearch Wikitext Div Tag - Introduction|Back to Div Tag - Introduction]] | |||
==Margins== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
1. What is the coding to install our lorem ipsum paragraph in your sandbox with a background color of light green with white text and a margin on the bottom of 40 pixels. | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><div style="background-color:lightgreen; color:white; margin-bottom:40px">Lorem ipsum ....</div> </nowiki></font color></div><br> | |||
2. What is the coding to install our lorem Ipsum paragraph to you sandbox with a background color of light blue with white lext and a margin on the top of 20 pixels. | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><div style="background-color:lightblue; color:white; margin-top:20px">Lorem ipsum ....</div> </nowiki></font color></div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*Margin-top only affects top of paragraph | |||
::A. True | |||
*Margin-left moves the paragraph to the right of the left side of the page | |||
::A. True | |||
*Margin-right moves the paragraph to the right of the right side of the of the page | |||
::B. False | |||
</div> | |||
[[FamilySearch Wikitext Margins|Back to Margins]] | |||
==Borders== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*Using a div tag put a border around our lorem ipsum paragraph of a "groove" type that is 10 pixels thick with whatever color you like. | |||
<div style="border:10px groove lightgreen; ">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis. | |||
</div><br> | |||
*Here is the coding: | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><div style="border:10px groove lightgreen">Lorem ipsum ...</div> </nowiki></font color></div><br> | |||
*Using a div tag put a border around our lorem ipsum paragraph of a "ridge" type that is 15 pixels thick with whatever color you like: | |||
<div style="border:15px ridge lightblue; ">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis. | |||
</div><br> | |||
*Here is the coding: | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><div style="border:15px ridge lightgreen">Lorem ipsum ...</div> </nowiki></font color></div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*You can only put borders on all sides. | |||
::B. False | |||
*There is a default space between text and borders | |||
::B. False | |||
*Solid lines are all that is allowed in borders | |||
::B. False | |||
</div> | |||
[[FamilySearch Wikitext Borders|Back to Borders]] | |||
==Width and Height== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
In your sandbox put the lorem ipsum in a div tag container with a width of 200 pixels and a height of 400 pixels.<br> | |||
<div style="border:1px solid red; width:200px; height:400px; ">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.</div><br> | |||
Here is the coding: | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><div style="border:1px solid red; width:200px; height:400px; "></nowiki></font color>Lorem ipsum ....<font color="red"><nowiki></div> </nowiki></font color></div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; ">*You can't use both width and height in a div tag | |||
::B. False | |||
*You can't use both width and height in a paragraph tag | |||
::B. False | |||
*You can use percentages in height attributes | |||
::B. False</div> | |||
[[FamilySearch Wikitext Width and Height|Back to Width and Height]] | |||
==Alignment== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*Take this title: "I Love Wikitext" and put it on the center of the page.<br> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><div style="text-align:center">I Love Wikitext</nowiki></font color><font color="red"><nowiki></div></nowiki></font color></div><br> | |||
*Take this title: "I Love Wikitext" and put it on the right side of the page.<br> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><div style="text-align:right">I Love Wikitext</nowiki></font color><font color="red"><nowiki></div></nowiki></font color></div><br> | |||
*Take this title: "I Love Wikitext" and put it on the left of the page.<br> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki>No attributes need, the left side is the default position.</nowiki></font color></div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*Text-align only works in header tags | |||
::B. False | |||
*Text-align cannot put a title to the left because that is the default position. | |||
::B. False | |||
*Text-align will work in header, paragraph and div tags | |||
::A. True | |||
</div> | |||
[[FamilySearch Wikitext Alignment|Back to Alignment]] | |||
==Tables== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*Create a table with four rows and four cells in each row. | |||
**In the first column list four fruits. | |||
**In the second column, four vegetables. | |||
**In the third column, four nuts. | |||
**In the fourth colomn, four grains. | |||
**This table will be the basis for all future exercises on tables. (Be careful we are talking about columns not rows. This exercise will teach you how to arrange items in columns.)<br> | |||
Here is the table with its columns:<br> | |||
{| | |||
|- | |||
| Apples | |||
| Peas | |||
| Peanuts | |||
| Wheat | |||
|- | |||
| Pears | |||
| Carrots | |||
| Walnuts | |||
| Oats | |||
|- | |||
| Cherries | |||
| Corn | |||
| Cashews | |||
| Barley | |||
|- | |||
| Oranges | |||
| Beans | |||
| Almonds | |||
| Buckwheat | |||
|} | |||
Here is the coding:<br> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki>{|</nowiki></font color><br> | |||
<font color="red"><nowiki>|-</nowiki></font color><br> | |||
<font color="red"><nowiki>| Apples</nowiki></font color><br> | |||
<font color="red"><nowiki>| Peas</nowiki></font color><br> | |||
<font color="red"><nowiki>| Peanuts</nowiki></font color><br> | |||
<font color="red"><nowiki>| Wheat</nowiki></font color><br> | |||
<font color="red"><nowiki>|-</nowiki></font color><br> | |||
<font color="red"><nowiki>| Pears</nowiki></font color><br> | |||
<font color="red"><nowiki>| Carrots</nowiki></font color><br> | |||
<font color="red"><nowiki>| Walnuts</nowiki></font color><br> | |||
<font color="red"><nowiki>| Oats</nowiki></font color><br> | |||
<font color="red"><nowiki>|-</nowiki></font color><br> | |||
<font color="red"><nowiki>| Cherries</nowiki></font color><br> | |||
<font color="red"><nowiki>| Corn</nowiki></font color><br> | |||
<font color="red"><nowiki>| Cashews</nowiki></font color><br> | |||
<font color="red"><nowiki>| Barley</nowiki></font color><br> | |||
<font color="red"><nowiki>|-</nowiki></font color><br> | |||
<font color="red"><nowiki>| Oranges</nowiki></font color><br> | |||
<font color="red"><nowiki>| Beans</nowiki></font color><br> | |||
<font color="red"><nowiki>| Almonds</nowiki></font color><br> | |||
<font color="red"><nowiki>| Buckwheat</nowiki></font color><br> | |||
<font color="red"><nowiki>|}</nowiki></font color></div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*Tables do not need a closing tag | |||
::B. False | |||
*Rows must have a closing tag | |||
::b. False | |||
*Cells must have something in them for the table to be visible. | |||
::A. True | |||
</div> | |||
[[FamilySearch Wikitext Tables|Back to Tables]] | |||
==Tables - Borders== | |||
====Exercise==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*With your table from the previous exercise, put a 15 pixel "ridge" border with a border color of "cornsilk." | |||
{| style="border:15px ridge cornsilk" | |||
|- | |||
| Apples | |||
| Peas | |||
| Peanuts | |||
| Wheat | |||
|- | |||
| Pears | |||
| Carrots | |||
| Walnuts | |||
| Oats | |||
|- | |||
| Cherries | |||
| Corn | |||
| Cashews | |||
| Barley | |||
|- | |||
| Oranges | |||
| Beans | |||
| Almonds | |||
| Buckwheat | |||
|} | |||
<p>Here is the coding in the opening table tag:</p> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>{| </nowiki><font color="red"> style="border:15px ridge cornsilk"</font color></div><br> | |||
*Put a border for the whole table that is 15 pixels wide, "double" border with a border color of brown. | |||
{| style="border:15px double brown" | |||
|- | |||
| Apples | |||
| Peas | |||
| Peanuts | |||
| Wheat | |||
|- | |||
| Pears | |||
| Carrots | |||
| Walnuts | |||
| Oats | |||
|- | |||
| Cherries | |||
| Corn | |||
| Cashews | |||
| Barley | |||
|- | |||
| Oranges | |||
| Beans | |||
| Almonds | |||
| Buckwheat | |||
|} | |||
<p>Here is the coding:</p> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>{|</nowiki><font color="red"><nowiki> style="border:15px double brown"</nowiki></font color></div><br> | |||
*Put a blue border around the cells in the first column 1 pixel thick. | |||
*<font color="blue"><b>NOTICE</b></font color> no pipe after the attribute. | |||
{| style="border:15px double brown" | |||
|- | |||
| style="border:1px solid blue" | Apples | |||
| Peas | |||
| Peanuts | |||
| Wheat | |||
|- | |||
| style="border:1px solid blue" | Pears | |||
| Carrots | |||
| Walnuts | |||
| Oats | |||
|- | |||
| style="border:1px solid blue" | Cherries | |||
| Corn | |||
| Cashews | |||
| Barley | |||
|- | |||
| style="border:1px solid blue" | Oranges | |||
| Beans | |||
| Almonds | |||
| Buckwheat | |||
|} | |||
<p>Here is the coding:</p> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>{|</nowiki><font color="red"><nowiki> style="border:15px double brown"</nowiki></font color><br> | |||
<nowiki>|-</nowiki><br> | |||
| <font color="red"><nowiki>style="border:1px solid blue" | </nowiki></font color>Apples<br> | |||
<nowiki>| Peas</nowiki><br> | |||
<nowiki>| Peanuts</nowiki><br> | |||
<nowiki>| Wheat</nowiki><br> | |||
<nowiki>|-</nowiki><br> | |||
| <font color="red"><nowiki>style="border:1px solid blue" | </nowiki></font color>Pears<br> | |||
<nowiki>| Carrots</nowiki><br> | |||
<nowiki>| Walnuts</nowiki><br> | |||
<nowiki>| Oats</nowiki><br> | |||
<nowiki>|-</nowiki><br> | |||
| <font color="red"><nowiki>style="border:1px solid blue" | </nowiki></font color>Cherries<br> | |||
<nowiki>| Corn</nowiki><br> | |||
<nowiki>| Cashews</nowiki><br> | |||
<nowiki>| Barley</nowiki><br> | |||
<nowiki>|-</nowiki><br> | |||
| <font color="red"><nowiki>style="border:1px solid blue" | </nowiki></font color> Oranges<br> | |||
<nowiki>| Beans</nowiki><br> | |||
<nowiki>| Almonds</nowiki><br> | |||
<nowiki>| Buckwheat</nowiki><br> | |||
<nowiki>|}</nowiki></div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*Attributes must be separated with a pipe from the contents of the cell | |||
::A. True | |||
*You can put borders around rows | |||
::B. False | |||
*You can put borders on columns | |||
::A. True | |||
</div> | |||
[[FamilySearch Wikitext Tables - Borders|Back to Tables - Borders]] | |||
==Tables - Widths== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*With our above table place a green border, "inset" style and 25 pixels wide. | |||
*Make the table 90% in width. | |||
*Next place a 1 pixel green border around the cells in the first row. | |||
*Make the first column 35 percent width, the second 15%, the third 25% and let the last column determine its own width. | |||
{| style="border:25px inset green; width:90%" | |||
|- | |||
| style="border:1px solid green; width:35%" | Apples | |||
| style="border:1px solid green; width:15%" | Peas | |||
| style="border:1px solid green; width:25%" | Peanuts | |||
| style="border:1px solid green; " | Wheat | |||
|- | |||
| Pears | |||
| Carrots | |||
| Walnuts | |||
| Oats | |||
|- | |||
| Cherries | |||
| Corn | |||
| Cashews | |||
| Barley | |||
|- | |||
| Oranges | |||
| Beans | |||
| Almonds | |||
| Buckwheat | |||
|} | |||
*Here is the coding: | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>{| style="border:25px inset green; width:90%"</nowiki><br> | |||
<nowiki>|-</nowiki><br> | |||
<nowiki>| style="border:1px solid green; width:35%" | Apples</nowiki><br> | |||
<nowiki>| style="border:1px solid green; width:15%" | Peas</nowiki><br> | |||
<nowiki>| style="border:1px solid green; width:25%" | Peanuts</nowiki><br> | |||
<nowiki>| style="border:1px solid green; " | Wheat</nowiki><br> | |||
<nowiki>|-</nowiki><br> | |||
<nowiki>| Pears</nowiki><br> | |||
<nowiki>| Carrots</nowiki><br> | |||
<nowiki>| Walnuts</nowiki><br> | |||
<nowiki>| Oats</nowiki><br> | |||
<nowiki>|-</nowiki><br> | |||
<nowiki>| Cherries</nowiki><br> | |||
<nowiki>| Corn</nowiki><br> | |||
<nowiki>| Cashews</nowiki><br> | |||
<nowiki>| Barley</nowiki><br> | |||
<nowiki>|-</nowiki><br> | |||
<nowiki>| Oranges</nowiki><br> | |||
<nowiki>| Beans</nowiki><br> | |||
<nowiki>| Almonds</nowiki><br> | |||
<nowiki>| Buckwheat</nowiki><br> | |||
<nowiki>|}</nowiki></div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*Putting the width in the first cell of a row determines the width of the first column in the table | |||
::A. True | |||
*The width of a table will be determined by the material in the cells, if you do not set the widths | |||
::A. True | |||
*You can set the width of a table in percentages only | |||
::B. False</div> | |||
[[FamilySearch Wikitext Tables - Widths|Back to Tables - Widths]] | |||
==Tables - Captions== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*With our above table place a orange border, "outset" style and 25 pixels thick. | |||
*Make the table 85% in width. | |||
*Next place a orange border around the cells in the first column. | |||
*Make the columns the same width. | |||
*Install our Healthy Foods caption; | |||
**Font - Curlz MT | |||
**Font - 28pt | |||
**Center caption | |||
**20 pixel space between caption and top of table | |||
Here is what it should look like: | |||
{| style="border:25px outset orange; width:85%; " | |||
|+ style="font-size:28pt; text-align:center; margin-bottom:20px; font-family:Curlz MT" | Healthy Foods | |||
|- | |||
| style="border:1px solid orange; width:25%; "| Apples | |||
| style="width:25%; "| Peas | |||
| style="width:25%; "| Peanuts | |||
| style="width:25%; "| Wheat | |||
|- | |||
| style="border:1px solid orange; width:25%; "| Pears | |||
| Carrots | |||
| Walnuts | |||
| Oats | |||
|- | |||
| style="border:1px solid orange; width:25%; "| Cherries | |||
| Corn | |||
| Cashews | |||
| Barley | |||
|- | |||
| style="border:1px solid orange; width:25%; "| Orange | |||
| Beans | |||
| Almonds | |||
| Buckwheat | |||
|} | |||
*Here is the coding: | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>{| style="border:25px outset orange; width:85%"</nowiki><br> | |||
<nowiki>|+ style="font-size:28pt; text-align:center; margin-bottom:20px; font-family:Curlz MT" | Healthy Foods</nowiki><br> | |||
<nowiki>|-</nowiki><br> | |||
<nowiki>| style="border:1px solid orange; width:25%" | Apples</nowiki><br> | |||
<nowiki>| style="width:25%; "|Peas</nowiki><br> | |||
<nowiki>| style="width:25%; "|Peanuts</nowiki><br> | |||
<nowiki>| style="width:25%; "|Wheat</nowiki><br> | |||
<nowiki>|-</nowiki><br> | |||
<nowiki>| style="border:1px solid orange" | Pears</nowiki><br> | |||
<nowiki>| Carrots</nowiki><br> | |||
<nowiki>| Walnuts</nowiki><br> | |||
<nowiki>| Oats</nowiki><br> | |||
<nowiki>|-</nowiki><br> | |||
<nowiki>| style="border:1px solid orange" | Cherries</nowiki><br> | |||
<nowiki>| Corn</nowiki><br> | |||
<nowiki>| Cashews</nowiki><br> | |||
<nowiki>| Barley</nowiki><br> | |||
<nowiki>|-</nowiki><br> | |||
<nowiki>| style="border:1px solid orange" | Oranges</nowiki><br> | |||
<nowiki>| Beans</nowiki><br> | |||
<nowiki>| Almonds</nowiki><br> | |||
<nowiki>| Buckwheat</nowiki><br> | |||
<nowiki>|}</nowiki></div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*The order of attributes is critical. | |||
::B. False | |||
*The caption can only be on the left side of the page | |||
::B. False | |||
*Only margin-bottom of the caption will cause a separation between the caption and the table | |||
::B. False</div> | |||
[[FamilySearch Wikitext Tables - Captions|Back to Tables - Captions]] | |||
==Tables - Column headings== | |||
====Exercise==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*With our above table place a yellow border, "dashed" style and 10 pixels thick. | |||
*Make the table 500 pixels wide. | |||
*Next place a blue border around the headers. | |||
*Install our Healthy Foods caption with any font; | |||
*Install the headers for each of the columns. | |||
*Install a lightblue background color for the headers. | |||
Should look like this:<br><br> | |||
{| style="border:10px dashed yellow; width:500px; " | |||
|+ style="font-size:24pt; text-align:center; margin-bottom:15px; font-family:new times roman" | Healthy Foods | |||
|- | |||
! style="border:1px solid blue; text-align:center; width:25%; background-color:lightblue; " |Fruits | |||
! style="border:1px solid blue; text-align:center; width:25%; background-color:lightblue; " |Vegetable | |||
! style="border:1px solid blue; text-align:center; width:25%; background-color:lightblue; " |Nuts | |||
! style="border:1px solid blue; text-align:center; width:25%; background-color:lightblue; " |Grains | |||
|- | |||
| Apples | |||
| Peas | |||
| Peanuts | |||
| Wheat | |||
|- | |||
| Pears | |||
| Carrots | |||
| Walnuts | |||
| Oats | |||
|- | |||
| Cherries | |||
| Corn | |||
| Cashews | |||
| Barley | |||
|- | |||
| Oranges | |||
| Beans | |||
| Almonds | |||
| Buckwheat | |||
|} | |||
*Here is the coding:<br><br> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | |||
<nowiki>{| style="border:10px dashed orange; width:500px"</nowiki><br> | |||
<nowiki>|+ style="font-size:28pt; text-align:center; margin-bottom:20px; font-family:times new roman" | Healthy Foods</nowiki><br> | |||
<nowiki>|-</nowiki><br> | |||
<nowiki>! style="border:1px solid blue; text-align:center; width:25%; background-color:lightblue; " |Fruits</nowiki><br> | |||
<nowiki>! style="border:1px solid blue; text-align:center; width:25%; background-color:lightblue; " |Vegetable</nowiki><br> | |||
<nowiki>! style="border:1px solid blue; text-align:center; width:25%; background-color:lightblue; " |Nuts</nowiki><br> | |||
<nowiki>! style="border:1px solid blue; text-align:center; width:25%; background-color:lightblue; " |Grains</nowiki><br> | |||
<nowiki>|-</nowiki><br> | |||
<nowiki>| Apples</nowiki><br> | |||
<nowiki>| Peas</nowiki><br> | |||
<nowiki>| Peanuts</nowiki><br> | |||
<nowiki>| Wheat</nowiki><br> | |||
<nowiki>|-</nowiki><br> | |||
<nowiki>| Pears</nowiki><br> | |||
<nowiki>| Carrots</nowiki><br> | |||
<nowiki>| Walnuts</nowiki><br> | |||
<nowiki>| Oats</nowiki><br> | |||
<nowiki>|-</nowiki><br> | |||
<nowiki>| Cherries</nowiki><br> | |||
<nowiki>| Corn</nowiki><br> | |||
<nowiki>| Cashews</nowiki><br> | |||
<nowiki>| Barley</nowiki><br> | |||
<nowiki>|-</nowiki><br> | |||
<nowiki>| Oranges</nowiki><br> | |||
<nowiki>| Beans</nowiki><br> | |||
<nowiki>| Almonds</nowiki><br> | |||
<nowiki>| Buckwheat</nowiki><br> | |||
<nowiki>|}</nowiki></div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*The headers are always centered on the column. | |||
::B. False | |||
*You have to use the text-align to put the header on the left side | |||
::B. False | |||
*Headers are always in bold type. | |||
::A. True | |||
</div> | |||
[[FamilySearch Wikitext Tables - Column headings|Back to Tables - Column headings]] | |||
==Tables - Cells== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*With our above table place a black border, "dotted" style and 5 pixels thick. | |||
*Make the table 600 pixels wide. | |||
*Next place a blue border around all the cells. | |||
*Place 5 pixels of padding in the header row of cells | |||
*Separate all the cells with 5 pixels. | |||
*Place a lightblue background on the column headers. | |||
{| style="border:5px dotted black; width:600px; border-spacing:5px " | |||
|- | |||
! style="border:1px solid blue; text-align:center; padding:5px; background-color:lightblue; " | Fruits | |||
! style="border:1px solid blue; text-align:center; padding:5px; background-color:lightblue; " | Vegetable | |||
! style="border:1px solid blue; text-align:center; padding:5px; background-color:lightblue; " | Nuts | |||
! style="border:1px solid blue; text-align:center; padding:5px; background-color:lightblue; " | Grains | |||
|- | |||
| style="border:1px solid blue; "|Apples | |||
| style="border:1px solid blue; "|Peas | |||
| style="border:1px solid blue; "|Peanuts | |||
| style="border:1px solid blue; "|Wheat | |||
|-<br> | |||
| style="border:1px solid blue; "|Pears | |||
| style="border:1px solid blue; "|Carrots | |||
| style="border:1px solid blue; "|Walnuts | |||
| style="border:1px solid blue; "|Oats | |||
|- | |||
| style="border:1px solid blue; "|Cherries | |||
| style="border:1px solid blue; "|Corn | |||
| style="border:1px solid blue; "|Cashews | |||
| style="border:1px solid blue; "|Barley | |||
|- | |||
| style="border:1px solid blue; "|Orange | |||
| style="border:1px solid blue; "|Beans | |||
| style="border:1px solid blue; "|Almonds | |||
| style="border:1px solid blue; "|Buckwheat | |||
|} | |||
<p>Here is the coding</p> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>{| style="</nowiki><font color="red">border:5px dotted black; width:600px; border-spacing:5px</font color> "<br> | |||
|-<br> | |||
! style="border:1px solid blue; text-align:center; <font color="red">padding:5px; background-color:lightblue</font color>; " | Fruits<br> | |||
! style="border:1px solid blue; text-align:center; <font color="red">padding:5px; background-color:lightblue</font color>; " | Vegetable<br> | |||
! style="border:1px solid blue; text-align:center; <font color="red">padding:5px; background-color:lightblue</font color>; " | Nuts<br> | |||
! style="border:1px solid blue; text-align:center; <font color="red">padding:5px; background-color:lightblue</font color>; " | Grains<br> | |||
|- <br> | |||
| style="border:1px solid blue; "|Apples<br> | |||
| style="border:1px solid blue; "|Peas<br> | |||
| style="border:1px solid blue; "|Peanuts<br> | |||
| style="border:1px solid blue; "|Wheat<br> | |||
|-<br> | |||
| style="border:1px solid blue; "|Pears<br> | |||
| style="border:1px solid blue; "|Carrots<br> | |||
| style="border:1px solid blue; "|Walnuts<br> | |||
| style="border:1px solid blue; "|Oats<br> | |||
|-<br> | |||
| style="border:1px solid blue; "|Cherries<br> | |||
| style="border:1px solid blue; "|Corn<br> | |||
| style="border:1px solid blue; "|Cashews<br> | |||
| style="border:1px solid blue; "|Barley<br> | |||
|-<br> | |||
| style="border:1px solid blue; "|Orange<br> | |||
| style="border:1px solid blue; "|Beans<br> | |||
| style="border:1px solid blue; "|Almonds<br> | |||
| style="border:1px solid blue; "|Buckwheat<br> | |||
|}</div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*Only the border-collaspe attribute is required to separate cell borders. | |||
::B. False | |||
*Padding attribute only pads on the left side of the text | |||
::B. False | |||
*The header font cannot be changed | |||
::B. False | |||
</div> | |||
[[FamilySearch Wikitext Tables - Cells|Back to Tables - Rows]] | |||
==Tables - Rows== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*With our above table place a yellow border, "groove" style and 10 pixels thick. | |||
*Make the table 700 pixels wide. | |||
*Next place a blue border around the headers. | |||
*Give the header cells a light blue background. | |||
*Change the color of the font to white. | |||
{| style="border:10px groove yellow; width:700px; " | |||
|- | |||
! style="border:1px solid blue; background-color:lightblue; color:white; " | Fruits | |||
! style="border:1px solid blue; background-color:lightblue; color:white; " |Vegetable | |||
! style="border:1px solid blue; background-color:lightblue; color:white; " |Nuts | |||
! style="border:1px solid blue; background-color:lightblue; color:white; " |Grains | |||
|- | |||
| Apples | |||
| Peas | |||
| Peanuts | |||
| Wheat | |||
|- | |||
| Pears | |||
| Carrots | |||
| Walnuts | |||
| Oats | |||
|- | |||
| Cherries | |||
| Corn | |||
| Cashews | |||
| Barley | |||
|- | |||
| Orange | |||
| Beans | |||
| Almonds | |||
| Buckwheat | |||
|} | |||
*<font color="blue"><b>NOTICE</b></font color> the left edge of the table went beyond the edge of the field. The field is only 640 pixels wide so if you go over that you will intrude on the right side of the field. | |||
Here's the coding: | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>{| style="</nowiki><font color="red">border:10px groove yellow; width:700px</font color>; "<br> | |||
|- <br> | |||
! style="<font color="red">border:1px solid blue; background-color:lightblue; color:white</font color>; " | Fruits<br> | |||
! style="<font color="red">border:1px solid blue; background-color:lightblue; color:white</font color>; " |Vegetable<br> | |||
! style="<font color="red">border:1px solid blue; background-color:lightblue; color:white</font color>; " |Nuts<br> | |||
! style="<font color="red">border:1px solid blue; background-color:lightblue; color:white</font color>; " |Grains<br> | |||
|-<br> | |||
| Apples<br> | |||
| Peas<br> | |||
| Peanuts<br> | |||
| Wheat<br> | |||
|-<br> | |||
| Pears<br> | |||
| Carrots<br> | |||
| Walnuts<br> | |||
| Oats<br> | |||
|-<br> | |||
| Cherries<br> | |||
| Corn<br> | |||
| Cashews<br> | |||
| Barley<br> | |||
|-<br> | |||
| Orange<br> | |||
| Beans<br> | |||
| Almonds<br> | |||
| Buckwheat<br> | |||
|}</div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*To make all the cells in column the same you need only put the code in the top cell | |||
::B. False | |||
*Background color cannot be placed in cells through coding in row | |||
::B. False | |||
*You can change the font-family in the rows | |||
::A. True | |||
</div> | |||
[[FamilySearch Wikitext Tables - Rows|Back to Tables - Rows]] | |||
==Tables - Placement== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*Place our demonstration table on the right side of the page. | |||
*Place our lorem ipsum paragraph under the table. | |||
*Place a 10 pixel space between the table and the text. | |||
{| style="border:1px solid red; width:50%; float:right; margin-left:10px; " | |||
|- | |||
! Fruits | |||
! Vegetable | |||
! Nuts | |||
! Grains | |||
|- | |||
| Apples | |||
| Peas | |||
| Peanuts | |||
| Wheat | |||
|- | |||
| Pears | |||
| Carrots | |||
| Walnuts | |||
| Oats | |||
|- | |||
| Cherries | |||
| Corn | |||
| Cashews | |||
| Barley | |||
|- | |||
| Orange | |||
| Beans | |||
| Almonds | |||
| Buckwheat | |||
|} | |||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.<br><br> | |||
Here is the coding in the beginning table tag: | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>{| style="border:1px solid red; width:50%;</nowiki><font color="red"> float:right; margin-left:10px</font color>"</div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*Text will always float up to the right side of a table when placing a table on the page. | |||
::B. False | |||
*Text will float when you place a table on the right side of a page. | |||
::A. True | |||
*You cannot place a table in the middle of the page. | |||
::B. False | |||
</div> | |||
[[FamilySearch Wikitext Tables - Placement|Back to Tables - Placement]] | |||
==Tables - Sorting== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*Take our Heathy Foods table and add another row. | |||
*Now make the table sortable.<br> | |||
{| class="sortable" style="border:1px solid red; width:100%" | |||
|- | |||
! Fruits | |||
! Vegetable | |||
! Nuts | |||
! Grains | |||
|- | |||
| Apples | |||
| Peas | |||
| Peanuts | |||
| Wheat | |||
|- | |||
| Pears | |||
| Carrots | |||
| Walnuts | |||
| Oats | |||
|- | |||
| Cherries | |||
| Corn | |||
| Cashews | |||
| Barley | |||
|- | |||
| Orange | |||
| Beans | |||
| Almonds | |||
| Buckwheat | |||
|- | |||
| Apricots | |||
| Broccoli | |||
| Brazil Nuts | |||
| Soy Beans | |||
|} | |||
Here is the coding: | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>{| </nowiki><font color="red">class="sortable" </font color>style="border:1px solid red; width:100% "<br> | |||
|- <br> | |||
! Fruits<br> | |||
! Vegetable<br> | |||
! Nuts<br> | |||
! Grains<br> | |||
|-<br> | |||
| Apples<br> | |||
| Peas<br> | |||
| Peanuts <br> | |||
| Wheat<br> | |||
|-<br> | |||
| Pears<br> | |||
| Carrots<br> | |||
| Walnuts<br> | |||
| Oats<br> | |||
|-<br> | |||
| Cherries<br> | |||
| Corn<br> | |||
| Cashews<br> | |||
| Barley<br> | |||
|-<br> | |||
| Orange<br> | |||
| Beans<br> | |||
| Almonds<br> | |||
| Buckwheat<br> | |||
<font color="red"> | |||
|-<br> | |||
| Apricots <br> | |||
| Broccoli<br> | |||
| Brazil Nuts<br> | |||
| Soy Beans<br></font color> | |||
<nowiki> | |||
|}</nowiki></div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*When you click the sorting icon, the sorting is permanent. | |||
::B. False | |||
*When you add items to a table, you need to insert the item in the table where it is supposed to go if you want your table in alphabetical order even with the sorting class applied. | |||
::B. False | |||
*Sorting will revert back to the original order if you leave the page the table is on. | |||
::A. True | |||
</div> | |||
[[FamilySearch Wikitext Tables - Sorting|Back to Tables - Sorting]] | |||
==Tables - Scrolling== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*Take our demonstration table and make it 900 pixels wide and tall. | |||
*Then make the table scrollable both horizontally and vertically with a finish width and height of 400 pixels.<br> | |||
Here is the final product:<br><br> | |||
<div style="overflow:scroll; width:400px; height:400px; "> | |||
{| style="border:1px solid red; width:900px; height:900px; " | |||
|- | |||
! Fruits | |||
! Vegetable | |||
! Nuts | |||
! Grains | |||
|- | |||
| Apples | |||
| Peas | |||
| Peanuts | |||
| Wheat | |||
|- | |||
| Pears | |||
| Carrots | |||
| Walnuts | |||
| Oats | |||
|- | |||
| Cherries | |||
| Corn | |||
| Cashews | |||
| Barley | |||
|- | |||
| Orange | |||
| Beans | |||
| Almonds | |||
| Buckwheat | |||
|} | |||
</div><br> | |||
<p>Here is the coding:</p> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><div style="overflow:scroll; width:400px; height:400px; "></nowiki></font color><br> | |||
<nowiki>{| style="border:1px solid red; width:900px; height:900px; "</nowiki><br> | |||
|- <br> | |||
! Fruits<br> | |||
.<br> | |||
.<br> | |||
.<br> | |||
.<br> | |||
|}<br> | |||
<font color="red"><nowiki></div></nowiki></font color></div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*When creating the horizontal scroll bar, you do not have to set the width. | |||
::B. False | |||
*Vertically scroll bars are only useful for very tall tables. | |||
::A. True | |||
*You cannot have horizontal and vertical scroll bars at the same time. | |||
::B. False | |||
</div> | |||
[[FamilySearch Wikitext Tables - Scrolling|Back to Tables - Scrolling]] | |||
==Tables - Columns Only== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px;"> | |||
{| | |||
|- | |||
| style="width:20%; background-color:lightblue; padding:5px; border-right:1px solid black; "| | |||
Adair <br> | |||
Andrew <br> | |||
Atchison <br> | |||
Audrain | |||
| style="width:20%; background-color:lightgray; padding:5px; border-right:1px solid black; "| | |||
Barry <br> | |||
Barton <br> | |||
Bates <br> | |||
Benton | |||
| style="width:20%; background-color:lightblue; padding:5px; border-right:1px solid black; "| | |||
Bollinger <br> | |||
Boone <br> | |||
Buchanan <br> | |||
Butler | |||
| style="width:20%; background-color:lightgray; padding:5px; border-right:1px solid black; "| | |||
Caldwell <br> | |||
Callaway <br> | |||
Camden <br> | |||
Cape Girardeau | |||
| style="width:20%; background-color:lightblue; padding:5px; "| | |||
Carroll <br> | |||
Carter <br> | |||
Cass <br> | |||
Cedar | |||
|} | |||
*Here is the coding: | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>{|</nowiki><br> | |||
|-<br> | |||
| style="width:20%; background-color:lightblue; padding:5px; border-right:1px solid black; "|<br> | |||
Adair <nowiki><br></nowiki><br> | |||
Andrew <nowiki><br></nowiki><br> | |||
Atchison <nowiki><br></nowiki><br> | |||
Audrain <br> | |||
| style="width:20%; background-color:lightgray; padding:5px; border-right:1px solid black; "|<br> | |||
Barry <nowiki><br></nowiki><br> | |||
Barton <nowiki><br></nowiki><br> | |||
Bates <nowiki><br></nowiki><br> | |||
Benton <br> | |||
| style="width:20%; background-color:lightblue; padding:5px; border-right:1px solid black; "|<br> | |||
Bollinger <nowiki><br></nowiki><br> | |||
Boone <nowiki><br></nowiki><br> | |||
Buchanan <nowiki><br></nowiki><br> | |||
Butler <br> | |||
| style="width:20%; background-color:lightgray; padding:5px; border-right:1px solid black; "|<br> | |||
Caldwell <nowiki><br></nowiki><br> | |||
Callaway <nowiki><br></nowiki><br> | |||
Camden <nowiki><br></nowiki><br> | |||
Cape Girardeau <br> | |||
| style="width:20%; background-color:lightblue; padding:5px; "|<br> | |||
Carroll <nowiki><br></nowiki><br> | |||
Carter <nowiki><br></nowiki><br> | |||
Cass <nowiki><br></nowiki><br> | |||
Cedar <br> | |||
<nowiki>|}</nowiki></div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*To have a list of items in six columns you need to create a table with one row and six cells. | |||
::B. True | |||
*A one row table looks better if the columns are of equal length. | |||
::A. True | |||
*To make the items on separate lines, you use <nowiki><p></nowiki> tags only. | |||
::B. False</div> | |||
[[FamilySearch Wikitext Tables - Columns Only|Back to Tables - Columns Only]] | |||
==Breadcrumb Trails== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*Take these three pages in FamilySearch Wiki and link them together with a breadcrumb trail: | |||
**United States | |||
**California | |||
**Contra Costa County | |||
*Use a > as the pointer to the next page. | |||
<p>Here is the coding:</p> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki> | |||
[[United States Genealogy]] > [[California Genealogy]] > [[Contra Costa County, California Genealogy]]</nowiki></font color></div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*Breadcrumb trails are usually placed at the bottom of the page. | |||
::B. False | |||
*Breadcrumb trails are external links placed in order of size. | |||
::B. False | |||
*Breadcrumb trails are not to be used to go back to preceding pages that you came from. | |||
::B. False | |||
</div> | |||
[[FamilySearch Wikitext Breadcrumb Trails|Back to Breadcrumb Trails]] | |||
==References/Footnotes== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*Take our Lorem ipsum paragraph and place three made up references on it:<br>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis. | |||
*Place the references at the bottom of this paragraph. | |||
<div style="border:1px solid red"> | |||
Lorem ipsum dolor sit amet<ref>This reference one</ref>, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi<ref>This is reference two</ref> tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget<ref>This is reference three</ref> suscipit turpis. | |||
{{reflist}}</div> | |||
Here is the coding: | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | |||
Lorem ipsum dolor sit amet<font color="red"><nowiki><ref>This reference one</ref></nowiki></font color>, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi<font color="red"><nowiki><ref>This is reference two</ref></nowiki></font color> tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget<font color="red"><nowiki><ref>This is reference three</ref></nowiki></font color> suscipit turpis. | |||
{{reflist}}</div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*References can only so long. | |||
::B. False | |||
*References will only show up at the bottom of the page. | |||
::B. False | |||
*References are only for book and page numbers | |||
::B. False | |||
</div> | |||
[[FamilySearch Wikitext References/Footnotes|Back to References/Footnotes]] | |||
==SEO== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
Your SEO is probably as good as what anyone else can come up with. But here is an example of one for the state of Missouri:<br> | |||
<div style="border:1px solid red">Guide to '''Missouri ancestry, genealogy and family history''' birth records, marriage records, death records, census records, family history, and military records.</div> </div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*SEO's can be as long as you want. | |||
::B. False | |||
*SEO's can be anywhere on a page. | |||
::B. False | |||
*SEO's are not looked at by your browser. | |||
::B. False | |||
</div> | |||
[[FamilySearch Wikitext SEO|Back to SEO]] | |||
==Templates== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*How do you save a template? | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New">template:Lorem ipsum</div><br> | |||
*How do you embed a template? | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>{{Lorem ipsum}}</nowiki></div><br> | |||
*How do you embed a template that you might want to edit someday? | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New">{{subst:Lorem ipsum}}</div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*Templates are easy to change. | |||
::A. True | |||
*Change the template and wherever it is embedded is changed as well. | |||
::A. True | |||
*There is no way to change a template without changing it wherever it is embedded. | |||
::B. False | |||
</div> | |||
[[FamilySearch Wikitext Templates|Back to Templates]] | |||
==Tables - Column Spans== | |||
====Exercises==== | |||
*Merge all the cells in the second row. | |||
*Merge the first three cells in the fourth row. | |||
<div style="border:10px solid lightgreen; padding:5px"> | |||
{| style="border:1px solid red; width:100%" | |||
|- | |||
! style="border:1px solid red; width:25%" | Fruits | |||
! style="border:1px solid red; width:25%" | Vegetable | |||
! style="border:1px solid red; width:25%" | Nuts | |||
! style="border:1px solid red; width:25%" | Grains | |||
|- | |||
| colspan="4" style="border:1px solid red; background-color:wheat" | Apples | |||
|- | |||
| style="border:1px solid red" | Pears | |||
| style="border:1px solid red" | Carrots | |||
| style="border:1px solid red" | Walnuts | |||
| style="border:1px solid red" | Oats | |||
|- | |||
| style="border:1px solid red" | Cherries | |||
| style="border:1px solid red" | Corn | |||
| style="border:1px solid red" | Cashews | |||
| style="border:1px solid red" | Barley | |||
|- | |||
| colspan="3" style="border:1px solid red; background-color:wheat" | Orange | |||
| style="border:1px solid red" | Beans | |||
|} | |||
<p>Here is the coding</p> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | |||
<nowiki>{| style="border:1px solid red; width:100%" </nowiki><br> | |||
|- <br> | |||
! style="border:1px solid red; width:25%" | Fruits<br> | |||
! style="border:1px solid red; width:25%" | Vegetable<br> | |||
! style="border:1px solid red; width:25%" | Nuts<br> | |||
! style="border:1px solid red; width:25%" | Grains<br> | |||
|-<br> | |||
<font color="red"><nowiki>| colspan="4" style="border:1px solid red" | Apples</nowiki></font color><br> | |||
|-<br> | |||
| style="border:1px solid red" | Pears<br> | |||
| style="border:1px solid red" | Carrots<br> | |||
| style="border:1px solid red" | Walnuts<br> | |||
| style="border:1px solid red" | Oats<br> | |||
|-<br> | |||
| style="border:1px solid red" | Cherries<br> | |||
| style="border:1px solid red" | Corn<br> | |||
| style="border:1px solid red" | Cashews<br> | |||
| style="border:1px solid red" | Barley<br> | |||
|-<br> | |||
<font color="red">| colspan="3" style="border:1px solid red" | Orange</font color><br> | |||
| style="border:1px solid red" | Beans<br> | |||
|} | |||
</div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*Colspans must equal the number of cells in the next row. | |||
::A. True | |||
*If you have a row with four cells you can have in the preceding row one cell with a colspan="3" plus the remaining cell. | |||
::A. True | |||
*If you have a row of seven cells you can have in the preceding row one cell with a colspan="2", the next cell with a colspan="3" and the remaining cell with a colspan="2". | |||
::A. True | |||
</div> | |||
[[FamilySearch Wikitext Tables - Column Spans|Back to Tables - Column Spans]] | |||
==Tables - Row Spans== | |||
====Exercises==== | ====Exercises==== | ||
<div style="border:10px solid lightgray; padding:5px; | <div style="border:10px solid lightgreen; padding:5px; "> | ||
*Merge the cells with Barley and Buckwheat in them. | |||
*Merge the cells with Peas, Carrots and Corn in them. | |||
<p>Here is what the table should look like:</p> | |||
{| style="border:1px solid red; width:100%; " | |||
|+ style="font-size:14pt; text-align:center; " | Healthy Foods | |||
|- | |||
! style="width:25%; text-align:center; border:1px solid red; " | Fruits | |||
! style="width:25%; text-align:center; border:1px solid red; " | Vegetable | |||
! style="width:25%; text-align:center; border:1px solid red; " | Nuts | |||
! style="width:25%; text-align:center; border:1px solid red; " | Grains | |||
|- | |||
| style="width:25%; border:1px solid red; " | Apples | |||
| rowspan="3" style="border:1px solid red; background-color:wheat" | Peas | |||
| style="width:25%; border:1px solid red; " | Peanuts | |||
| style="width:25%; border:1px solid red; " | Wheat | |||
|- | |||
| style="width:25%; border:1px solid red; " | Pears | |||
| style="width:25%; border:1px solid red; " | Walnuts | |||
| style="width:25%; border:1px solid red; " | Oats | |||
|- | |||
| style="width:25%; border:1px solid red; " | Cherries | |||
| style="width:25%; border:1px solid red; " | Cashews | |||
| rowspan="2" style="width:25%; border:1px solid red; background-color:wheat " | Barley | |||
|- | |||
| style="width:25%; border:1px solid red; " | Orange | |||
| style="border:1px solid red" | Beans | |||
| style="width:25%; border:1px solid red; " | Almonds | |||
|} | |||
<p>Here is the coding:</p> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | |||
<nowiki>{| style="border:1px solid red; width:100%" </nowiki><br> | |||
|+ style="font-size:14pt; text-align:center" | Healthy Foods<br> | |||
|- <br> | |||
! style="border:1px solid red; text-align:center; width:25%" | Fruits<br> | |||
! style="border:1px solid red; text-align:center; width:25%" | Vegetable<br> | |||
! style="border:1px solid red; text-align:center; width:25%" | Nuts<br> | |||
! style="border:1px solid red; text-align:center; width:25%" | Grains<br> | |||
|-<br> | |||
| style="border:1px solid red" | Apples<br> | |||
| <font color="red">rowspan="3" </font color>style="border:1px solid red" | Peas<br> | |||
| style="border:1px solid red" | Peanuts<br> | |||
| style="border:1px solid red" | Wheat<br> | |||
|-<br> | |||
| style="border:1px solid red" | Pears<br> | |||
| style="border:1px solid red" | Walnuts<br> | |||
| style="border:1px solid red" | Oats<br> | |||
|-<br> | |||
| style="border:1px solid red" | Cherries<br> | |||
| style="border:1px solid red" | Cashews<br> | |||
| <font color="red">rowspan="2"</font color> style="border:1px solid red" | Barley<br> | |||
|-<br> | |||
| style="border:1px solid red" | Orange<br> | |||
| style="border:1px solid red" | Beans<br> | |||
| style="border:1px solid red" | Almonds<br> | |||
|} | |||
</div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*If you are going to merge three cells in a column, you must delete the number of cells in the column under the cell to be marged to equal the number call for in the rowspan code minus one. | |||
::A. True | |||
*If you want to merge two cells that are under each other in a column, you delete the cell next it in the row. | |||
::B. False | |||
</div> | |||
[[FamilySearch Wikitext Tables - Row Spans|Back to Table - Row Spans]] | |||
==Infobox - Creating== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*Add a border around the infobox, limit the width to 190 pixels and place it on the right side of the page. | |||
*Add borders around each of the cells. | |||
*Have the cells containing the words organization and image span both columns. | |||
*Center the name of the organization and the image in their cells. | |||
*Make the items in the right hand cells into parameters. | |||
<p>Your coding should look like this:</p> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>{| style="border:1px solid black; width:190px; float:right"</nowiki><br> | |||
|-<br> | |||
| colspan="2" style="border:1px solid black; text-align:center" | organization<br> | |||
|-<br> | |||
| colspan="2" style="border:1px solid black; text-align:center" | image<br> | |||
|-<br> | |||
| style="border:1px solid black" | President:<br> | |||
| style="border:1px solid black" | {{{president}}}<br> | |||
|-<br> | |||
| style="border:1px solid black" | Address:<br> | |||
| style="border:1px solid black" | {{{address}}}<br> | |||
|-<br> | |||
| style="border:1px solid black" | Phone:<br> | |||
| style="border:1px solid black" | {{{phone}}}<br> | |||
|-<br> | |||
| style="border:1px solid black" | Hours Open:<br> | |||
| style="border:1px solid black" | {{{hours open}}}<br> | |||
|}</div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*Parameters have two opening and closing curly brackets surrounding them. | |||
::A. False | |||
*Infoboxes are usually located at the top of the page on the right side. | |||
::A. True | |||
*Infoboxes are saved just like other templates, but it is good practice to include the word "infobox" in the title. | |||
::A. True | |||
</div> | |||
[[FamilySearch Wikitext Infobox - Creating|Back to Infobox - Creating]] | |||
==Infobox - Placing== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
<font color=" | <div style="clear:both"></div> | ||
<p>Here is the coding:</p> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | |||
<nowiki>{{Infobox U.S. County</nowiki><br> | |||
| county = Jackson<br> | |||
| county_map = Missouri Jackson County Map.svg.png<br> | |||
| state = Missouri<br> | |||
| state_map = Missouri.png<br> | |||
| founded year = 1826<br> | |||
| founded date = December 15 <br> | |||
| seat wl = Independence<br> | |||
}} </div><br> | |||
*<font color="blue"><b>NOTICE</b></font color> the images did not require the brackets as this was built into the infobox. | |||
</div> | </div> | ||
====Quick Quiz==== | ====Quick Quiz==== | ||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*Once the information after the equal signs is entered and saved, there is no changing the parameters. | |||
::B. False | |||
*Infoboxes can only be used on county pages. | |||
::B. False | |||
*Infoboxes are limited just to genealogical organizations. | |||
::B. False | |||
</div> | |||
[[FamilySearch Wikitext Infobox - Placing|Back to Infobox - Placing]] | |||
---- | |||
==If functions== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | <div style="border:10px solid lightgreen; padding:5px; "> | ||
:: | <div style="clear:both"></div> | ||
* | <p>Here is the coding:</p> | ||
::False | <div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | ||
* | <nowiki>{|</nowiki> style="width:190px; border:1px solid black; float:right" <br> | ||
::False | <font color="black"><nowiki>{{!}}</nowiki></font color>-<br> | ||
* | <font color="black"><nowiki>{{!}}</nowiki></font color> colspan="2" style="text-align:center; border:1px solid black"|organization name<br> | ||
:: | <font color="black"><nowiki>{{!}}</nowiki></font color>-<br> | ||
<font color="black"><nowiki>{{!}}</nowiki></font color> colspan="2" style="text-align:center; border:1px solid black"|image<br> | |||
<font color="black"><nowiki>{{!}}</nowiki></font color>-<br> | |||
<font color="black"><nowiki>{{!}} style="border:1px solid black"|</nowiki></font color><nowiki>{{#if:{{{president|}}}|President:</nowiki><br> | |||
<font color="black"><nowiki>{{!}}</nowiki></font color><nowiki> {{{president}}}}}</nowiki><br> | |||
<font color="black"><nowiki>{{!}}</nowiki></font color>-<br> | |||
<font color="black"><nowiki>{{!}} style="border:1px solid black"|</nowiki></font color><nowiki>{{#if:{{{address|}}}|Address:</nowiki><br> | |||
<font color="black"><nowiki>{{!}}</nowiki></font color><nowiki> {{{address}}}</nowiki><br> | |||
<font color="black"><nowiki>{{!}}</nowiki></font color>-<br> | |||
<font color="black"><nowiki>{{!}} style="border:1px solid black"|</nowiki></font color><nowiki>{{#if:{{{phone|}}}|Phone:</nowiki><br> | |||
<font color="black"><nowiki>{{!}}</nowiki></font color><nowiki> {{{phone}}}</nowiki><br> | |||
<font color="black"><nowiki>{{!}}</nowiki></font color>-<br> | |||
<font color="black"><nowiki>{{!}} style="border:1px solid black"|</nowiki></font color><nowiki>{{#if:{{{hours open|}}}|Hours Open:</nowiki><br> | |||
<font color="black"><nowiki>{{!}}</nowiki></font color><nowiki> {{{hours open}}}</nowiki><br> | |||
<nowiki>|}</nowiki> | |||
</div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*If nothing is entered for a parameter, there will still be a space where the parameter would normally appear. | |||
::B. False | |||
*The "If function" allows you to create more complete infoboxes, but you do have to worry about them being too large and take up a lot of space if the subject to be posted in the infobox is small. | |||
::B. False | |||
*It does not matter whether you use regular pipes or <nowiki>{{!}}</nowiki> in infoboxes with if functions. | |||
::B. False | |||
</div> | </div> | ||
[[FamilySearch Wikitext | [[FamilySearch Wikitext Infobox - If functions|Back to If functions]] | ||
---- | ---- | ||
==Sidebars== | |||
====Exercises==== | ====Exercises==== | ||
<div style="border:10px solid | <div style="border:10px solid lightgreen; padding:5px; "> | ||
<font color=" | <div style="clear:both"></div> | ||
<p>Here is the coding:</p> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | |||
<nowiki>{{Infobox U.S. County</nowiki><br> | |||
| county = Jackson<br> | |||
| county_map = Missouri Jackson County Map.svg.png<br> | |||
| state = Missouri<br> | |||
| state_map = Missouri.png<br> | |||
| founded year = 1826<br> | |||
| founded date = December 15 <br> | |||
| seat wl = Independence<br> | |||
}} </div> | |||
*<font color="blue"><b>NOTICE</b></font color> the images did not require the brackets as this was built into the infobox. | |||
</div> | </div> | ||
====Quick Quiz==== | ====Quick Quiz==== | ||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*Once the information after the equal signs is entered and saved, there is no changing the parameters. | |||
::B. False | |||
*Infoboxes can only be used on county pages. | |||
::B. False | |||
*Infoboxes are limited just to genealogical organizations. | |||
::B. False | |||
</div> | |||
[[FamilySearch Wikitext Sidebars|Back to Sibebars]] | |||
---- | |||
==Navboxes== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | <div style="border:10px solid lightgreen; padding:5px; "> | ||
* | *Create a navbox using the above format. | ||
:: | *For topics use the first 5 topics from the [[Germany_Genealogy|Germany Genealogy]] page. | ||
* | *For Counties use the first 5 counties from the [[Anhalt_-_Herzogtum_(duchy)]] navbox at the bottom of the page. | ||
:: | *Change the parameter to country. | ||
* | <p>Here's what it should look like:</p> | ||
::False | {| style="width:100%; border:1px solid black; border-collaspe:separate; border-spacing:5px; " | ||
* | |- | ||
:: | | colspan="2" style="background-color:lightgray; text-align:center; " | Links to '''Germany''' - related articles | ||
|- | |||
| style="background-color:lightgray; width:20% ; vertical-align:middle; " | Topics | |||
| style="background-color:lightblue; " | [[Germany Archives and Libraries|Archives and Libraries]]{{·}} [[Germany Biography|Biography]]{{·}} [[Germany Cemeteries|Cemeteries]]{{·}} [[Germany Census|Census]]{{·}} [[Germany Church Directories|Church Directories]] | |||
|- | |||
| style="background-color:lightgray; width:20% ; vertical-align:middle; " | Counties | |||
| style="background-color:lightblue; " | [[Anhalt - Herzogtum (duchy) Genealogy|Anhalt]]{{·}} [[Baden Grossherzogtum (grand duchy) Genealogy|Baden]]{{·}} [[Bayern (Bavaria) – Königreich (kingdom) Genealogy|Bayern]]{{·}} [[Braunschweig (Brunswick) – Herzogtum (duchy) Genealogy|Braunschweig]]{{·}} [[Bremen, Germany Genealogy|Bremen]] | |||
|} | |||
<p>Here's what the code should look like:</p> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | |||
<nowiki>{| style="width:100%; border:1px solid black; border-collaspe:separate; border-spacing:5px; "</nowiki><br> | |||
|- <br> | |||
| colspan="2" style="background-color:lightgray; text-align:center; " | Links to <nowiki>'''{{{Country}}}'''</nowiki> - related articles<br> | |||
|-<br> | |||
| style="background-color:lightgray; width:20% ; vertical-align:middle; " | Topics<br> | |||
| style="background-color:lightblue; " | <nowiki>[[Germany Archives and Libraries|Archives and Libraries]]{{·}} [[Germany Biography|Biography]]{{·}} [[Germany Cemeteries|Cemeteries]]{{·}} [[Germany Census|Census]]{{·}} [[Germany Church Directories|Church Directories]]</nowiki> <br> | |||
|-<br> | |||
| style="background-color:lightgray; width:20% ; vertical-align:middle; " | Counties<br> | |||
| style="background-color:lightblue; " |<nowiki> [[Anhalt - Herzogtum (duchy) Genealogy|Anhalt]]{{·}} [[Baden Grossherzogtum (grand duchy) Genealogy|Baden]]{{·}} [[Bayern (Bavaria) – Königreich (kingdom) Genealogy|Bayern]]{{·}} [[Braunschweig (Brunswick) – Herzogtum (duchy) Genealogy|Braunschweig]]{{·}} [[Bremen, Germany Genealogy|Bremen]]</nowiki><br> | |||
|}</div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*Navboxes should not include items that could be in a sidebar. | |||
::A. True | |||
*Navboxes are usually placed at the top of the page. | |||
::B. False | |||
*Navboxes are limited to less than 200 pixels in width. | |||
::B. False | |||
</div> | </div> | ||
[[FamilySearch Wikitext | [[FamilySearch Wikitext Navboxes|Back to Navboxes]] | ||
==Position - Relative== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px;"> | |||
*Place a "relative" positioned object that is 300 pixels wide and 100 pixels high between the third and fourth sentence of our Lorem ipsum paragraph. | |||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.<div style="position:relative; width:300px; height:100px"></div> Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.<br><br> | |||
<p>Here is the coding:</p> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.<font color="red"><nowiki><div style="position:relative;</nowiki></font color><font color="red"> width:300px; height:100px"></font color><font color="red"><nowiki></div></nowiki></font color>Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.</div> | |||
---- | ---- | ||
*Place a "relative" positioned object after the last sentence that has the following attributes: | |||
**width is 100%. | |||
**background-color:blue. | |||
**border 5 pixels thick and red in color. | |||
**that is 200 pixels high. | |||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.<div style="position:relative; width 100%; height:200px; background-color:blue; border:5px solid red"></div><br> | |||
<p>Here is the coding:</p> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | |||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.<font color="red"><nowiki><div style="position:relative;</nowiki></font color><font color="red"> width:100%; height:200px; background-color:blue; border:5px solid red"></font color><font color="red"><nowiki></div></nowiki></font color></div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*Relative positioning places objects in relation to the edge and top of the page. | |||
::B. False | |||
*Relative positioning does not cover objects placed before it was. | |||
::B. False | |||
*Relative positioning covers up all objects covered after it was placed. | |||
::B. False | |||
</div> | |||
[[FamilySearch Wikitext Position - Relative|Back to Position - Relative]] | |||
==Position - Absolute== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px;"> | |||
1. Make this object <font color="red"><nowiki><div style="width:200px; height:75px; border:2px solid green; background-color:orange; "></nowiki></font color> an absolute positioned object 0 pixels from the left and 0 pixels from the top to appear '''inside''' a relative positioned object with width of 300 pixels, height of 200 pixels and a red border one pixel thick. | |||
<div style="position:relative; border:1px solid red; width:400px; height:200px; "><div style="position:absolute; left:0px; top:0px; width:200px; height:75px; border:2px solid green; background-color:orange; "> | |||
</div></div><br> | |||
[[Category: HTML Lessons]] | Here is the coding:<br> | ||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><div style="</nowiki></font color>position:relative; border:1px solid red; width:400px; height:200px; "><br><font color="blue"><nowiki><div style="</nowiki></font color>position:absolute; left:0px; top:0px; width:200px; height:75px; border:2px solid green; background-color:orange; "> | |||
<font color="blue"><nowiki></div></nowiki></font color><br><font color="red"><nowiki></div></nowiki></font color></div><br> | |||
2. Take your answer above and move the '''relative''' object with the '''absolute''' object inside 150 pixel to the left and 50 pixel from the top: | |||
<div style="position:relative; left:150px; top:50px; border:1px solid red; width:400px; height:200px; "><div style="width:200px; height:75px; border:2px solid green; background-color:orange; "> | |||
</div></div><br><br><br><br> | |||
Here is the coding:<br> | |||
<div style="background-color:#FFD199; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | |||
<nowiki><div style="position:relative; </nowiki><font color="red"> left:150px; top:50px;</font color><nowiki>border:1px solid red; width:400px; height:200px; "></nowiki><br><nowiki><div style="position:absolute; left:0px; top:0px; width:200px; height:75px; border:2px solid green; background-color:orange; "></nowiki> | |||
<nowiki></div></nowiki><br> | |||
<nowiki></div></nowiki> | |||
</div><br> | |||
3. Take your answer from no. 2 and move the '''absolute''' object inside the '''relative''' object 150px to the left and down 25px from the top. | |||
<div style="position:relative; left:150px; top:25px; border:1px solid red; width:400px; height:200px; "><div style="position:absolute; left:150px; top:50px; width:200px; height:75px; border:2px solid green; background-color:orange; "> | |||
</div></div><br><br> | |||
Here is the coding:<br> | |||
<div style="background-color:wheat; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | |||
<nowiki><div style="position:relative; </nowiki><font color="red"> left:150px; top:50px;</font color><nowiki>border:1px solid red; width:400px; height:200px; "></nowiki><br><nowiki><div style="position:absolute; </nowiki><font color="red">left:150px; top:50px;</font color><nowiki>width:200px; height:75px; border:2px solid green; background-color:orange; "></nowiki> | |||
<nowiki></div></nowiki><br> | |||
<nowiki></div></nowiki> | |||
</div> | |||
</div> | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*Absolute positioning places objects in relation to the edge and top of the page. | |||
::A. True | |||
*Absolute positioning does not cover objects placed before it was. | |||
::B. False | |||
*Absolute positioning covers up all objects that follow it. | |||
::A. True | |||
</div> | |||
[[FamilySearch Wikitext Position - Absolute|Back to Position - Absolute]] | |||
==Tabs== | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
<ul style="list-style-type:none"> | |||
<li style="float:left; | |||
border:1px solid red; | |||
border-top-left-radius:5px; | |||
border-top-right-radius:5px; | |||
width:130px; | |||
margin-right:10px; | |||
background-color:#ffe6ea;">[[HTML and Wikitext - Lesson One]]</li> | |||
<li style="float:left; | |||
border:1px solid red; | |||
border-top-left-radius:5px; | |||
border-top-right-radius:5px; | |||
width:130px; | |||
margin-right:10px; | |||
background-color:#ffe6ea; ">[[HTML and Wikitext - Lesson Two]]</li> | |||
<li style="float:left; | |||
border:1px solid red; | |||
border-top-left-radius:5px; | |||
border-top-right-radius:5px; | |||
width:130px; | |||
margin-right:10px; | |||
background-color:#ffe6ea;">[[HTML and Wikitext - Lesson Three]]</li> | |||
<li style="float:left; | |||
border:1px solid red; | |||
border-top-left-radius:5px; | |||
border-top-right-radius:5px; | |||
width:130px; | |||
margin-right:10px; | |||
background-color:#ffe6ea;">[[HTML and Wikitext - Lesson Four]]</li> | |||
</ul><br><br> | |||
*Here's the coding for the first tab: | |||
<font color="green"><nowiki><ul</nowiki></font> <font color="blue">style=</font><font color="red">"list-style-type:none"</font><font color="green">></font><br> | |||
<font color="green"><nowiki><li</nowiki></font> <font color="blue">style=</font><font color="red">"float:left;<br> | |||
border:1px solid red;<br> | |||
border-top-left-radius:5px;<br> | |||
border-top-right-radius:5px;<br> | |||
width:130px;<br> | |||
margin-right:10px;<br> | |||
background-color:#ffe6ea;"</font><font color="green">></font>[[HTML and Wikitext - Lesson One]]<font color="green"><nowiki></li></nowiki></font> | |||
</div> | |||
[[FamilySearch Wikitext Tabs|Back to Tabs]] | |||
==Image Maps== | |||
====Quick Quiz==== | |||
<div style="border:10px solid lightgray; padding:5px; "> | |||
*Image maps are templates. | |||
:A. True | |||
*You can use the URL in the from the tool bar for you image. | |||
:B. False | |||
*"Standard imagemap" from the Output menu is ok. | |||
:B. False | |||
*The http:// link for the image is ok. | |||
:B. False | |||
*It is ok to edit the image map in Rich Editor | |||
:B. False | |||
*Placing an image map on a page is just like placing a template on a page. | |||
:A. True | |||
</div> | |||
[[FamilySearch Wikitext Image Maps|Back to Image Maps]] | |||
====Exercises==== | |||
<div style="border:10px solid lightgreen; padding:5px; "> | |||
*Create an image map using the Delaware image or any other of your choice. | |||
See the coding on this lesson. | |||
</div> | |||
[[FamilySearch Wikitext Image Maps|Back to Image Maps]] | |||
[[Category:HTML Lessons]] |