Difference between revisions of "Template:Organization"

From Openresearch
Jump to: navigation, search
 
(29 intermediate revisions by 2 users not shown)
Line 10: Line 10:
 
  | Homepage = aksw.org
 
  | Homepage = aksw.org
 
  | Twitter account = ***
 
  | Twitter account = ***
 +
| WIKIPEDIA link = ***
 
  | City = Leipzig
 
  | City = Leipzig
 
  | Country = Germany
 
  | Country = Germany
Line 25: Line 26:
 
{| 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: *** -->
 
<!-- *** Basic: *** -->
 
{{#ifeq:{{{Field|}}}{{{Type|}}}{{{Logo|}}}|||{{Tablesection|Label=Basic Information|Color=#86ba0c|Textcolor=#fff}}}}
 
{{#ifeq:{{{Field|}}}{{{Type|}}}{{{Logo|}}}|||{{Tablesection|Label=Basic Information|Color=#86ba0c|Textcolor=#fff}}}}
Line 34: Line 36:
 
{{#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:{{{Twitter account|}}}|||{{Tablerow|Label=Twitter account:|Value=[[Has twitter:={{{Twitter account}}}]]}}}}
+
{{#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}}}]]}}}}
 
|-
 
|-
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City:|Value=[[Has location city::{{{City}}}]]}}}}
+
<!-- *** Location: *** -->
 +
{{#ifeq:{{{City|}}}|||{{Tablesection|Label=Location|Color=#86ba0c|Textcolor=#fff}}}}
 
|-
 
|-
{{#if:{{{City|}}}|{{Tablesection|Label={{#display_map:{{{City|}}}|service=leaflet|width=280|height=280}}<br />}}}}
+
{{#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 55: Line 65:
 
| intro=Has member:_ }}|Color=#e4f8b6}}
 
| intro=Has member:_ }}|Color=#e4f8b6}}
 
|-
 
|-
 +
<!--  *** 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:{{{Street address|}}}, {{{City|}}}, {{{State|}}}, {{{Country|}}}}}|]]
+
 
 +
 
 +
[[Has coordinates::{{#geocode:{{{City|}}}, {{{State|}}}, {{{Country|}}}}}|]]
 +
[[Has coordinates::{{#geocode:{{{Street address|}}}|service=google}}|]]
 
[[Category:{{{City}}}]]
 
[[Category:{{{City}}}]]
 +
{{#default_form:Organization}}
 
</includeonly>
 
</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.