How to Create an Infobox: Difference between revisions

m
Line 187: Line 187:
<nowiki>|phone=</nowiki><br>
<nowiki>|phone=</nowiki><br>
<nowiki>|open hours=</nowiki><br>
<nowiki>|open hours=</nowiki><br>
<nowiki>}}</nowiki>
<nowiki>}}</nowiki>{{Infobox sample
*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.
*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:
{{Infobox sample
|organization=Genealogy Society
|organization=Genealogy Society
|image=[[File:France Lavender Field.jpg|150px]]
|image=[[File:France Lavender Field.jpg|150px]]
Line 199: Line 195:
|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.
*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:
<nowiki>{{Infobox sample</nowiki><br>
<nowiki>{{Infobox sample</nowiki><br>
<nowiki>|organization=</nowiki>Society Name<br>
<nowiki>|organization=</nowiki>Society Name<br>
Line 206: Line 206:
<nowiki>|open hours=</nowiki>Mon 1pm - 6pm<br>
<nowiki>|open hours=</nowiki>Mon 1pm - 6pm<br>
<nowiki>}}</nowiki>
<nowiki>}}</nowiki>
We will get the following:
*We will get the following:
{{Infobox sample
{{Infobox sample
|organization=Genealogy Society
|organization=Genealogy Society
Interface administrators, smwadministrator, smwcurator, smweditor
82,369

edits