Vorlage:Wiki user: Unterschied zwischen den Versionen

Aus HochN-Wiki
Wechseln zu:Navigation, Suche
(Auf Basis eines Seitenschemas generiert)
K
Zeile 18: Zeile 18:
 
</pre>
 
</pre>
 
Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen.
 
Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen.
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
+
</noinclude><includeonly>{{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}} {{#set:Coordinates={{#geocode:{{{adresse}}} }} }}
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
+
{{#ask: [[Example data:Berlin]]
 +
| format=leaflet
 +
| ?Coordinates
 +
| ajaxquery = [[Category:Wiki user]]
 +
| ajaxcoordproperty = Coordinates
 +
| zoom=8
 +
| minzoom=5
 +
| maxzoom=8
 +
| center={{{adresse}}}
 +
| height=140
 +
| resizable=yes
 +
}}
 +
 
 +
<div style="width: 25%; float: left; height: 4px"><center>User page</center></div>
 +
<div style="width: 25%; float: left; height: 4px;"><center>[[{{FULLPAGENAME}}/Verschiedenes|Verschiedenes]]</center></div>
 +
<div style="width: 25%; float: left; height: 4px;"><center>[[{{FULLPAGENAME}}/Sandkasten|Sandkasten]]</center></div>
 +
<div style="width: 25%; float: left; height: 4px;"><center>[[Special:PrefixIndex/{{FULLPAGENAME}}/|Unterseiten]]</center></div>
 +
<br style="clear: both" />
 +
<div style="width: 25%; float: left; height: 4px; background: #3465a4"></div>
 +
<div style="width: 25%; float: left; height: 4px; background: #ff950e"></div>
 +
<div style="width: 25%; float: left; height: 4px; background: #a7d7f9"></div>
 +
<div style="width: 25%; float: left; height: 4px; background: #666666"></div>
 +
__NOTOC__
 +
<br style="clear: both" />
 +
<div style="max-width: 50%; float: left">
 +
<span style="line-height: .7em; font-size: 175%">{{{v_name}}} {{{n_name}}}</span><sup><span style="font-size: 125%>({{FULLPAGENAME}})</span></sup><br>
 +
</div>
 +
 
 +
{| style="width: 260px; font-size: 90%; border: 1px solid rgb(112,113,115); background-color: white; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 +
! style="text-align: center; background-color:rgb(176,188,0); color: white" colspan="2" |<span style="font-size: larger;">{{#if:{{{homepage|}}} | [{{{homepage}}} {{{v_name}}} {{{n_name}}}] | {{{v_name}}} {{{n_name}}}}}</span>
 +
|- <!-- *** Portrait *** -->
 +
{{#if:{{{portrait|{{{portrait|}}}}}}|
 +
{{Tablelongrow|Value=[[Datei:{{{portrait|}}}|110px]] }} }}
 +
|-<!-- *** Name and Mail *** -->
 +
{{Tablesection|Label=Name|Color=rgb(210,213,127)|Textcolor=rgb(0,73,91)}}
 +
{{Tablelongrow|Value={{{ak_titel|}}} {{{v_name}}} {{{n_name}}} {{#if:{{{email|}}}|[{{{email}}} EMail]}} }} {{#set:Foaf:name={{{v_name}}} {{{n_name}}}|Vorname={{{v_name|}}}|Nachname={{{n_name|}}}|EMail={{{email|}}} }}
 +
|-<!-- *** Hochschule *** -->
 +
{{#if:{{{hs|{{{hs|}}}}}}|{{Tablesection|Label=Hochschule|Color=rgb(210,213,127)|Textcolor=rgb(0,73,91)}}}}
 
|-
 
|-
{{#if:{{{portrait|}}}|! Portrait
+
{{#if:{{{hs|{{{hs|}}}}}}|
{{!}} {{{portrait|}}} }}
+
{{Tablelongrow|Value=[[Gehört zu Hochschule::{{{hs|}}}]] }} }}
{{#if:{{{ak_titel|}}}|
+
|- <!-- *** Institut *** -->
{{!}}-
+
{{#if:{{{institut|{{{institut|}}}}}}|{{Tablesection|Label=Institut|Color=rgb(210,213,127)|Textcolor=rgb(0,73,91)}}}}
! Titel
 
{{!}} [[Hat akademische Titel::{{{ak_titel|}}}]]
 
}}
 
 
|-
 
|-
! Vorname
+
{{#if:{{{institut|{{{institut|}}}}}}|
| [[Vorname::{{{v_name|}}}]]
+
{{Tablelongrow|Value={{#arraymap:{{{institut|}}}|;|x|[[Arbeitet an Institut::x]]}} }} }}
 +
|- <!-- *** Position *** -->
 +
{{#if:{{{pos|{{{pos|}}}}}}|{{Tablesection|Label=Position|Color=rgb(210,213,127)|Textcolor=rgb(0,73,91)}}}}
 
|-
 
|-
! Nachname
+
{{#if:{{{pos|{{{pos|}}}}}}|
| [[Nachname::{{{n_name|}}}]]
+
{{Tablelongrow|Value={{#arraymap:{{{pos|}}}|,|x|[[Hat HS Position::x]]}} }} }}
{{#if:{{{email|}}}|
 
{{!}}-
 
! EMail
 
{{!}} [[EMail::{{{email|}}}]]
 
}}
 
{{#if:{{{homepage|}}}|
 
{{!}}-
 
! Homepage
 
{{!}} [[Hat Homepage::{{{homepage|}}}]]
 
}}
 
{{#if:{{{hs|}}}|
 
{{!}}-
 
! Hochschule
 
{{!}} [[Gehört zu Hochschule::{{{hs|}}}]]
 
}}
 
{{#if:{{{institut|}}}|
 
{{!}}-
 
! Institut
 
{{!}} {{#arraymap:{{{institut|}}}|;|x|[[Arbeitet an Institut::x]]}}
 
 
 
}}
 
{{#if:{{{pos|}}}|
 
{{!}}-
 
! Position
 
{{!}} {{#arraymap:{{{pos|}}}|,|x|[[Hat HS Position::x]]}}
 
 
 
}}
 
{{#if:{{{adresse|}}}|
 
{{!}}-
 
! Arbeitsanschrift
 
{{!}} [[Hat Adresse::{{{adresse|}}}]]
 
}}
 
 
|}
 
|}
  
 
[[Kategorie:Wiki user]]
 
[[Kategorie:Wiki user]]
 
</includeonly>
 
</includeonly>

Version vom 30. September 2021, 14:41 Uhr

Dies ist die Vorlage „Wiki user“.

Sie hat die folgende Struktur:

{{Wiki user
|portrait=
|ak_titel=
|v_name=
|n_name=
|email=
|homepage=
|hs=
|institut=
|pos=
|adresse=
}}

Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen.

Cookies helfen uns bei der Bereitstellung von HochN-Wiki. Durch die Nutzung von HochN-Wiki erklärst du dich damit einverstanden, dass wir Cookies speichern.