Difference between revisions of "Template:Organization"

From Openresearch
Jump to: navigation, search
 
(43 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
<pre>{{Organization
 
<pre>{{Organization
 
  | title = Agile Knowledge Engineering and Semantic Web (AKSW)
 
  | title = Agile Knowledge Engineering and Semantic Web (AKSW)
 +
| Field = primary research field of the tool (must be a subcategory of Category:Science), add additional ones via category links
 +
| Type = one of Research group, Institute, University, Company or another subcategory of Category:Organization
 
  | Homepage = aksw.org
 
  | Homepage = aksw.org
 +
| Twitter account = ***
 +
| WIKIPEDIA link = ***
 +
| City = Leipzig
 +
| Country = Germany
 +
| Mailing address =
 
  | Sub organization of = BIS
 
  | Sub organization of = BIS
 
  | has staff count = 15
 
  | has staff count = 15
Line 12: Line 19:
 
  | Start date = 2006
 
  | Start date = 2006
 
  | End date =  
 
  | End date =  
 +
| Logo = the name of an uploaded logo, such as "WikiPipesLogo.png" (use "Upload file" in the toolbar on the left)
 
}}</pre>
 
}}</pre>
 
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
 
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
Line 17: Line 25:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
 
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #86ba0c; color: white" | [[Title::{{{Title|{{PAGENAME}}}}}]]
+
! colspan="2" style="background: #86ba0c; color: white" | [[Title::{{{title|{{PAGENAME}}}}}]]
 +
|-
 +
<!-- *** Basic: *** -->
 +
{{#ifeq:{{{Field|}}}{{{Type|}}}{{{Logo|}}}|||{{Tablesection|Label=Basic Information|Color=#86ba0c|Textcolor=#fff}}}}
 +
|-
 +
{{Tablerow|Label=[[:Category:Science|Field]]:|Value=[[:Category:{{{Field|Science}}}|{{{Field|Science}}}]][[Category:{{{Field|Science}}}]]}}
 +
|-
 +
{{Tablerow|Label=[[:Category:Organization|Type]]:|Value=[[:Category:{{{Type|Organization}}}|{{{Type|Organization}}}]][[Category:{{{Type|Organization}}}]]}}
 
|-
 
|-
 
{{#ifeq:{{{Logo|}}}|||{{Tablelongrow|Value=[[Image:{{{Logo}}}|150px|{{{Name|{{PAGENAME}}}}}]]|Color=white}}}}
 
{{#ifeq:{{{Logo|}}}|||{{Tablelongrow|Value=[[Image:{{{Logo}}}|150px|{{{Name|{{PAGENAME}}}}}]]|Color=white}}}}
 
|-
 
|-
{{#ifeq:{{{has staff count|}}}|||{{Tablerow|Label=Has staff count:|Value=[[Has staff count:={{{has staff count}}}]]}}}}
+
<!-- *** Detail: *** -->
 +
{{#ifeq:{{{has staff count|}}}{{{Sub organization of|}}}{{{Homepage|}}}{{{Twitter account|}}}{{{has leader|}}}|||{{Tablesection|Label=Detail|Color=#86ba0c|Textcolor=#fff}}}}
 
|-
 
|-
{{#ifeq:{{{Sub organization of|}}}|||{{Tablerow|Label=Sub organization of:|Value=[[Sub organization of::{{{Sub organization of}}}]]}}}}
+
{{#ifeq:{{{has staff count|}}}|||{{Tablerow|Label=Staff count:|Value=[[Has staff count::{{{has staff count}}}]]}}}}
 
|-
 
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage:|Value=[[homepage::http://{{{Homepage}}}|{{{Homepage label|{{{Homepage}}}}}}]]}}}}
+
{{#ifeq:{{{Sub organization of|}}}|||{{Tablerow|Label=Belongs to:|Value=[[Sub organization of::{{{Sub organization of}}}]]}}}}
 +
|-
 +
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage:|Value=[[homepage::{{{Homepage}}}|{{{Homepage label|{{{Homepage}}}}}}]]}}}}
 +
|-
 +
{{#ifeq:{{{Has wikipedia link|}}}|||{{Tablerow|Label=Wikipedia:|Value=[[Has wikipedia link::https://{{{Has wikipedia link}}}|{{{Has wikipedia link|{{{Has wikipedia link}}}}}}]]}}}}
 +
|-
 +
{{#ifeq:{{{Twitter account|}}}|||{{Tablerow|Label=Twitter:|Value=[[Has twitter:={{{Twitter account}}}]]}}}}
 
|-
 
|-
 
{{#ifeq:{{{has leader|}}}|||{{Tablerow|Label=Head:|Value=[[has leader::{{{has leader}}}]]}}}}
 
{{#ifeq:{{{has leader|}}}|||{{Tablerow|Label=Head:|Value=[[has leader::{{{has leader}}}]]}}}}
 +
|-
 +
<!-- *** Location: *** -->
 +
{{#ifeq:{{{City|}}}|||{{Tablesection|Label=Location|Color=#86ba0c|Textcolor=#fff}}}}
 +
|-
 +
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City:|Value=[[Has location city::{{{City}}}]], [[Has location address::{{{Street address|}}}]]}}}}
 +
|-
 +
{{#if:{{{City|}}}|{{Tablesection|Label={{#display_map:address={{{Street address|}}}|service=leaflet|width=280|height=280}}<br />}}}}
 
|-
 
|-
 
<!--  *** Events ***  -->
 
<!--  *** Events ***  -->
Line 36: Line 65:
 
| intro=Has member:_ }}|Color=#e4f8b6}}
 
| intro=Has member:_ }}|Color=#e4f8b6}}
 
|-
 
|-
|}</includeonly>
+
<!--  *** TOC ***  -->
 +
{{Tablesection|Label=Table of Contents|Color=#86ba0c|Textcolor=#fff}}
 +
|-
 +
| colspan="2" style="padding-top: 2px; " |<div id="smworgtable-toc" style="font-size: 90%;">__TOC__</div>
 +
|-
 +
<!--  *** Twitter ***  -->
 +
{{#if:{{{Twitter account|}}}|{{Tablesection|Label=Tweets by {{{Twitter account}}}|Color=#86ba0c|Textcolor=#fff}}|}}
 +
|-
 +
| colspan="2" style="padding-top: 2px; " | {{#if:{{{Twitter account|}}}|<div><html><a class="twitter-timeline" height="400" width="350" href="https://twitter.com/</html>{{{Twitter account}}}<html>">Tweets by {{{Twitter account}}}</a> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script></html></div>|}}
 +
|}
 +
 
 +
 
 +
[[Has coordinates::{{#geocode:{{{City|}}}, {{{State|}}}, {{{Country|}}}}}|]]
 +
[[Has coordinates::{{#geocode:{{{Street address|}}}|service=google}}|]]
 +
[[Category:{{{City}}}]]
 +
{{#default_form:Organization}}
 +
</includeonly>

Latest revision as of 23:36, 14 January 2017

This template simplifies the creation of articles about organizations. When inserted in a organization's page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles.

To use this template, insert the following at the beginning of your user page. All fields are strictly optional and should be omitted if no data is given.

Please delete all lines that you do not give useful information for!

{{Organization
 | title = Agile Knowledge Engineering and Semantic Web (AKSW)
 | Field = primary research field of the tool (must be a subcategory of Category:Science), add additional ones via category links
 | Type = one of Research group, Institute, University, Company or another subcategory of Category:Organization
 | Homepage = aksw.org
 | Twitter account = ***
 | WIKIPEDIA link = ***
 | City = Leipzig
 | Country = Germany
 | Mailing address =
 | Sub organization of = BIS
 | has staff count = 15
 | has leader = Sören Auer
 | Start date = 2006
 | End date = 
 | Logo = the name of an uploaded logo, such as "WikiPipesLogo.png" (use "Upload file" in the toolbar on the left)
}}

The order of the fields is not relevant. The template should be given as the first thing on a page.