Template:Infobox Societies/doc: Difference between revisions
(image) |
No edit summary |
||
Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} {{Infobox Societies}} | ||
{{Infobox Societies}} | |||
Please use the following list, deleting unnecessary fields | == Usage == | ||
The parameters are listed in the order displayed by the infobox. | |||
<pre> | Please use the following list, deleting unnecessary fields The parameters are listed in the order displayed by the infobox. | ||
{{Infobox Societies | <pre>{{Infobox Societies | ||
|name= | |name= | ||
|native_name= | |native_name= | ||
Line 45: | Line 43: | ||
|last_updated= | |last_updated= | ||
}} | }} | ||
</pre> | </pre> | ||
== Parameters == | |||
The parameters below are listed in the order displayed by the infobox. | The parameters below are listed in the order displayed by the infobox. | ||
=== Name === | === Name === | ||
These parameters specify the name of the society and how it is displayed in the infobox title | These parameters specify the name of the society and how it is displayed in the infobox title | ||
[[Image:NWKFHSlogo.jpg]] | ;name | ||
:the name of the society in English | |||
;native_name | |||
:the name of the society if different from the English | |||
;name_color | |||
:(optional) the color of the title text (default black) | |||
;back_color | |||
:(optional) the background color of the title text (default none). Use ''#e8f2Ff'' to use the same color as the rest of the infobox. | |||
[[Image:NWKFHSlogo.jpg]] | |||
=== Image === | === Image === | ||
Line 63: | Line 67: | ||
An image representing the society, a logo can be displayed near the top of the infobox, immediately below the title. Use only the file name, without the Image: or File: prefix. | An image representing the society, a logo can be displayed near the top of the infobox, immediately below the title. Use only the file name, without the Image: or File: prefix. | ||
;image | ;image | ||
:(optional) Society image/logo (name of image only) | :(optional) Society image/logo (name of image only) | ||
;image_size | ;image_size | ||
:(optional) Allows changing image size from 100px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size) | :(optional) Allows changing image size from 100px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size) | ||
;border_color | ;border_color | ||
:(optional) the color of the border around the image box | :(optional) the color of the border around the image box | ||
=== Infobox colors === | === Infobox colors === | ||
=== Society motto === | The data in most of the infobox is displayed in pairs, a label and a value. If the user would like to change these from the default black this can be achieved by using these parameters. | ||
; motto | |||
;label_color | |||
:(optional) the color of the labels that run down the left side of the infobox (default black) | |||
;value_color | |||
:(optional) the color of the values that run down the right side of the infobox (default black) | |||
=== Society motto === | |||
;motto | |||
:(optional) the society's motto | |||
=== Date Established === | === Date Established === | ||
Line 82: | Line 92: | ||
List the date the society was established. | List the date the society was established. | ||
;established 1974 | ;established 1974 | ||
:Mandatory parameter. This can be just the year or a precise date. | :Mandatory parameter. This can be just the year or a precise date. | ||
=== Contact details === | === Contact details === | ||
;address | ;address | ||
:(optional) the society's address | :(optional) the society's address | ||
;telephone | ;telephone | ||
:(optional) the society's telephone number | :(optional) the society's telephone number | ||
;fax | ;fax | ||
:(optional) the society's fax number | :(optional) the society's fax number | ||
;email | ;email | ||
:(optional) the society's email address (template automatically generates a ''mailto:'' link) | :(optional) the society's email address (template automatically generates a ''mailto:'' link) | ||
;website | ;website | ||
:http://www.nwkfhs.org.uk/ | :http://www.nwkfhs.org.uk/ | ||
;facebook | ;facebook | ||
:(optional) url for the society's Facebook page (template automatically generates external link) | :(optional) url for the society's Facebook page (template automatically generates external link) | ||
;twitter | ;twitter | ||
:(optional) the twitter username ie for @FamilySearch enter {{xt|FamilySearch}} not {{!xt|@FamilySearch}} (template automatically generates external link) | :(optional) the twitter username ie for @FamilySearch enter {{xt|FamilySearch}} not {{!xt|@FamilySearch}} (template automatically generates external link) | ||
=== Meeting details === | === Meeting details === | ||
; meeting_address : (optional) the address where the society hold it's meetings | |||
; meeting_day | ;meeting_address | ||
; meeting_time | :(optional) the address where the society hold it's meetings | ||
;meeting_day | |||
:(optional) the day when the society hold it's meetings | |||
;meeting_time | |||
:(optional) the time when the society hold it's meetings | |||
=== Building details === | |||
;building_address | |||
:(optional) the address of the society's building | |||
;building_hours | |||
:(optional) the hours the society's building is open | |||
=== Organization === | |||
;president | |||
:(optional) the name of the president | |||
;vice_president | |||
:(optional) the name of the vice-president<br>(if more than one seperate each name with <nowiki><br></nowiki>, for example type ''<nowiki>John Smith<br>Jane Brown</nowiki>'') | |||
;natpresident | |||
:(optional) the name of the national president | |||
;members | |||
:(optional) the number of members | |||
;membership_cost | |||
:(optional) the cost of membership | |||
;employees | |||
:(optional) the number of employees | |||
;volunteers | |||
:(optional) the number of volunteers | |||
=== Affiliations === | |||
If the society is a member of an association then it can be shown in the infobox | |||
;affiliations | |||
:(optional) the name of an affliated organisation.<br>Use square brackets for example ''<nowiki>[[Affiliated body]]</nowiki>'' to create a wiki link and separate multiple entries using ''<nowiki><br></nowiki>'' between each. | |||
=== Other information === | |||
One free text entry has been provide for. | |||
;free_label | |||
:(optional) a user defined label | |||
;free | |||
:(optional) the value to display after the user defined label | |||
=== | === Society Logo === | ||
If not used as the main image a logo can be displayed near the bottom of the infobox. Use only the file name, without the Image: or File: prefix. | |||
;logo | |||
:(optional) Logo image (name only) | |||
; | ;logo_size | ||
:(optional) Allows changing logo size from 100px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size) | |||
=== | === Footnotes === | ||
;footnotes | |||
:(optional) text to display next at bottom of infobox (no heading) | |||
; | |||
=== | === Last Updated === | ||
;last_updated | |||
; last_updated | :(optional) text to display right at the at bottom of the infobox; labelled ''Last udpated:'' | ||
<includeonly> | <includeonly> | ||
[[Category:Infobox templates|Societies]] | [[Category:Infobox templates|Societies]] | ||
</includeonly> | </includeonly> |
Revision as of 03:02, 12 March 2015
![]() |
This is a documentation subpage for Template:Infobox Societies (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Established | {{{established}}} |
---|---|
Usage[edit source]
Please use the following list, deleting unnecessary fields The parameters are listed in the order displayed by the infobox.
{{Infobox Societies |name= |native_name= |name_color= |back_color= |image= |image_size= |border_color= |label_color= |value_color= |motto= |established= |address= |telephone= |fax= |email= |website= |facebook= |twitter= |meeting_address= |meeting_day= |meeting_time= |building_address= |building_hours= |president= |vice_president= |natpresident= |members= |membership_cost= |employees= |volunteers= |affiliations= |free_label= |free= |logo= |logo_size= |footnotes= |last_updated= }}
Parameters[edit source]
The parameters below are listed in the order displayed by the infobox.
Name[edit source]
These parameters specify the name of the society and how it is displayed in the infobox title
- name
- the name of the society in English
- native_name
- the name of the society if different from the English
- name_color
- (optional) the color of the title text (default black)
- back_color
- (optional) the background color of the title text (default none). Use #e8f2Ff to use the same color as the rest of the infobox.
Image[edit source]
An image representing the society, a logo can be displayed near the top of the infobox, immediately below the title. Use only the file name, without the Image: or File: prefix.
- image
- (optional) Society image/logo (name of image only)
- image_size
- (optional) Allows changing image size from 100px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size)
- border_color
- (optional) the color of the border around the image box
Infobox colors[edit source]
The data in most of the infobox is displayed in pairs, a label and a value. If the user would like to change these from the default black this can be achieved by using these parameters.
- label_color
- (optional) the color of the labels that run down the left side of the infobox (default black)
- value_color
- (optional) the color of the values that run down the right side of the infobox (default black)
Society motto[edit source]
- motto
- (optional) the society's motto
Date Established[edit source]
List the date the society was established.
- established 1974
- Mandatory parameter. This can be just the year or a precise date.
Contact details[edit source]
- address
- (optional) the society's address
- telephone
- (optional) the society's telephone number
- fax
- (optional) the society's fax number
- (optional) the society's email address (template automatically generates a mailto: link)
- website
- http://www.nwkfhs.org.uk/
- (optional) url for the society's Facebook page (template automatically generates external link)
- (optional) the twitter username ie for @FamilySearch enter FamilySearch not @FamilySearch (template automatically generates external link)
Meeting details[edit source]
- meeting_address
- (optional) the address where the society hold it's meetings
- meeting_day
- (optional) the day when the society hold it's meetings
- meeting_time
- (optional) the time when the society hold it's meetings
Building details[edit source]
- building_address
- (optional) the address of the society's building
- building_hours
- (optional) the hours the society's building is open
Organization[edit source]
- president
- (optional) the name of the president
- vice_president
- (optional) the name of the vice-president
(if more than one seperate each name with <br>, for example type John Smith<br>Jane Brown) - natpresident
- (optional) the name of the national president
- members
- (optional) the number of members
- membership_cost
- (optional) the cost of membership
- employees
- (optional) the number of employees
- volunteers
- (optional) the number of volunteers
Affiliations[edit source]
If the society is a member of an association then it can be shown in the infobox
- affiliations
- (optional) the name of an affliated organisation.
Use square brackets for example [[Affiliated body]] to create a wiki link and separate multiple entries using <br> between each.
Other information[edit source]
One free text entry has been provide for.
- free_label
- (optional) a user defined label
- free
- (optional) the value to display after the user defined label
Society Logo[edit source]
If not used as the main image a logo can be displayed near the bottom of the infobox. Use only the file name, without the Image: or File: prefix.
- logo
- (optional) Logo image (name only)
- logo_size
- (optional) Allows changing logo size from 100px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size)
Footnotes[edit source]
- footnotes
- (optional) text to display next at bottom of infobox (no heading)
Last Updated[edit source]
- last_updated
- (optional) text to display right at the at bottom of the infobox; labelled Last udpated: