Difference between revisions of "Template:Partner"

From its-wiki.no
Jump to: navigation, search
 
(35 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
Dies ist die Template für 'Partner'. Sie sollte nur über das entsprechende Form verwendet werden: [[Form:Partner]]
+
This is the "Partner" template.
 
+
It should be called in the following format:
 
<pre>
 
<pre>
 
{{Partner
 
{{Partner
|Ort=
+
|Contact person(s):=
|Organisationsart=
+
|Keywords:=
|Logo=
+
|Common Projects:=
|URL=
+
|ResearchGroup=
+
|Geografische Koordinaten=
+
 
}}
 
}}
 
</pre>
 
</pre>
 +
Edit the page to see the template text.
 +
</noinclude><includeonly>
 +
<span style="font-size: 300%;">{{PAGENAME}}</span>
 +
{{#ifexist: File:{{PAGENAME}}.png | [[File:{{PAGENAME}}.png|350px|right|float]] | [[File:Flag.png|200px|right|float]]  ''upload {{PAGENAME}}.png to see your logo'' }}
 +
{| class="wikitable"
 +
! Web:
 +
| {{#arraymap:{{{Web:|}}}|,|xx|[[Web::xx]]}}
 +
|-
 +
! Keywords:
 +
| {{#arraymap:{{{Keywords:|}}}|,|xx|[[Keywords::xx]]}}
 +
<!--- |-
 +
! Projects:
 +
| {{#arraymap:{{{Common Projects:|}}}|,|xx|[[Project::xx]]}}  --->
 +
|}
 +
''this page was created by [[Form:Partner]], and can be edited by [[Special:FormEdit/Partner/{{SUBJECTPAGENAME}}]]''
  
Partner hat folgende ausgehende Propertye:
+
{{#ask: [[Lead partner::{{SUBJECTPAGENAME}}]] | ?Title | format=ul
 
+
| intro='''{{PAGENAME}} leads:'''&#10;
* [[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
+
 
}}
 
}}
|
+
<!---- LinkedIn --->
{{#tag:imagemap | Bild:{{{Logo}}}{{!}}100px
+
<span STYLE="float:right"> {{#widget:LinkedIn Company|name={{#arraymap:{{{LinkedIn_name|}}}|,|xx|xx}}}} </span>
default [[ {{PAGENAME}} ]]
+
<!--- Project Participation --->
desc none
+
<!--- {{#ask: [[-Project_Participant.Project::{{{SUBJECTPAGENAME}}}]] |intro=Projects: &#10;  }} --->
}} [[Logo::{{{Logo}}}| ]]  
+
<!---- Activities --->
 +
{{#ask:  [[Partner::{{SUBJECTPAGENAME}}]] [[Task number::+]]
 +
| ?Title
 +
| intro='''{{PAGENAME}} is involved in the following activities:'''&#10;
 
}}
 
}}
</td>
+
<!---- Users---->
<td colspan="1" class="name">
+
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
{{PAGENAME}}
+
{{#ask: [[Partner::{{SUBJECTPAGENAME}}]] [[User::+]]
</td>
+
| ?User Picture
</tr>
+
| ?Prename=
<tr>
+
| ?Name=
<td class="row-left">
+
| ?Headline=
<span class="ein-em">
+
| ?Email= e:
{{#ifeq:{{{Ort|}}}|||[[Ort::{{{Ort}}}]]}}
+
| ?Phone = p:
{{#ifeq:{{{Region|}}}|||[[Region::{{{Region}}}| ]]}}
+
| ?Mobile phone = m:
</span>{{#ifeq:{{{URL|}}}|||<br>[[URL::{{{URL}}}]]}}
+
| ?LinkedIN
{{#ifeq:{{{Organisationsart|}}}|||<br>Organisationsart: [[Organisationsart::{{{Organisationsart}}}]]}}{{#ifeq:{{{Geografische Koordinaten|}}}|||<br/>Geo Position: [[Geografische Koordinaten::{{{Geografische Koordinaten}}}]]}}
+
| ?=<small>see more</small>
</td>
+
| format=template
</tr>
+
| template=Partner User
</table>
+
| intro=Members from {{SUBJECTPAGENAME}}
{{#ask: [[Category:Project]][[Partner::{{PAGENAME}}]]
+
<!--- | mainlabel=-  --->
|intro=<br>{{Rubrik|Projecte}}<div style="margin-left: 2em;">
+
| limit=50
|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>
 
</div>
{{#switch:{{{Organisationsart|}}}
+
[[Category:Partner]]
|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>

Latest revision as of 13:31, 4 August 2020

This is the "Partner" template. It should be called in the following format:

{{Partner
|Contact person(s):=
|Keywords:=
|Common Projects:=
}}

Edit the page to see the template text.