Template:Infobox WorldScouting: Difference between revisions

From ScoutWiki, For Everyone, Everywhere involved with Scouting and Guiding...
Jump to navigation Jump to search
m (Copied from Wikipedia, to be ScoutWikized)
No edit summary
 
(17 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:18em; font-size: 95%; text-align: left;"
{{Infobox
|-
! colspan="2" style="font-size: larger; text-align: center;" | {{#switch: {{{type|}}} | award = Scouting award | event = Scouting event | campsite = Scouting campsite | organization = Scouting organization | Scouting organization}}
|-
| colspan="2" style="font-size: smaller; text-align: center;" | {{#if:{{{image|}}}
  | [[image:{{{image}}}|{{{image-size|{{{image_size|{{{imagesize|140px}}}}}}}}}]]<br>{{{caption|}}}
  | <!--[[Image:Scout logo2.svg|140px|Scouting]]-->
}}
|-
! colspan="2" style="background-color:#798050; text-align:center;" | <font color="#f9f9f9">{{#switch: {{{type|}}} | award = Award data | event = Event data | campsite = Campsite data | organization = Organizational data | Organizational data}}</font>
|-
! Name
| {{{name}}}
|-
{{#if: {{{headquarters|}}}|
! Headquarters
{{!}} {{{headquarters|}}}}}
|-
{{#if: {{{location|}}}|
! Location
{{!}} {{{location|}}}}}
|-
! Country
| {{{country}}}
|-
! {{#switch:{{{type|}}}| organization = Founded | event = Date(s) | campsite = Founded | Founded}}
| {{{f-date}}}
|-
{{#if: {{{founder|}}}|
! Founder
{{!}} {{{founder|}}}}}
|-
{{#if: {{{award-for|}}}|
! Awarded for
{{!}} {{{award-for|}}}}}
|-
{{#if: {{{members|}}}|
! {{#switch:{{{type|}}} | award = Recipients | event = Attendance | Membership}}
{{!}} {{{members|}}}}}
|-
{{#if: {{{chiefscout|}}}|
{{#if: {{{chiefscouttitle|}}}
  |! {{{chiefscouttitle|}}}
  |! Chief Scout
}}
{{!}} {{{chiefscout|}}}}}
|-
{{#if: {{{owner|}}}|
! Owner
{{!}} {{{owner|}}}}}
|-
| colspan="2" style="background-color:#798050; text-align:center;" |
|}<noinclude>
This template is to be used for all Scouting organizations (groups, troops, sites, etc).


Usage:<br/>
|datastyle  = class="hlist" style="margin-left: 0"
<code><nowiki>{{infobox WorldScouting</nowiki><br/>
 
| type      = organization or event or campsite or award (defaults to organization)<br/>
|bodystyle  = width:{{#if:{{{box_width|}}}|{{{box_width}}}|20em}}; font-size:95%; text-align:left;
| image      = Picture name (optional) (PNG or SVG format preferred)<br/>
 
| image-size = Image size, defaults (strongly recommended) to 140px<br />
|abovestyle = background-color:#FFDEAD; text-align:center; font-size:125%;
| caption    = Caption to the picture (optional)<br/>
|above      = '''{{#if:{{{name<includeonly>|</includeonly>}}}|{{{name}}}|{{PAGENAME}}}}'''
| . Use English name of organization if applicable<br/>
 
| name      = Name of the Scout organization in original language<br/>
|imagestyle = padding:4pt; line-height:1.25em; text-align:center; font-size:8pt; {{#if:{{{image-bgcolor|}}}|background-color:{{{image-bgcolor}}}; }}
| headquarters = Headquarters name or location (optional)<br/>
|image      = {{#if:{{{image<includeonly>|</includeonly>}}}|[[File:{{{image}}}|{{px|{{{image-size|}}}|140}}|{{#if:{{{name}}}|{{{name}}}|{{PAGENAME}}}}]]}}
| location   = City or place (optional)<br/>
 
| country    = Name of the country this organization is in<br/>
|image2={{{image2<includeonly>|</includeonly>}}}
| f-date     = Date of foundation (wikilink when a specific date)<br/>
|caption2={{{caption2<includeonly>|</includeonly>}}}
| founder    = Name of the founder (optional)<br/>
 
| award-for  = What is the award for<br/>
|captionstyle = adding-top:2pt;
| members    = Number of members, recipients, or attendants (optional)<br/>
|caption    = {{{caption<includeonly>|</includeonly>}}}
| chiefscouttitle = Formal title of below (default Chief Scout)</br>
 
| chiefscout = name of chief scout/guide, head of organization (optional)<br/>
|labelstyle = padding:0.2em 1.0em 0.2em 0.2em; background:transparent; line-height:1.2em; text-align:left; font-size:90%;
| . If the organization has more than one such person (e.g., both a Chief Scout<br/>
|datastyle  = padding:0.2em; line-height:1.3em; vertical-align:middle; font-size:90%;
| . and a president) it is recommended to follow the example of the [[World Organization of the Scout Movement|WOSM]] entry<br/>
 
| owner      = Name of owner (optional)<br/>
|label1  = {{{namelabel1<includeonly>|</includeonly>}}}
}}</code>
|data1  = {{{name1<includeonly>|</includeonly>}}}
 
|label2  = {{{namelabel2<includeonly>|</includeonly>}}}
|data2  = {{{name2<includeonly>|</includeonly>}}}
 
|label3  = {{{namelabel3<includeonly>|</includeonly>}}}
|data3  = {{{name3<includeonly>|</includeonly>}}}
 
|label4  = Theme
|data4  = {{{theme<includeonly>|</includeonly>}}}
 
|label5 = Totem
|data5 = {{{totem<includeonly>|</includeonly>}}}
 
|label6  = Owner
|data6  = {{{owner<includeonly>|</includeonly>}}}
 
|label7  = Age range
|data7  = {{{age<includeonly>|</includeonly>}}}
 
|label8  = Headquarters
|data8  = {{{headquarters<includeonly>|</includeonly>}}}
 
|label9  = Location
|data9  = {{{location<includeonly>|</includeonly>}}}
 
|data10  = {{#if:{{{map<includeonly>|</includeonly>}}}|[[File:{{{map}}}|{{px|{{{map-size|}}}|140}}|{{#if:{{{mapname}}}|{{{mapname}}}|}}]]}}
 
|label11  = Country
|data11   = {{{country<includeonly>|</includeonly>}}}
 
|label12  = Coordinates
|data12  = {{{coords<includeonly>|</includeonly>}}}
 
|label13  = {{#switch:{{{type|}}}|event=Date |events=Dates |award=Created |emblem=Created |Founded}}
|data13  = {{{f-date<includeonly>|</includeonly>}}}
 
|label14  = Defunct
|data14  = {{{defunct<includeonly>|</includeonly>}}}
 
|label15  = {{#switch:{{{founders|}}} |yes=Founders |Founder}}
|data15  = {{{founder<includeonly>|</includeonly>}}}
 
|label16 = Awarded for
|data16 = {{{award-for<includeonly>|</includeonly>}}}
 
|label17 = {{#switch:{{{type|}}} |award=Recipients |event=Attendance |campsite=Attendance |Membership}}
|data17  = {{{members<includeonly>|</includeonly>}}}
 
|label18 = {{{chiefscouttitle|Chief Scout}}}
|data18  = {{{chiefscout<includeonly>|</includeonly>}}}
 
|label19 = {{{chiefscouttitle2}}}
|data19  = {{{chiefscout2<includeonly>|</includeonly>}}}
 
|label20 = {{{chiefscouttitle3}}}
|data20  = {{{chiefscout3<includeonly>|</includeonly>}}}
|label21 = {{{chiefscouttitle4}}}
|data21  = {{{chiefscout4<includeonly>|</includeonly>}}}
 
|label22 = Affiliation
|data22  = {{{affiliation<includeonly>|</includeonly>}}}
 
|label23 = Religious Affiliation
|data23 = {{{religion<includeonly>|</includeonly>}}}
 
|label24 = Governing Body
|data24  = {{{governance<includeonly>|</includeonly>}}}
 
|data25  =
{{{!}} cellspacing="0" cellpadding="0" class="multicol" style="background:transparent; width:100%;"
{{!}} width="50%" style="text-align:center; vertical-align:top;" {{!}} {{#if:{{{prev<includeonly>|</includeonly>}}}|'''Previous'''<br />{{{prev<includeonly>|</includeonly>}}} }}
{{!}} width="50%" style="text-align:center; vertical-align:top;" {{!}} {{#if:{{{next<includeonly>|</includeonly>}}}|'''Next'''<br />{{{next<includeonly>|</includeonly>}}} }}
{{!}}}
 
 
|data26  = {{#if:{{{website<includeonly>|</includeonly>}}}
            | '''Website'''<br />{{{website}}} }}
 
| belowstyle = {{#if: {{{portal|}}}| | background-color:#FFDEAD;; text-align:center; font-size:85%; padding-top:4px;}}
| belowclass=noprint
| below = {{#if: {{{portal|}}}| | [[File:ScoutWiki.png|25px|link=|alt=|Scouting]] [[Portal:Scouting|Scouting portal]]}}
}}<noinclude>
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 22:29, 23 March 2015

{{{name}}}
[[File:{{{image}}}|140px|{{{name}}}]]
{{{caption}}}
{{{image2}}}
{{{caption2}}}
{{{namelabel1}}} {{{name1}}}
{{{namelabel2}}} {{{name2}}}
{{{namelabel3}}} {{{name3}}}
Theme {{{theme}}}
Totem {{{totem}}}
Owner {{{owner}}}
Age range {{{age}}}
Headquarters {{{headquarters}}}
Location {{{location}}}
[[File:{{{map}}}|140px|{{{mapname}}}]]
Country {{{country}}}
Coordinates {{{coords}}}
Founded {{{f-date}}}
Defunct {{{defunct}}}
Founder {{{founder}}}
Awarded for {{{award-for}}}
Membership {{{members}}}
Chief Scout {{{chiefscout}}}
{{{chiefscouttitle2}}} {{{chiefscout2}}}
{{{chiefscouttitle3}}} {{{chiefscout3}}}
{{{chiefscouttitle4}}} {{{chiefscout4}}}
Affiliation {{{affiliation}}}
Religious Affiliation {{{religion}}}
Governing Body {{{governance}}}
Previous
{{{prev}}}
Next
{{{next}}}
Website
{{{website}}}

Scouting portal