Demo writer (talk | contribs) m (1 revision imported) |
Demo writer (talk | contribs) No edit summary Tag: 2017 source edit |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
* image | * image | ||
* username (if employee exists as user) | * username (if employee exists as user) | ||
* employeepage (if no user exists, but a wikipage for the employee exists)</noinclude><includeonly> | * employeepage (if no user exists, but a wikipage for the employee exists)</noinclude><includeonly><templatestyles src="Employee/styles.css" /> | ||
<div class="employee"> | <div class="employee"> | ||
<div class="eimage">{{#if:{{{image|}}}|[[File:{{{image}}}| | <div class="eimage">{{#if:{{{image|}}} | ||
|<!--image has a value-->{{#ifeq:{{{image|}}}|profileimage | |||
|<!--show profileimage:-->{{#if:{{{username|}}}|[[User:{{{username}}}{{!}}<profileimage username="{{{username|}}}" width="150" height="150" raw="1" />]] | |||
|{{#if:{{{employeepage|}}}|[[{{{employeepage|}}}{{!}}<profileimage username="noexist" width="150" height="150" raw="1" />]]|<profileimage username="{{{username|}}}" width="150" height="150" raw="1" />}} | |||
}} | |||
|<!--show uploaded image:--> | |||
{{#if:{{{username|}}} | |||
|[[File:{{{image|}}}|150px|alt=Photo of {{{name|}}}|link=User:{{{username}}}]] | |||
|{{#if:{{{employeepage|}}}|[[File:{{{image|}}}|150px|alt=Photo of {{{name|}}}|link=User:{{{employeepage}}}]]|[[File:{{{image|}}}|150px|alt=Photo of {{{name|}}}|link=]]}} | |||
}} | |||
}} | |||
|<!--image has no value--><profileimage username="noexist" width="150" height="150" raw="1" /> | |||
}} | |||
</div> | |||
<div class="ename">{{#if:{{{username|}}}|[[User:{{{username}}}{{!}}{{{name}}}]]|{{#if:{{{employeepage|}}}|[[{{{employeepage}}}{{!}}{{{name}}}]]|{{{name}}}}}}}</div> | <div class="ename">{{#if:{{{username|}}}|[[User:{{{username}}}{{!}}{{{name}}}]]|{{#if:{{{employeepage|}}}|[[{{{employeepage}}}{{!}}{{{name}}}]]|{{{name}}}}}}}</div> | ||
<div class="edepartment">{{{department|}}}</div> | <div class="edepartment">{{{department|}}}</div> | ||
Line 18: | Line 31: | ||
"image": { | "image": { | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"suggested": true | "suggested": true, | ||
"label": { | |||
"de": "Foto", | |||
"en": "Photo" | |||
}, | |||
"default": { | |||
"de": "Profilbild", | |||
"en": "profileimage" | |||
} | |||
}, | }, | ||
"username": { | "username": { | ||
"type": "wiki-user-name", | "type": "wiki-user-name", | ||
"suggested": true | "suggested": true, | ||
"label": { | |||
"de": "Benutzername (falls vorhanden)", | |||
"en": "User name (if exists)" | |||
} | |||
}, | }, | ||
"name": { | "name": { | ||
"suggested": true | "suggested": true, | ||
"label": { | |||
"de": "Anzeigename", | |||
"en": "Name" | |||
} | |||
}, | }, | ||
"department": { | "department": { | ||
"suggested": true | "suggested": true, | ||
"label": { | |||
"de": "Abteilung", | |||
"en": "Department" | |||
} | |||
}, | }, | ||
"title": { | "title": { | ||
"suggested": true | "suggested": true, | ||
"label": { | |||
"de": "Stellenbezeichnung", | |||
"en": "Job title" | |||
} | |||
}, | }, | ||
"employeepage": { | "employeepage": { | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"suggested": true | "suggested": true, | ||
"label": { | |||
"de": "Mitarbeiterseite (falls keine Benutzerseite existiert)", | |||
"en": "Employee page (if no user page exists)" | |||
} | |||
} | } | ||
}, | }, |
Latest revision as of 13:34, 3 July 2023
- title
- name
- department
- image
- username (if employee exists as user)
- employeepage (if no user exists, but a wikipage for the employee exists)
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | no description | Unknown | suggested |
Department | department | no description | Unknown | suggested |
Job title | title | no description | Unknown | suggested |
Photo | image | no description
| File | suggested |
User name (if exists) | username | no description | User | suggested |
Employee page (if no user page exists) | employeepage | no description | Page name | suggested |