Difference between revisions of "Template:Partner"

From its-wiki.no
Jump to: navigation, search
(Created page with "<noinclude> This is the "Partner" template. It should be called in the following format: <pre> {{Partner |User= |Keywords= |Project= }} </pre> Edit the page to see the template t...")
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Partner" template.
+
Dies ist die Template für 'Partner'. Sie sollte nur über das entsprechende Form verwendet werden: [[Form:Partner]]
It should be called in the following format:
+
 
 
<pre>
 
<pre>
 
{{Partner
 
{{Partner
|User=
+
|Ort=
|Keywords=
+
|Organisationsart=
|Project=
+
|Logo=
 +
|URL=
 +
|ResearchGroup=
 +
|Geografische Koordinaten=
 
}}
 
}}
 
</pre>
 
</pre>
Edit the page to see the template text.
 
</noinclude><includeonly>
 
{| class="wikitable"
 
! Contact Person
 
| [[User::{{{User|}}}]]
 
|-
 
! Keywords
 
| {{#arraymap:{{{Keywords|}}}|,|y|[[Text::y]]}}
 
|-
 
! Common Projects
 
| {{#arraymap:{{{Project|}}}|,|y|[[Text::y]]}}
 
|-
 
! Depiction
 
| {{#arraymap:{{{Depiction|}}}|,|x|[[Has image::Image:x| ]] [[Image:x|thumb]]}}
 
|}
 
  
[[Category:Partner]]
+
Partner hat folgende ausgehende Propertye:
 +
 
 +
* [[Property:Ort|Ort]]
 +
* [[Property:Organisationsart|Organisationsart]]
 +
* [[Property:Logo|Logo]]
 +
* [[Property:URL|URL]]
 +
* [[Property:ResearchGroup|ResearchGroup]]
 +
* [[Property:Geografische Koordinaten|Geografische Koordinaten]]
 +
 
 +
</noinclude><includeonly><table class="ptabelle" cellpadding="1" cellspacing="1">
 +
<tr>
 +
<td rowspan="2" class="foto">
 +
{{#ifeq:{{{Logo|}}}
 +
|
 +
|
 +
{{#tag:imagemap | Bild:bild-platzhalter.gif{{!}}100px
 +
default [[ {{PAGENAME}} ]]
 +
desc none
 +
}}
 +
|
 +
{{#tag:imagemap | Bild:{{{Logo}}}{{!}}100px
 +
default [[ {{PAGENAME}} ]]
 +
desc none
 +
}} [[Logo::{{{Logo}}}| ]]
 +
}}
 +
</td>
 +
<td colspan="1" class="name">
 +
{{PAGENAME}}
 +
</td>
 +
</tr>
 +
<tr>
 +
<td class="row-left">
 +
<span class="ein-em">
 +
{{#ifeq:{{{Ort|}}}|||[[Ort::{{{Ort}}}]]}}
 +
{{#ifeq:{{{Region|}}}|||[[Region::{{{Region}}}| ]]}}
 +
</span>{{#ifeq:{{{URL|}}}|||<br>[[URL::{{{URL}}}]]}}
 +
{{#ifeq:{{{Organisationsart|}}}|||<br>Organisationsart: [[Organisationsart::{{{Organisationsart}}}]]}}{{#ifeq:{{{Geografische Koordinaten|}}}|||<br/>Geo Position: [[Geografische Koordinaten::{{{Geografische Koordinaten}}}]]}}
 +
</td>
 +
</tr>
 +
</table>
 +
{{#ask: [[Category:Project]][[Partner::{{PAGENAME}}]]
 +
|intro=<br>{{Rubrik|Projecte}}<div style="margin-left: 2em;">
 +
|outro=</div>
 +
| ?Kurzname
 +
| ?Logo
 +
| ?URL
 +
| ?Ende
 +
|template=Projectliste
 +
|link=none
 +
|format=template
 +
}}
 +
{{#ifloggedin:
 +
{{#ifeq:{{#show:{{PAGENAME}}|?PersonMitKontakt}}|||
 +
{{#ask:[[{{PAGENAME}}]]
 +
|?PersonMitKontakt=
 +
|intro=<br />{{Rubrik|Personen  des Kooperationspartners}}<div style="margin-left: 2em;">
 +
|outro=</div>
 +
|format=table
 +
|headers=hide
 +
}}
 +
:<small>Kontaktperson des AIFB in Klammern.</small>
 +
}}
 +
{{#ifeq:{{#show:{{PAGENAME}}|?Kontaktperson}}|||
 +
{{#ask:[[{{PAGENAME}}]]
 +
|?Kontaktperson=
 +
|intro=<br /> {{Rubrik|Kontaktperson des AIFB}}<div style="margin-left: 2em;">
 +
|outro=</div>
 +
|format=table
 +
|headers=hide
 +
}}
 +
}}
 +
|}}<!-- Ende ifloggedin-->
 +
 
 +
{{#ifeq:{{{ResearchGroup|}}}|||<br />
 +
{{Rubrik|ResearchGroup}}
 +
<div style="margin-left: 2em;">{{#arraymap:{{{ResearchGroup|}}}|,|x|[[ResearchGroup::x]]|,&nbsp;}}}}
 +
</div>
 +
{{#switch:{{{Organisationsart|}}}
 +
|Forschungseinrichtungen=<menu>Partner Wissenschaft</menu>
 +
|Industrieunternehmen=<menu>Partner Wirtschaft</menu>
 +
|default <menu>Kooperationen</menu>
 +
}}
 +
<menu>Kooperationen</menu>
 +
[[Category:Partner]][[Category:Kooperationen]]<!-- redundant aus legacy gründen -->
 +
{{HideHeading1}}
 +
{{#createpageifnotex:{{BASEPAGENAME}}/en|<nowiki>{{Partner/en}}</nowiki>}}
 
</includeonly>
 
</includeonly>

Revision as of 16:56, 20 May 2010

Dies ist die Template für 'Partner'. Sie sollte nur über das entsprechende Form verwendet werden: Form:Partner

{{Partner
|Ort=
|Organisationsart=
|Logo=
|URL=
|ResearchGroup=
|Geografische Koordinaten=
}}

Partner hat folgende ausgehende Propertye: