How to Create an Infobox: Difference between revisions

m
Line 188: Line 188:
<nowiki>|phone=</nowiki><br>
<nowiki>|phone=</nowiki><br>
<nowiki>|open hours=</nowiki><br>
<nowiki>|open hours=</nowiki><br>
<nowiki>}}</nowiki>{{Infobox sample
<nowiki>}}</nowiki>
 
*Notice that for every parameter there is a |, the name of the parameter followed by an = sign.  It is after the = sign that you add the proper information for the organization.  For example, if you are wanting to place the name of the president you would type it after the = sign like so: <nowiki>|president=John Smith</nowiki>. 
{{Infobox sample
|organization=Genealogy Society
|organization=Genealogy Society
|image=[[File:France Lavender Field.jpg|150px]]
|image=[[File:France Lavender Field.jpg|150px]]
Line 196: Line 199:
|hours open=Mon 1pm - 6pm
|hours open=Mon 1pm - 6pm
}}
}}
*Notice that for every parameter there is a |, the name of the parameter followed by an = sign.  It is after the = sign that you add the proper information for the organization.  For example, if you are wanting to place the name of the president you would type it after the = sign like so: <nowiki>|president=John Smith</nowiki>.  That is all there is to it.  Simple.
That is all there is to it.  Simple.
*When you save the page, the <nowiki>{{{president}}}</nowiki> is replaced by John Smith.
*When you save the page, the <nowiki>{{{president}}}</nowiki> is replaced by John Smith.
*Now if we add the following information after the = signs like so:
*Now if we add the following information after the = signs like so: