Interface administrators, smwadministrator, smwcurator, smweditor
82,369
edits
mNo edit summary |
|||
Line 240: | Line 240: | ||
*Some infoboxes can get very long. If you list all the attributes of an organization can possibly there can be quit a few items listed. | *Some infoboxes can get very long. If you list all the attributes of an organization can possibly there can be quit a few items listed. | ||
*What if you placing an infobox for a small organization, but are using the infobox for a large organizations with many offices you could end up with an infobox taking up a lot of room on the page with little information in it. Maybe the organization does not even have a phone number like in our example here. | *What if you placing an infobox for a small organization, but are using the infobox for a large organizations with many offices you could end up with an infobox taking up a lot of room on the page with little information in it. Maybe the organization does not even have a phone number like in our example here. | ||
*Well it is possible to code the infobox so that the item "phone" does not appear if there is none. It is done simply by adding this coding to the parameter. | *Well it is possible to code the infobox so that the item "phone" does not appear if there is none. It is done simply by adding this coding to the parameter. This is an example of adding the additional code to the President line:<br><br> | ||
<font color="red"><nowiki>{{#if:{{{president|}}}|</nowiki></font color="red"><nowiki><td>'''President'''</td><td>{{{president}}}</nowiki><font color="red">}}</font color></td> | |||
<br><br> | |||
<table style="border:1px solid blue; "> | <table style="border:1px solid blue; "> | ||
<tr> | <tr> |