Help:Wiki University Wikitext--Comments

From FamilySearch Wiki
Jump to: navigation, search
MAIN PAGE
WIKI
WIKITEXT
HTML/CSS
FAMILY HISTORY CENTERS
VISUAL EDITOR

Lessons


Intermediate


Advanced


Flexbox


Additional Helps

Comments.jpg

As you begin creating articles in FamilySearch Wiki, they can get rather long. Finding the part you may want to edit at a later date can be difficult in a long page of coding. One way to make sections easier to find is to insert comments regarding the contents of a section to remind you what it contains as you are searching the page.

  • Since comments are not processed by your browser, you can write whatever you want. They are completely ignored by your browser and can be any length.

How to create a comment

  • Comments are created by typing the following wikitext codes:
<!--Your comment-->

  • NOTICE the < (angle bracket) plus the ! (exclamation) mark.
  • NOTICE two dashes following the ! mark. You have to have at least two dashes but you can have as many as you want.
  • NOTICE the two dashes and the > at the end. You have to have at least two dashes but you can have as many as you want.
  • Your comment can be as long as you want.
  • It is more noticeable if the coding extends across the page with line breaks before and after:
<!--Your comment----------------------------------->

You can never have too many comments

Comments2.jpg
  • Comments are far easier to find than looking for headers. Use them often and as much as you like. Again, the browser completely ignores them so don't worry about inserting too many or think you will mess up the coding.

Try these out

Tests.gif
Exercises
  • Copy and paste this page in your sandbox Kirksville, Missouri.
  • Place a comment for the last five headers on this page.
  • Use whatever wording that would help you to know what the section is about. Have either the wording or the dashes extend across the page.
  • If you want more practice, place comments on all the headers.


Quick Quiz
  • How many comments can you insert on page?
A. No more than two.
B. No more than six
C. As many as you like.
  • How many words can you put in a comment?
A. 25 words or less.
B. No more than 100 words.
C. As many words as you want.
  • Where can you insert comments?
A. Can only place them just before headers.
B. Only at the bottom of the page.
C. Anywhere you want.

Navigation menu