Difference between revisions of "Template:Group"

From Wikispooks
Jump to navigation Jump to search
m (f)
(Add Infobox orgnization to display the data)
Line 12: Line 12:
 
|headquarters      = Group headquarters (if any)  ''([[Property:Has headquarters]])''
 
|headquarters      = Group headquarters (if any)  ''([[Property:Has headquarters]])''
 
|logo              = Group logo ''([[Property:Has logo]])''
 
|logo              = Group logo ''([[Property:Has logo]])''
|image            = Logo or membership image ''([[Property:Has image]])''
+
|image            = Image for use in the infobox ''([[Property:Has image]])''
 +
|caption          = Caption for the image
 
|type              = {international,...} ''([[Property:Has groupType]])''
 
|type              = {international,...} ''([[Property:Has groupType]])''
 
|start            = When the group was founded ''([[Property:Start]])''
 
|start            = When the group was founded ''([[Property:Start]])''
Line 22: Line 23:
 
|{{GREEN|subGroups}} = Comma separated list of subGroups  ''([[Property:Has subGroup]])''
 
|{{GREEN|subGroups}} = Comma separated list of subGroups  ''([[Property:Has subGroup]])''
 
|ON_aim            = ON Aim of the group  ''([[Property:ON has aim]])''
 
|ON_aim            = ON Aim of the group  ''([[Property:ON has aim]])''
}}
+
|abbreviation      =
{{Stub}}
+
|motto            =
</noinclude><includeonly>[[Constitutes::group| ]]{{#if: {{{logo|}}}|[[Image:{{{logo|}}}|right|240px]][[Has logo::Image:{{{logo}}}| ]]}}{{Description|{{{description|}}}}}{{#if: {{{start|}}}|[[Start::{{{start}}}| ]]}}{{#if: {{{aim|}}}|[[Has aim::{{{aim}}}| ]]}}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{#if: {{{type|}}}|[[Has groupType::{{{type}}}| ]]}}{{#if: {{{headquarters|}}}|[[Has headquarters::{{{headquarters}}}| ]]}}{{#if: {{{image|}}}|[[image:{{{image|}}}|right|240px]][[Has image::Image:{{{image}}}| ]]}}{{#if: {{{website|}}}|[[Has website::{{{website}}}| ]]}}{{#if: {{{wikipedia|}}}|[[Has wikipediaPage::{{{wikipedia}}}| ]]}}{{SMWDefaultMarkup}}{{#if: {{{ON_aim|}}}|[[ON_has aim::{{{ON_aim}}}| ]]}}{{ArrayMapProperty|{{{founders|}}}|Has founder}}{{ArrayMapProperty|{{{members|}}}|Has member}}{{ArrayMapProperty|{{{subGroups|}}}|Has subGroup}}</includeonly>
+
|key_people        =
 +
|budget            =
 +
}}--
 +
From the Wikipedia infobox:<br/>
 +
</poem>|services, |language, |image_border, |former_name, |native_name, |size, |alt, |map, |map_size, |map_alt, |map_caption, |map2 , |predecessor, |successor, |merger, |merged, |status, |professional_title, |location, |coords, |region_served, |membership, |general, |leader_name, |board_of_directors, |main_organ, |parent_organization, |subsidiaries, |affiliations, |num_staff, |num_volunteers, |slogan, |remarks
 +
</noinclude><includeonly>[[Constitutes::group| ]]{{#if: {{{logo|}}}|[[Image:{{{logo|}}}|right|240px]][[Has logo::Image:{{{logo}}}| ]]}}{{Description|{{{description|}}}}}{{#if: {{{start|}}}|[[Start::{{{start}}}| ]]}}{{#if: {{{aim|}}}|[[Has aim::{{{aim}}}| ]]}}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{#if: {{{type|}}}|[[Has groupType::{{{type}}}| ]]}}{{#if: {{{headquarters|}}}|[[Has headquarters::{{{headquarters}}}| ]]}}{{#if: {{{image|}}}|[[image:{{{image|}}}|right|240px]][[Has image::Image:{{{image}}}| ]]}}{{#if: {{{website|}}}|[[Has website::{{{website}}}| ]]}}{{#if: {{{wikipedia|}}}|[[Has wikipediaPage::{{{wikipedia}}}| ]]}}{{SMWDefaultMarkup}}{{#if: {{{ON_aim|}}}|[[ON_has aim::{{{ON_aim}}}| ]]}}{{ArrayMapProperty|{{{founders|}}}|Has founder}}{{ArrayMapProperty|{{{members|}}}|Has member}}{{ArrayMapProperty|{{{subGroups|}}}|Has subGroup}}<!--
 +
Wikipedia Display template
 +
-->{{Infobox organization
 +
| name                = {{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}
 +
| native_name        = {{{native_name|}}}
 +
| former_name        = {{{former_name|}}}
 +
| image              = {{{image|}}}
 +
| image_border        = {{{image_border|}}}
 +
| size                = {{{size|}}}<!-- default 200px -->
 +
| alt                = {{{alt|}}}
 +
| caption            = {{{caption|}}}
 +
| map                = {{{map|}}}
 +
| map_size            = {{{map_size|}}}<!-- map size, optional, default 250px -->
 +
| map_alt            = {{{map_alt|}}} <!-- map alt text -->
 +
| map_caption        = {{{map_caption|}}}
 +
| map2                = {{{map_2|}}}
 +
| abbreviation        = {{{abbreviation|}}}
 +
| motto              = {{{motto|}}}
 +
| predecessor        = {{{predecessor|}}}
 +
| successor          = {{{successor|}}}
 +
| formation          = {{{start|}}}
 +
| founder            = {{ArrayMapListLink|{{{founders|}}}}}
 +
| extinction          = {{{end|}}}
 +
| merger              = {{{merger|}}}
 +
| merged              = {{{merged|}}}
 +
| type                = {{{type|}}}
 +
| status              = {{status|}}}<!-- ad hoc, treaty, foundation, etc -->
 +
| purpose            = {{{aim|}}}
 +
| professional_title  = {{{|professional_title|}}}<!-- for professional associations -->
 +
| headquarters        = {{{headquarters|}}}
 +
| location            = {{{location|}}}
 +
| coords              = {{{coords|}}}<!-- Coordinates of location using {{Coord}} -->
 +
| region_served      = {{{region_served|}}}
 +
| services            = {{{services|}}}
 +
| membership          = {{{membership|}}}
 +
| language            = {{{language|}}}
 +
| general            = {{{general|}}}<!-- Secretary General -->
 +
<!-- TO DO, as and when: Replace the below with something more SMWish -->
 +
| leader_title        =
 +
| leader_name        = {{{leader_name|}}}
 +
| leader_title2      =
 +
| leader_name2        =
 +
| leader_title3      =
 +
| leader_name3        =
 +
| leader_title4      =
 +
| leader_name4        =
 +
| board_of_directors  = {{{board_of_directors|}}}
 +
| key_people          = {{{key_people|}}}
 +
| main_organ          = {{{main_organ|}}}<!-- gral. assembly, board of directors, etc -->
 +
<!-- TO DO: SMW Work here -->
 +
| parent_organization = {{{parent_organization|}}}<!-- or | parent_organisation = , if one -->
 +
| subsidiaries        = {{{subsidiaries|}}}
 +
| affiliations        = {{{affiliations|}}}
 +
| budget              = {{{budget|}}}
 +
| num_staff          = {{{num_staff|}}}
 +
| num_volunteers      = {{{num_volunteers|}}}
 +
| slogan              = {{{slogan|}}}
 +
| website            = {{{{{url|{{{website|}}}}}
 +
| remarks            = {{{remarks|}}}
 +
| footnotes          = {{{description|}}}
 +
}}</includeonly>

Revision as of 15:14, 1 March 2014

This template provides a standard format for organisations, societies etc.. It should be included at the top of all pages about organisations.
It is still very stub class. Contributions welcome.
The blue parameters not be marked up at all; they should be Wikispooks page names (whether or not the page yet exists).
Usage: All sections are optional.

{{Group
|description = <500 word summary (Property:Description)
|name = Formal name of the group (Property:Has name)
|aim = Aim of the group (Property:Has aim)
|headquarters = Group headquarters (if any) (Property:Has headquarters)
|logo = Group logo (Property:Has logo)
|image = Image for use in the infobox (Property:Has image)
|caption = Caption for the image
|type = {international,...} (Property:Has groupType)
|start = When the group was founded (Property:Start)
|end = When the group was finished, if ever (Property:End)
|website = URL of the group's website, if any (Property:Has website)
|wikipedia = URL of the group's Wikipedia page, if any (Property:Has wikipediaPage)
|founders= Comma separated list of founders (Property:Has founder)
|members = Comma separated list of current members (Property:Has member)
|subGroups = Comma separated list of subGroups (Property:Has subGroup)
|ON_aim = ON Aim of the group (Property:ON has aim)
|abbreviation =
|motto =
|key_people =
|budget =
}}--
From the Wikipedia infobox:

|services, |language, |image_border, |former_name, |native_name, |size, |alt, |map, |map_size, |map_alt, |map_caption, |map2 , |predecessor, |successor, |merger, |merged, |status, |professional_title, |location, |coords, |region_served, |membership, |general, |leader_name, |board_of_directors, |main_organ, |parent_organization, |subsidiaries, |affiliations, |num_staff, |num_volunteers, |slogan, |remarks