User:Clpda/Revised template:Library/doc
Appearance
List of fields and labels
[edit]library_name [no label, title of the infobox] library_name_en English library_logo [no label] image [no label] caption [no label] country Country library_type Type library_scope Scope established Established ref_legal_mandate Reference to legal mandate location Location coordinates Coordinates num_branches Branches [header] Collection items_collected Items collected collection_size Size criteria Criteria for collection legal_deposit Legal deposit [header] Access and use req_to_access Access requirements annual_circulation Circulation pop_served Population served members Members [header] Other information budget Budget director Director dir_since Since num_employees Staff website Website phone_num Phone number
Code of the template
[edit]{| class="infobox vcard" style="width:25em; font-size:90%;" |colspan="2" style="text-align: center; font-size:larger; background:#cef2e0;" class="fn org"| '''{{{library_name}}}''' {{#if:{{{library_name_en|}}} | <tr><th style="text-align:right; padding-right:0.75em;">English</th><td class="label">{{{library_name_en}}}</td></tr>}}<!-- -->{{#if:{{{library_logo|}}}|<tr><td colspan="2" style="text-align:center; padding:16px 0 16px 0;">{{{library_logo}}}</td></tr>}}<!-- -->{{#if:{{{image|}}} | <tr><td colspan="2" style="text-align:center; padding:16px 0 16px 0;">{{{image}}}</td></tr>}}<!-- -->{{#if:{{{caption|}}} | <tr><td colspan="2" style="text-align:center; padding:16px 0 16px 0;">{{{caption}}}</td></tr>}}<!-- -->{{#if:{{{country|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Country</th><td>{{{country}}}</td></tr>}}<!-- -->{{#if:{{{library_type|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Type</th><td class="label">{{{library_type}}}</td></tr>}}<!-- -->{{#if:{{{library_scope|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Scope</th><td class="label">{{{library_scope}}}</td></tr>}}<!-- -->{{#if:{{{established|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Established</th><td>{{{established}}}</td></tr>}}<!-- -->{{#if:{{{ref_legal_mandate|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Reference to legal mandate</th><td>{{{ref_legal_mandate}}}</td></tr>}}<!-- -->{{#if:{{{location|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Location</th><td class="label">{{{location}}}</td></tr>}}<!-- -->{{#if:{{{coordinates|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Coordinates</th><td>{{{coordinates}}}</td></tr>}}<!-- -->{{#if:{{{num_branches|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Branches</th><td>{{{num_branches}}}</td></tr>}}<!-- -->{{#if:{{{items_collected|}}}{{{collection_size|}}}{{{criteria_for_collection|}}}{{{legal_deposit|}}} | <tr><th colspan="2" style="text-align:center; background:#cef2e0;">Collection</th></tr>}}<!-- -->{{#if:{{{items_collected|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Items collected</th><td>{{{items_collected}}}</td></tr>}}<!-- -->{{#if:{{{collection_size|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Size</th><td>{{{collection_size}}}</td></tr>}}<!-- -->{{#if:{{{criteria|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Criteria for collection</th><td>{{{criteria}}}</td></tr>}}<!-- -->{{#if:{{{legal_deposit|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Legal deposit</th><td>{{{legal_deposit}}}</td></tr>}}<!-- -->{{#if:{{{req_to_access|}}}{{{annual_circulation|}}}{{{pop_served|}}}{{{members|}}} | <tr><th colspan="2" style="text-align:center; background:#cef2e0;">Access and use</th></tr>}}<!-- -->{{#if:{{{req_to_access|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Access requirements</th><td>{{{req_to_access}}}</td></tr>}}<!-- -->{{#if:{{{annual_circulation|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Circulation</th><td>{{{annual_circulation}}}</td></tr>}}<!-- -->{{#if:{{{pop_served|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Population served</th><td>{{{pop_served}}}</td></tr>}}<!-- -->{{#if:{{{members|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Members</th><td>{{{members}}}</td></tr>}}<!-- -->{{#if:{{{budget|}}}{{{director|}}}{{{dir_since|}}}{{{num_employees|}}} | <tr><th colspan="2" style="text-align:center; background:#cef2e0;">Other information</th></tr>}}<!-- -->{{#if:{{{budget|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Budget</th><td>{{{budget}}}</td></tr>}}<!-- -->{{#if:{{{director|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Director</th><td>{{{director}}}</td></tr>}}<!-- -->{{#if:{{{dir_since|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Since</th><td>{{{dir_since}}}</td></tr>}}<!-- -->{{#if:{{{num_employees|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Staff</th><td>{{{num_employees}}}</td></tr>}}<!-- -->{{#if:{{{website|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Website</th><td>{{{website}}}</td></tr>}}<!-- -->{{#if:{{{!website|}}}{{{phone_num|}}} | <tr><th style="text-align:right; padding-right:0.75em;">Phone number</th><td>{{{phone_num}}}</td></tr>}} |}