模板:Infobox WorldScouting/doc
外观
此页面是Template:Infobox WorldScouting的模板文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
{{{name}}} | |||
---|---|---|---|
[[File:{{{image}}}|{{{imagesize}}}否则140px|alt={{{alt}}}|{{{alt}}}]] | |||
[[File:{{{image2}}}|{{{imagesize2}}} |alt={{{alt2}}}|{{{alt2}}}]] | |||
{{{namelabel1}}} | {{{name1}}} | ||
{{{namelabel2}}} | {{{name2}}} | ||
{{{namelabel3}}} | {{{name3}}} | ||
主题 | {{{theme}}} | ||
徽章 | {{{totem}}} | ||
所有者 | {{{owner}}} | ||
年龄范围 | {{{age}}} | ||
总部 | {{{headquarters}}} | ||
所在地 | {{{location}}} | ||
[[File:{{{map}}}|{{{mapsize}}}否则140px|{{{mapname}}}]] | |||
国家或地区 | {{{country}}} | ||
座标 | {{{coords}}} | ||
营地大小 | {{{campsize}}} | ||
创立日期 | {{{f-date}}} | ||
结束日期 | {{{defunct}}} | ||
创始人 | {{{founder}}} | ||
获奖资格 | {{{award-for}}} | ||
会员人数 | {{{members}}} | ||
{{{chiefscouttitle}}} | {{{chiefscout}}} | ||
{{{chiefscouttitle2}}} | {{{chiefscout2}}} | ||
...... | ...... | ||
{{{chiefscouttitle5}}} | {{{chiefscout5}}} | ||
隶属 | {{{affiliation}}} | ||
主管单位 | {{{governance}}} | ||
| |||
网站 {{{website}}} | |||
用法
[编辑]{{Infobox WorldScouting}}是给所有童军相关机构使用的,包含国际组织、各国总会、地方分会、营地等等。用法是把下面的编码复制贴上到条目中,并填上对应资讯。
{{Infobox WorldScouting | name = | image = | imagesize = <!-- 預設為140px --> | alt = | caption = | image2 = | imagesize2 = | alt2 = | caption2 | namelabel1 = | name1 = | namelabel2 = | name2 = | namelabel3 = | name3 | theme = | totem = | owner = | age = | headquarters = | location = | map = | mapsize = <!-- 預設為140px --> | mapname = | country = | coords = | campsize = | type = | f-date = <!-- 記得使用{{Start date and age|YYYY|MM|DD}}或{{Start date|YYYY|MM|DD}} --> | defunct = <!-- 記得使用{{Start date and age|YYYY|MM|DD}}或{{Start date|YYYY|MM|DD}} --> | 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 --> }}
制服
[编辑]要加上制服图像,请使用:
| gender = | color_body = | pattern_body = | color_head = | pattern_head = | color_legs = | pattern_legs = | uniform_caption =
要增加两个制服图像,请使用:
| 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 =
要增加三个制服图像,请使用:
| gender3 = | color_body3 = | pattern_body3 = | color_head3 = | pattern_head3 = | color_legs3 = | pattern_legs3 = | uniform_caption3 =
推荐范例
[编辑]BSA council
{{Infobox WorldScouting | name = | image = | type = council | owner = [[美國童軍]] | headquarters = | location = | country = 美國 | coords = | f-date = | defunct = | founder = | members = | chiefscouttitle = President | chiefscout = | chiefscouttitle2 = Council Commissioner | chiefscout2 = | chiefscouttitle3 = Scout Executive | chiefscout3 = | website = }}
BSA camp — used in council article
{{Infobox WorldScouting | name = | image = | type = campsite | location = | coords = | campsize = | f-date = | defunct = | founder = | members = | chiefscouttitle = Ranger | chiefscout = | chiefscouttitle2 = | chiefscout2 = | chiefscouttitle3 = | chiefscout3 = | website = | portal = omit }}
BSA lodge — used in council article
{{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 }}
参数
[编辑]- 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.
- 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
[编辑]When a field such as founder or chiefscout requires multiple entries use one of these methods:
代码 | 效果 |
---|---|
{{Infobox WorldScouting | name = Test | affiliation = {{plainlist| * [[World Association of Girl Guides and Girl Scouts]] * [[World Organization of the Scout Movement]] }} }} |
|
代码 | 效果 |
---|---|
{{Infobox WorldScouting | name = Test | affiliation = {{flatlist| * [[World Association of Girl Guides and Girl Scouts]] * [[World Organization of the Scout Movement]] }} }} |
|
代码 | 效果 |
---|---|
{{Infobox WorldScouting | name = Test | affiliation = * [[World Association of Girl Guides and Girl Scouts]] * [[World Organization of the Scout Movement]] }} |
|
Portal
[编辑]This template adds the Scouting portal to the end of the infobox; do not include {{portal|Scouting}}
in articles that use this template.
参见
[编辑]微格式
[编辑]这个模板使用了 hCard微格式标记,被标记的组织、机构的详细信息可以被计算机读取,用于自动的对文章进行分类,或者通过专门的阅读器获得信息,以及把信息加入到地址簿。请参看Wikipedia:专题/微格式。
hCard所使用的HTML classes包括:
- adr
- county-name
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- vcard
请不要对这些classes改名或删除!