Difference between revisions of "Template:Organization"
m |
|||
(19 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= | + | {{#ifeq:{{{has staff count|}}}|||{{Tablerow|Label=Staff count:|Value=[[Has staff count::{{{has staff count}}}]]}}}} |
|- | |- | ||
− | {{#ifeq:{{{Sub organization of|}}}|||{{Tablerow|Label= | + | {{#ifeq:{{{Sub organization of|}}}|||{{Tablerow|Label=Belongs to:|Value=[[Sub organization of::{{{Sub organization of}}}]]}}}} |
|- | |- | ||
− | {{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage:|Value=[[homepage:: | + | {{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage:|Value=[[homepage::{{{Homepage}}}|{{{Homepage label|{{{Homepage}}}}}}]]}}}} |
|- | |- | ||
− | {{#ifeq:{{{Twitter account|}}}|||{{Tablerow|Label=Twitter | + | {{#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 53: | Line 56: | ||
{{#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}}}]], [[Has location address::{{{Street address|}}}]]}}}} | ||
|- | |- | ||
− | {{#if:{{{City|}}}|{{Tablesection|Label={{#display_map:address={{{ | + | {{#if:{{{City|}}}|{{Tablesection|Label={{#display_map:address={{{Street address|}}}|service=leaflet|width=280|height=280}}<br />}}}} |
|- | |- | ||
<!-- *** Events *** --> | <!-- *** Events *** --> | ||
Line 62: | 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:{{{ | + | |
+ | |||
+ | [[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.