Difference between revisions of "Template:Organization"

From Openresearch
Jump to: navigation, search
m
 
(2 intermediate revisions by 2 users not shown)
Line 39: 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:{{{Has wikipedia link|}}}|||{{Tablerow|Label=Has wikipedia link:|Value=[[Has wikipedia link::https://{{{Has wikipedia link}}}|{{{Has wikipedia link|{{{Has wikipedia link}}}}}}]]}}}}
+
{{#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 account:|Value=[[Has twitter:={{{Twitter account}}}]]}}}}
+
{{#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 71: Line 71:
 
|-
 
|-
 
<!--  *** Twitter ***  -->
 
<!--  *** Twitter ***  -->
{{Tablesection|Label=Tweets by {{{Twitter account}}}|Color=#86ba0c|Textcolor=#fff}}
+
{{#if:{{{Twitter account|}}}|{{Tablesection|Label=Tweets by {{{Twitter account}}}|Color=#86ba0c|Textcolor=#fff}}|}}
 
|-
 
|-
| colspan="2" style="padding-top: 2px; " | <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>
+
| 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>|}}
 
|}
 
|}
  
Line 80: Line 80:
 
[[Has coordinates::{{#geocode:{{{Street address|}}}|service=google}}|]]
 
[[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.