Difference between revisions of "Template:Organization"

From Openresearch
Jump to: navigation, search
(Undo revision 208197 by Liy1 (talk))
 
(12 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 38: Line 39:
 
{{#ifeq:{{{has staff count|}}}{{{Sub organization of|}}}{{{Homepage|}}}{{{Twitter account|}}}{{{has leader|}}}|||{{Tablesection|Label=Detail|Color=#86ba0c|Textcolor=#fff}}}}
 
{{#ifeq:{{{has staff count|}}}{{{Sub organization of|}}}{{{Homepage|}}}{{{Twitter account|}}}{{{has leader|}}}|||{{Tablesection|Label=Detail|Color=#86ba0c|Textcolor=#fff}}}}
 
|-
 
|-
{{#ifeq:{{{has staff count|}}}|||{{Tablerow|Label=Has staff count:|Value=[[Has staff count::{{{has staff count}}}]]}}}}
+
{{#ifeq:{{{has staff count|}}}|||{{Tablerow|Label=Staff count:|Value=[[Has staff count::{{{has staff count}}}]]}}}}
 
|-
 
|-
{{#ifeq:{{{Sub organization of|}}}|||{{Tablerow|Label=Sub organization of:|Value=[[Sub organization of::{{{Sub organization of}}}]]}}}}
+
{{#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:{{{Homepage|}}}|||{{Tablerow|Label=Homepage:|Value=[[homepage::{{{Homepage}}}|{{{Homepage label|{{{Homepage}}}}}}]]}}}}
 
|-
 
|-
{{#ifeq:{{{Twitter account|}}}|||{{Tablerow|Label=Twitter account:|Value=[[Has twitter:={{{Twitter account}}}]]}}}}
+
{{#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}}}]]}}}}
Line 51: Line 54:
 
{{#ifeq:{{{City|}}}|||{{Tablesection|Label=Location|Color=#86ba0c|Textcolor=#fff}}}}
 
{{#ifeq:{{{City|}}}|||{{Tablesection|Label=Location|Color=#86ba0c|Textcolor=#fff}}}}
 
|-
 
|-
{{#ifeq:{{{Street address|}}}|||{{Tablerow|Label=State:|Value=[[Has location address::{{{Street address|}}}]]}} }}
+
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City:|Value=[[Has location city::{{{City}}}]], [[Has location address::{{{Street address|}}}]]}}}}
|-
 
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City:|Value=[[Has location city::{{{City}}}]]}} }}
 
|-
 
{{#ifeq:{{{State|}}}|||{{Tablerow|Label=State:|Value=[[has location state::{{{State}}}]]}} }}
 
|-
 
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country:|Value=[[has location country::Category:{{{Country}}}|{{{Country}}}]]}} }}
 
 
|-
 
|-
{{#if:{{{City|}}}|{{Tablesection|Label={{#display_map:address={{{City|}}}, {{{Street address|}}} |service=leaflet|width=280|height=280}}<br />}}}}
+
{{#if:{{{City|}}}|{{Tablesection|Label={{#display_map:address={{{Street address|}}}|service=leaflet|width=280|height=280}}<br />}}}}
 
|-
 
|-
 
<!--  *** Events ***  -->
 
<!--  *** Events ***  -->
Line 68: Line 65:
 
| intro=Has member:_ }}|Color=#e4f8b6}}
 
| intro=Has member:_ }}|Color=#e4f8b6}}
 
|-
 
|-
 +
<!--  *** TOC ***  -->
 
{{Tablesection|Label=Table of Contents|Color=#86ba0c|Textcolor=#fff}}
 
{{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>
 
| 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.