Interface administrators, smwadministrator, smwcurator, smweditor
82,369
edits
Line 215: | Line 215: | ||
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:<br> | ||
<nowiki>{{Infobox sample</nowiki><br> | <nowiki>{{Infobox sample</nowiki><br> | ||
<nowiki>|organization=</nowiki><font color="red">Genealogy Society</font color><br> | <nowiki>|organization=</nowiki><font color="red">Genealogy Society</font color><br> | ||
Line 226: | Line 225: | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
*We will get the following: | *We will get the following: | ||
<br> | |||
*Notice that we use the usual coding for placing an image. We have limited the image to 150px wide as the infobox is 200px wide. If you did not limit the size of the image. the infobox would expand to the width of the image as it stands in the files. | *Notice that we use the usual coding for placing an image. We have limited the image to 150px wide as the infobox is 200px wide. If you did not limit the size of the image. the infobox would expand to the width of the image as it stands in the files. | ||
*In addition it does not matter the order of the items on the placement codes. You could have the image at the bottom of the list, but the image will still show at the top where the infobox template has it position. | *In addition it does not matter the order of the items on the placement codes. You could have the image at the bottom of the list, but the image will still show at the top where the infobox template has it position. |