Template:Infobox WorldScouting/sandbox
This is the template sandbox page for Template:Infobox WorldScouting (diff). See also the companion subpage for test cases. |
This template uses Lua: |
{{Infobox WorldScouting}} is meant to be used for all Scouting organizations, associations, sections, sites, etc. It may be added to an article by copy-pasting and completing the blank syntax given below:
Usage
[edit]{{{name}}} | |||
---|---|---|---|
[[File:{{{image}}}|{{{imagesize}}} else 140px|alt={{{alt}}}]] | |||
[[File:{{{image2}}}|{{{imagesize2}}} |alt={{{alt2}}}]] | |||
{{{namelabel1}}} | {{{name1}}} | ||
{{{namelabel2}}} | {{{name2}}} | ||
{{{namelabel3}}} | {{{name3}}} | ||
Theme | {{{theme}}} | ||
Totem | {{{totem}}} | ||
Owner | {{{owner}}} | ||
Age range | {{{age}}} | ||
Headquarters | {{{headquarters}}} | ||
Location | {{{location}}} | ||
[[File:{{{map}}}|{{{mapsize}}} else 140px|{{{mapname}}}]] | |||
Country | {{{country}}} | ||
Coordinates | {{{coords}}} | ||
Camp size | {{{campsize}}} | ||
Founded | {{{f-date}}} | ||
Defunct | {{{defunct}}} | ||
Founder | {{{founder}}} | ||
Awarded for | {{{award-for}}} | ||
Membership | {{{members}}} | ||
{{{chiefscouttitle}}} | {{{chiefscout}}} | ||
{{{chiefscouttitle2}}} | {{{chiefscout2}}} | ||
...... | ...... | ||
Affiliation | {{{affiliation}}} | ||
Governing body | {{{governance}}} | ||
| |||
Website {{{website}}} | |||
{{Infobox WorldScouting
| name =
| image =
| imagesize = <!-- defaults to 140px -->
| alt =
| caption =
| image2 =
| imagesize2 =
| alt2 =
| caption2 =
| namelabel1 =
| name1 =
| namelabel2 =
| name2 =
| namelabel3 =
| name3 =
| theme =
| number =
| totem =
| owner =
| age =
| headquarters =
| location =
| map =
| mapsize = <!-- defaults to 140px -->
| mapname =
| country =
| coords =
| campsize =
| type =
| f-date = <!-- Consider using {{Start date and age|YYYY|MM|DD}} or {{Start date|YYYY|MM|DD}} -->
| defunct = <!-- Consider using {{Start date and age|YYYY|MM|DD}} or {{Start date|YYYY|MM|DD}} -->
| founders = <!-- Set as "yes" to convert the label "Founder" to "Founders" -->
| founder =
| award-for =
| members =
| chiefscouttitle =
| chiefscout =
| chiefscouttitle2 =
| chiefscout2 =
<!--......-->
| chiefscouttitle5 =
| chiefscout5 =
| affiliation =
| governance =
| prev =
| next =
| website =
| portal = <!-- Use to omit portal link by setting to "omit", "off", etc -->
}}
Uniform
[edit]For uniform options, see c:Category:Scouting uniform templates.
To add a uniform image, use
| gender =
| color_body =
| pattern_body =
| color_head =
| pattern_head =
| color_legs =
| pattern_legs =
| uniform_caption =
To add two uniform images, use
| gender1 =
| color_body1 =
| pattern_body1 =
| color_head1 =
| pattern_head1 =
| color_legs1 =
| pattern_legs1 =
| uniform_caption1 =
| gender2 =
| color_body2 =
| pattern_body2 =
| color_head2 =
| pattern_head2 =
| color_legs2 =
| pattern_legs2 =
| uniform_caption2 =
To add a third uniform image, use
| gender3 =
| color_body3 =
| pattern_body3 =
| color_head3 =
| pattern_head3 =
| color_legs3 =
| pattern_legs3 =
| uniform_caption3 =
Prefilled samples
[edit] {{Infobox WorldScouting
| name =
| image =
| type = council
| number =
| owner = [[Boy Scouts of America]]
| headquarters =
| location =
| country = United States
| coords =
| f-date =
| defunct =
| founder =
| members =
| chiefscouttitle = President
| chiefscout =
| chiefscouttitle2 = Council Commissioner
| chiefscout2 =
| chiefscouttitle3 = Scout Executive
| chiefscout3 =
| website =
}}
{{Infobox WorldScouting
| name =
| image =
| type = campsite
| location =
| coords =
| campsize =
| f-date =
| defunct =
| founder =
| members =
| chiefscouttitle = Ranger
| chiefscout =
| chiefscouttitle2 =
| chiefscout2 =
| chiefscouttitle3 =
| chiefscout3 =
| website =
| portal = omit
}}
{{Infobox WorldScouting
| name =
| image =
| totem =
| location =
| coords =
| f-date =
| defunct =
| founders =
| founder =
| members =
| chiefscouttitle = Lodge Chief
| chiefscout =
| chiefscouttitle2 = Lodge Adviser
| chiefscout2 =
| chiefscouttitle3 = Staff Adviser
| chiefscout3 =
| website =
| portal = omit
}}
Parameters
[edit]- name
- Name of the Scout organization, event, campsite or award. Defaults to the current page name if not supplied.
- image
- Image name; File:Scout logo3.svg may be used for universal articles, but should never be used for organizations where there is a proper logo.
- imagesize
- Image size; default is 140px.
- alt
- Image alt text; defaults to name.
- caption
- Image caption; format per Wikipedia:Captions.
- image2
- Image using full image markup or a template such as {{multiple image}}.
- caption2
- image2 caption; format per Wikipedia:Captions.
- namelabel1
- Optional label for name1.
- name1
- Alternate name1; may be an officially used translation or a full legal name; centered if namelabel is not used.
- namelabel2
- Optional label for name2.
- name2
- Alternate name2.
- namelabel3
- Optional label for name3.
- name3
- Alternate name3.
- theme
- Theme.
- totem
- Totem of the lodge or camp; may be wikilinked.
- owner
- Name of owner; may be wikilinked.
- age
- Age range; generally used with program type; use {{frac}} for fractions.
- headquarters
- Headquarters name or location; may be wikilinked.
- location
- City or place; may be wikilinked.
- map
- Map image name.
- mapsize
- Map size; default is 140px.
- mapname
- Map caption; format per Wikipedia:Captions.
- country
- Name of the country; may be wikilinked; do not use flag icons.
- coords
- Coordinates of the location, normally the entrance, the main building or the geographic center; format using {{coord}}.
- campsize
- Physical size of the camp; format using {{convert}}.
- type
- organization (default), event, campsite, award, emblem, section, program, council, county, area, region; modifies the f-date and members labels.
- f-date
- Date of foundation; use {{start date}}; the label is set by the type parameter :event shows "Date", events shows "Dates", award and emblem show "Created", all others show "Founded".
- defunct
- Date of dissolution; use {{end date}}.
- founders
- If set as "yes", the label used to identify the founder field is "Founders"; default is blank and the label "Founder".
- founder
- Name of the founder or founders.
- award-for
- Award criteria.
- members
- Number of members, recipients, or attendees; may include separate numbers for youth and adults; a reference is encouraged.
The chiefscout fields are for primary leaders; do not include assistants, deputies, etc.:
- chiefscouttitle
- Title of organizational head; may be wikilinked; defaults to Chief Scout.
- chiefscout
- Name of organizational head; may be wikilinked; use only for the key leaders, not assistants or the leaders of subgroups.
- chiefscouttitle2
- Title of organizational head; may be wikilinked.
- chiefscout2
- Name of organizational head.
- ......
- chiefscouttitle5
- Title of organizational head; may be wikilinked.
- chiefscout5
- Name of organizational head.
- affiliation
- Name of affiliated Scouting national federation or international association. International associations include:
- prev
- Previous section or event; should be wikilinked.
- next
- Next section or event; should be wikilinked.
- website
- Official website only; use {{URL}}. Unofficial websites should be placed in the article's "External links" section.
- number
- The council number.
- portal
- Set to "omit", "off", etc. to suppress the portal link at the bottom of the template (e.g. when it appears more than once within an article).
Multiple entries
[edit]When a field such as founder or chiefscout requires multiple entries use one of these methods:
Markup | Renders as |
---|---|
{{Infobox WorldScouting | name = Test | affiliation = {{plainlist| * [[World Association of Girl Guides and Girl Scouts]] * [[World Organization of the Scout Movement]] }} }} |
|
Markup | Renders as |
---|---|
{{Infobox WorldScouting | name = Test | affiliation = {{flatlist| * [[World Association of Girl Guides and Girl Scouts]] * [[World Organization of the Scout Movement]] }} }} |
|
Markup | Renders as |
---|---|
{{Infobox WorldScouting | name = Test | affiliation = * [[World Association of Girl Guides and Girl Scouts]] * [[World Organization of the Scout Movement]] }} |
|
Portal
[edit]This template adds the Scouting portal to the end of the infobox; do not include {{portal|Scouting}}
in articles that use this template.
Microformat
[edit]- Subtemplates
- Use {{Start date and age}} for the date on which an organisation was "established", "founded", "opened" or otherwise started, unless that date is before 1583 CE.
- Use {{URL}} for an organisation's URL.
Please do not remove instances of these subtemplates.
- Classes used
The HTML classes of this microformat include:
- adr
- agent
- category
- country-name
- extended-address
- fn
- geo
- label
- latitude
- locality
- longitude
- nickname
- note
- org
- region
- street-address
- url
- vcard
nor collapse nested elements which use them.