Template:Infobox Societies/doc: Difference between revisions

From FamilySearch Wiki
(add image_size parameter)
(document parameters)
Line 4: Line 4:


Please use the following list, deleting unnecessary fields
Please use the following list, deleting unnecessary fields
The parameters are listed in the order displayed by the infobox.
<pre>
<pre>
{{Infobox Societies
{{Infobox Societies
|name=
|native_name=
|name_color=
|name_color=
|back_color=
|back_color=
|image=
|image_size=
|border_color=
|border_color=
|label_color=
|label_color=
|value_color=
|value_color=
|name=
|native_name=
|image=
|image_size=
|motto=
|motto=
|established=
|established=
|staff=
|president=
|president=
|vice_president=
|vice_president=
Line 35: Line 35:
}}
}}
</pre>
</pre>
== Parameters ==
The parameters below are listed in the order displayed by the infobox.
=== Name ===
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)
=== Image ===
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 ===
The data in most of the infobox is displayed in pairs, a label and a value. If
; 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 ===
List the date the society was established.
; established    : Mandatory parameter. This can be just the year or a precise date.
=== 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
; employees    : (optional) the number of employees
; volunteers      : (optional) the number of volunteers
=== Contact details ===
; address        : (optional) the society's address
; telephone      : (optional) the society's telephone number
=== 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
=== 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.
=== Official website ===
; website              : (optional) url for website, without "http://" and brackets, i.e. www.fhs.org (template automatically generates external link)
=== 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)
=== Footnotes ===
; footnotes        : (optional) text to display next at bottom of infobox (no heading)
=== 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 11:42, 12 August 2010

{{{name}}}
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=
|president=
|vice_president=
|natpresident=
|members=
|employees=
|volunteers=
|address=
|telephone=
|free_label=
|free=
|affiliations=
|website=
|logo=
|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)

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

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
Mandatory parameter. This can be just the year or a precise date.

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
employees
(optional) the number of employees
volunteers
(optional) the number of volunteers

Contact details[edit source]

address
(optional) the society's address
telephone
(optional) the society's telephone number

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

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.

Official website[edit source]

website
(optional) url for website, without "http://" and brackets, i.e. www.fhs.org (template automatically generates external link)

[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)

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: