Interface administrators, smwadministrator, smwcurator, smweditor
82,369
edits
Line 336: | Line 336: | ||
*What this coding means that if you do not put anything after the = sign on the President line, this item will not appear in the infobox. So if you have a long infobox but few items to fill in, the infobox will shrink up to fit the information you have added. | *What this coding means that if you do not put anything after the = sign on the President line, this item will not appear in the infobox. So if you have a long infobox but few items to fill in, the infobox will shrink up to fit the information you have added. | ||
===Adding More Fields=== | ===Adding More Fields=== | ||
If you want to add more fields to add more | If you want to add more fields to add more organizational information such as other officers, meeting places, etc, you just add more fields to the infobox template and the matching field to the infobox inserted template: | ||
*In the infobox template: | *In the infobox template: | ||
::<font color="red"><nowiki>{{#if:{{{vice president|}}}|</nowiki></font color><nowiki><td>Vice President:</td></nowiki> | ::<font color="red"><nowiki>{{#if:{{{vice president|}}}|</nowiki></font color><nowiki><td>Vice President:</td></nowiki> | ||
:*Remember where you place this code in the infobox template is where it will show up in the infobox. So if you want the, in this example, the vice president to follow the name of the president you have to place right after the coding for the president. | |||
*In the inserted template: | *In the inserted template: | ||
::<font color="red">|vice president=</font color> | ::<font color="red">|vice president=</font color> | ||
:*This coding can be put anywhere in the inserted template. It does not affect the placement of the information in the infobox. But if nothing is put after the = sign, this line will not appear. | |||
---- | ---- |