Difference between revisions of "Template:Group"

From Wikispooks
Jump to navigation Jump to search
(parent_organization from |subGroup)
Line 30: Line 30:
 
--
 
--
 
From the Wikipedia infobox:<br/>
 
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
+
</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|}}}|[[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|}}}|[[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}}<!--
 
</noinclude><includeonly>[[Constitutes::group| ]]{{#if: {{{logo|}}}|[[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|}}}|[[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
 
Wikipedia Display template
Line 80: Line 80:
 
| key_people          = {{{key_people|}}}
 
| key_people          = {{{key_people|}}}
 
| main_organ          = {{{main_organ|}}}<!-- gral. assembly, board of directors, etc -->
 
| main_organ          = {{{main_organ|}}}<!-- gral. assembly, board of directors, etc -->
<!-- TO DO: SMW Work here -->
+
| parent_organization = {{#ask: [[Has subGroup::{{PAGENAME}}]]}}}<!--   {{{parent_organization|}}} or | parent_organisation = , if one -->
| parent_organization = {{{parent_organization|}}}<!-- or | parent_organisation = , if one -->
 
 
| subsidiaries        = {{ArrayMapListLink|{{{subGroups|}}}}}
 
| subsidiaries        = {{ArrayMapListLink|{{{subGroups|}}}}}
 
| affiliations        = {{{affiliations|}}}
 
| affiliations        = {{{affiliations|}}}

Revision as of 16:34, 9 April 2014

This template provides a standard format for organisations, societies etc.. It should be included at the top of all pages about organisations.
It still needs work. Contributions welcome.
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)
|logo_width = (defaults to "250px")
|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, |affiliations, |num_staff, |num_volunteers, |slogan, |remarks