الگو:Infobox WorldScouting

از ویکی‌پدیا، دانشنامهٔ آزاد
Infobox WorldScouting
 درگاه پیشاهنگی
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

{{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[ویرایش]

{{{name}}}
[[پرونده:{{{image}}}|{{{imagesize}}} else 140px|جایگزین={{{alt}}}]]
{{{caption}}}
[[پرونده:{{{image2}}}|{{{imagesize2}}}
|جایگزین={{{alt2}}}]]
{{{caption2}}}
{{{namelabel1}}}{{{name1}}}
{{{namelabel2}}}{{{name2}}}
{{{namelabel3}}}{{{name3}}}
موضوع{{{theme}}}
توتم{{{totem}}}
مالک{{{owner}}}
محدودهٔ سنی{{{age}}}
مرکز فرماندهی{{{headquarters}}}
موقعیت{{{location}}}
[[پرونده:{{{map}}}|{{{mapsize}}} else 140px|{{{mapname}}}]]
کشور{{{country}}}
مختصات{{{coords}}}
اندازهٔ کمپ{{{campsize}}}
تاریخ تأسیس{{{f-date}}}
از بین رفته{{{defunct}}}
بنیان‌گذار{{{founder}}}
جوایز{{{award-for}}}
عضویت{{{members}}}
{{{chiefscouttitle}}}{{{chiefscout}}}
{{{chiefscouttitle2}}}{{{chiefscout2}}}
............
{{{chiefscouttitle5}}}{{{chiefscout5}}}
وابستگی{{{affiliation}}}
هیئت مدیره{{{governance}}}
پیشین
{{{prev}}}
پسین
{{{next}}}
وبگاه
{{{website}}}
 درگاه پیشاهنگی
{{Infobox WorldScouting
| name = 
| image = 
| imagesize =  <!-- defaults to 140px -->
| alt = 
| caption = 
| image2 = 
| imagesize2 = 
| alt2 = 
| caption2 = 
| namelabel1 = 
| name1 = 
| namelabel2 = 
| name2 = 
| namelabel3 = 
| name3 = 
| theme = 
| totem = 
| owner = 
| age = 
| headquarters = 
| location = 
| map = 
| mapsize =    <!-- defaults to 140px -->
| mapname = 
| country = 
| coords = 
| campsize = 
| type = 
| f-date = <!-- Consider using {{تاریخ آغاز و سن|YYYY|MM|DD}} or {{تاریخ آغاز|YYYY|MM|DD}} -->
| defunct = <!-- Consider using {{تاریخ آغاز و سن|YYYY|MM|DD}} or {{تاریخ آغاز|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[ویرایش]

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[ویرایش]

BSA council
 {{Infobox WorldScouting
  | name = 
  | image = 
  | type = council
  | owner = [[پیشاهنگی پسران آمریکا]]
  | headquarters = 
  | location = 
  | country = United States
  | 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
 }}

Parameters[ویرایش]

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 = {{فهرست ساده|
* [[World Association of Girl Guides and Girl Scouts]]
* [[World Organization of the Scout Movement]]
}}
}}
Test
وابستگی
 درگاه پیشاهنگی
Horizontal list
نشانه‌گذاری نمایش
{{Infobox WorldScouting
| name = Test
| affiliation = {{فهرست یک‌دست|
* [[World Association of Girl Guides and Girl Scouts]]
* [[World Organization of the Scout Movement]]
}}
}}
Bulleted list
نشانه‌گذاری نمایش
{{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.

Microformat[ویرایش]

کد اچ‌تی‌ام‌ال تولیدشده توسط این الگو محتوی یک میکروفرمت hCard است که جزئیات سازمان را برای رایانه‌ها قابل تجزیه می‌کند.

الگوهای زیرمجموعه[ویرایش]

  • اگر نهاد تاریخ بنیادگذاری یا آغاز یا گشایش یا ... دارد می‌توانید از {{تاریخ آغاز و سن}} استفاده کنید.
  • برای نشانی وبگاه نهاد از {{نشانی وب}} استفاده کنید.
  • اگر نهاد مختصات جغرافیایی دارد از {{Coord}} استفاده کنید برای نمایش ، که دستگاه مختصات جغرافیایی (طول و عرض) با تجزیهٔ دستور نمایش می‌دهد.parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit.

Please do not remove instances of these sub-templates.

Classes[ویرایش]

hCard از کلاس‌های اچ‌تی‌ام‌ال استفاده می‌کند ازجمله موارد زیر:

    • 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.

Tracking category[ویرایش]