Template:Infobox Societies: Difference between revisions

From FamilySearch Wiki
(move sections - add facebook, twitter)
No edit summary
 
(35 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox" cellspacing="2" style="border-color:{{{border_color}}}; width:{{{box_width|22em}}}; text-align:left; font-size:{{{font_size|90%}}}; float:right; border: 1px solid #999; border-right-width: 2px; border-bottom-width: 2px; background-color: #e8f2Ff"
<includeonly>{| class="infobox" cellspacing="2" style="border-color:{{{border_color}}}; width:{{{box_width|20em}}}; text-align:left; font-size:{{{font_size|90%}}}; float:right; border: 1px solid #999; border-right-width: 2px; border-bottom-width: 2px; background-color: #e8f2Ff"
{{#if:{{{back_color|}}}|
{{#if:{{{back_color|}}}|
{{!}}-
{{!}}-
Line 27: Line 27:
{{!}} style="color:{{{value_color}}};" {{!}} {{{established}}}
{{!}} style="color:{{{value_color}}};" {{!}} {{{established}}}
|-
|-
| colspan="2" style="text-align: center; background:#E0E0E0;" | '''Contact Info'''
{{#if: {{Ifempty|{{{address|}}}|{{{telephone|}}}|{{{website|}}} }} |
{{!}} colspan="2" style="text-align: center; background:#E0E0E0;" {{!}} '''Contact Info'''| }}
|-
|-
{{#if:{{{address|}}}|
{{#if:{{{address|}}}|
Line 36: Line 37:
! style="color:{{{label_color}}};" {{!}} '''Telephone'''
! style="color:{{{label_color}}};" {{!}} '''Telephone'''
{{!}} style="color:{{{value_color}}};" {{!}} {{{telephone}}}}}
{{!}} style="color:{{{value_color}}};" {{!}} {{{telephone}}}}}
|-
{{#if:{{{fax|}}}|
! style="color:{{{label_color}}};" {{!}} '''Fax'''
{{!}} style="color:{{{value_color}}};" {{!}} {{{fax}}}}}
|-
{{#if:{{{email|}}}|
! style="color:{{{label_color}}};" {{!}} '''Email'''
{{!}} style="color:{{{value_color}}};" {{!}} [mailto:{{{email}}} {{{email}}}]}}
|-
|-
{{#if:{{{website|}}}|
{{#if:{{{website|}}}|
! style="color:{{{label_color}}};" {{!}} '''Website'''
! style="color:{{{label_color}}};" {{!}} '''Website'''
{{!}} style="color:{{{value_color}}};" {{!}} <span class="url">{{URL|{{{website|}}}}}</span> }}
{{!}} style="color:{{{value_color}}};" {{!}} <span class="url">{{URL|{{{website|}}}}}</span> }}
|-
{{#if:{{{blog|}}}|
! style="color:{{{label_color}}};" {{!}} '''Blog'''
{{!}} style="color:{{{value_color}}};" {{!}} <span class="url">{{URL|{{{blog|}}}}}|</span> }}
|-
|-
{{#if:{{{facebook|}}}|
{{#if:{{{facebook|}}}|
! style="color:{{{label_color}}};" {{!}} '''Facebook'''
! style="color:{{{label_color}}};" {{!}} '''Facebook'''
{{!}} style="color:{{{value_color}}};" {{!}} <span class="url">{{URL|{{{facebook|}}}}}</span> }}
{{!}} style="color:{{{value_color}}};" {{!}} <span class="url">{{URL|{{{facebook|}}}|Follow us on Facebook}}</span> }}
|-
|-
{{#if:{{{twitter|}}}|
{{#if:{{{twitter|}}}|
Line 49: Line 62:
{{!}} style="color:{{{value_color}}};" {{!}} <span class="url">{{URL|http://www.twitter.com/{{{twitter|}}}|@{{{twitter|}}}}}</span> }}
{{!}} style="color:{{{value_color}}};" {{!}} <span class="url">{{URL|http://www.twitter.com/{{{twitter|}}}|@{{{twitter|}}}}}</span> }}
|-
|-
| colspan="2" style="text-align: center; background:#E0E0E0;" | '''Society Officers'''
{{#if: {{Ifempty|{{{meeting_address|}}}|{{{meeting_day|}}}|{{{meeting_time|}}} }} |
{{!}} colspan="2" style="text-align: center; background:#E0E0E0;" {{!}} '''Society Meetings'''| }}
|-
{{#if:{{{meeting_address|}}}|
! style="color:{{{label_color}}};" {{!}} '''Address'''
{{!}} style="color:{{{value_color}}};" {{!}} {{{meeting_address}}}}}
|-
{{#if:{{{meeting_day|}}}|
! style="color:{{{label_color}}};" {{!}} '''Day of Meeting'''
{{!}} style="color:{{{value_color}}};" {{!}} {{{meeting_day}}}}}
|-
{{#if:{{{meeting_time|}}}|
! style="color:{{{label_color}}};" {{!}} '''Time of Meeting'''
{{!}} style="color:{{{value_color}}};" {{!}} {{{meeting_time}}}}}
|-
{{#if: {{Ifempty|{{{building_address|}}}|{{{building_hours|}}} }} |  
{{!}} colspan="2" style="text-align: center; background:#E0E0E0;" {{!}} '''Society Building'''| }}
|-
{{#if:{{{building_address|}}}|
! style="color:{{{label_color}}};" {{!}} '''Address'''
{{!}} style="color:{{{value_color}}};" {{!}} {{{building_address}}}}}
|-
{{#if:{{{building_hours|}}}|
! style="color:{{{label_color}}};" {{!}} '''Hours'''
{{!}} style="color:{{{value_color}}};" {{!}} {{{building_hours}}}}}
|-
{{#if: {{Ifempty|{{{president|}}}|{{{vice_president|}}}|{{{natpresident|}}} }} |
{{!}} colspan="2" style="text-align: center; background:#E0E0E0;" {{!}} '''Society Officers'''| }}
|-
|-
{{#if:{{{president|}}}|
{{#if:{{{president|}}}|
Line 66: Line 106:
! style="color:{{{label_color}}};" {{!}} '''Members'''
! style="color:{{{label_color}}};" {{!}} '''Members'''
{{!}} style="color:{{{value_color}}};" {{!}} {{{members}}}}}
{{!}} style="color:{{{value_color}}};" {{!}} {{{members}}}}}
|-
{{#if:{{{membership_cost|}}}|
! style="color:{{{label_color}}};" {{!}} '''Cost of Membership'''
{{!}} style="color:{{{value_color}}};" {{!}} {{{membership_cost}}}}}
|-
|-
{{#if:{{{employees|}}}|
{{#if:{{{employees|}}}|
Line 89: Line 133:
|-  
|-  
{{#if:{{{last_updated|}}}|
{{#if:{{{last_updated|}}}|
! colspan="2" style="text-align: right; font-size: smaller;color={{{value_color}}}" {{!}}Last updated: {{{last_updated}}}}}
! colspan="2" style="text-align: left; font-size: smaller;color={{{value_color}}}" {{!}}Last updated: {{CURRENTMONTHABBREV}} {{CURRENTDAY}}, {{CURRENTYEAR}} }}
|}</includeonly><noinclude>{{Documentation}}</noinclude>
|}</includeonly><noinclude>{{Documentation}}[[Category:Infobox templates]]</noinclude>

Latest revision as of 18:19, 5 November 2019

[view] [edit] [history] [purge] Documentation icon Template documentation