Template: Semorg-person-user: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-person-user-category}}]][[Category:{{int:semorg-person-category}}]]{{#semorg-set:account
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-person-user-category}}]][[Category:{{int:semorg-person-category}}]]{{#semorg-set:account
   |account-name={{{firstname|}}} {{{lastname|}}}
   |account-name={{{firstname|}}} {{{lastname|}}}
}}{{#semorg-detail:person-user
}}{{#semorg-set:person
   |heading={{{firstname|}}} {{{lastname|}}}
   |prefix={{{prefix|}}}
}}{{#semorg-tabs:person-user
  |firstname={{{firstname|}}}
  |?details={{#semorg-set:person
  |lastname={{{lastname|}}}
    |prefix={{{prefix|}}}
  |name={{int:semorg-person-user-name|{{PAGENAME}}|{{{firstname|}}}|{{{lastname|}}}|{{{acronym|}}}}}
    |firstname={{{firstname|}}}
  |suffix={{{suffix|}}}
    |lastname={{{lastname|}}}
  |workstreet={{{workstreet|}}}
    |name={{{firstname|}}} {{{lastname|}}}
  |workpostalcode={{{workpostalcode|}}}
    |suffix={{{suffix|}}}
  |worklocality={{{worklocality|}}}
  |workcountry={{{workcountry|}}}
  |workaddress={{semorg-address
     |workstreet={{{workstreet|}}}
     |workstreet={{{workstreet|}}}
     |workpostalcode={{{workpostalcode|}}}
     |workpostalcode={{{workpostalcode|}}}
     |worklocality={{{worklocality|}}}
     |worklocality={{{worklocality|}}}
     |workaddress={{{workstreet|}}}{{#if:{{{workpostalcode|}}}{{{worklocality|}}}|, {{{workpostalcode|}}} {{{worklocality|}}}}}
     |workcountry={{{workcountry|}}}
    |note={{{note|}}}
  }}
    |organization={{{organization|}}}
  |note={{{note|}}}
    |gender={{{gender|}}}
  |organization={{{organization|}}}
    |birthday={{{birthday|}}}
  |gender={{{gender|}}}
    |birthplace={{{birthplace|}}}
  |birthday={{{birthday|}}}
    |tax-number={{{tax-number|}}}
  |birthplace={{{birthplace|}}}
    |ssn={{{ssn|}}}
  |tax-number={{{tax-number|}}}
    |vat-number={{{vat-number|}}}
  |ssn={{{ssn|}}}
    |legal-form={{{legal-form|}}}
  |vat-number={{{vat-number|}}}
    |legal-registry={{{legal-registry|}}}
  |legal-form={{{legal-form|}}}
    |iban={{{iban|}}}
  |legal-registry={{{legal-registry|}}}
    |profession={{{profession|}}}
  |iban={{{iban|}}}
     |children={{{children|}}}
  |profession={{{profession|}}}
  |children={{{children|}}}
  |acronym={{{acronym|}}}
  |membership-number={{{membership-number|}}}
  |membership={{#semorg-true:{{{membership-active|}}}|true|{{#if:{{{membership-number|}}}|true}}}}
  |membership-active={{{membership-active|}}}
  |personnel-number={{{personnel-number|}}}
  |personnel={{#semorg-true:{{{personnel-active|}}}|true|{{#if:{{{personnel-number|}}}|true}}}}
  |personnel-active={{{personnel-active|}}}
  |picture={{#if:{{{picture|}}}|File:{{{picture}}}}}
}}{{#semorg-set-list:person
  |workphone={{{workphone|}}}
  |email={{{email|}}}
  |homepage={{{homepage|}}}
  |tag={{{tag|}}}
  |topic={{{topic|}}}
  |mentor={{{mentor|}}}
}}{{#semorg-detail:person-user
  |heading={{int:semorg-person-user-name|{{PAGENAME}}|{{{firstname|}}}|{{{lastname|}}}|{{{acronym|}}}}}
}}
<div class="semorg-dashboard">{{semorg-card
  |title={{int:semorg-details-dashboard-title}}
  |tables={{#semorg-table:person
     |name={{int:semorg-person-user-name|{{PAGENAME}}|{{{firstname|}}}|{{{lastname|}}}|{{{acronym|}}}}}
     |acronym={{{acronym|}}}
     |acronym={{{acronym|}}}
     |membership-number={{{membership-number|}}}
     |picture={{#if:{{{picture|}}}
    |membership={{#semorg-true:{{{membership-active|}}}|true|{{#if:{{{membership-number|}}}|true}}}}
      |[[File:{{{picture}}}|100px|class=img-fluid]]
    |membership-active={{{membership-active|}}}
     }}
    |personnel-number={{{personnel-number|}}}
     |address={{semorg-person-address|{{{workstreet|}}}|{{{workpostalcode|}}}|{{{worklocality|}}}|{{{workcountry|}}}}}
    |personnel={{#semorg-true:{{{personnel-active|}}}|true|{{#if:{{{personnel-number|}}}|true}}}}
    |personnel-active={{{personnel-active|}}}
  }}{{#semorg-set-list:person
    |workphone={{{workphone|}}}
     |email={{{email|}}}
     |homepage={{{homepage|}}}
    |tag={{{tag|}}}
    |topic={{{topic|}}}
  }}{{#semorg-table:person
    |name={{semorg-person-name|{{{prefix|}}}|{{{firstname|}}}|{{{lastname|}}}|{{{suffix|}}}}}
    |acronym={{{acronym|}}}
    |address={{semorg-person-address|{{{workstreet|}}}|{{{workpostalcode|}}}|{{{worklocality|}}}}}
     |email={{#arraymap:{{{email|}}}
     |email={{#arraymap:{{{email|}}}
       |,
       |,
Line 61: Line 74:
     }}
     }}
     |note={{{note|}}}
     |note={{{note|}}}
    |mentor={{semorg-person-link|{{{mentor|}}}}}
     |organization={{{organization|}}}
     |organization={{{organization|}}}
     |birthday={{semorg-date|{{{birthday|}}}}}
     |birthday={{semorg-date|{{{birthday|}}}}}
Line 81: Line 95:
     |vcard={{semorg-vcard|{{FULLPAGENAME}}}}
     |vcard={{semorg-vcard|{{FULLPAGENAME}}}}
   }}
   }}
   |{{#ifexist:{{int:semorg-role-page-name}}|?roles}}
}}{{#ifexist:{{int:semorg-role-page-name}}
   |{{#ifexist:{{int:semorg-role-task-page-name}}|?schedule}}
   |{{#semorg-dashboard:role|user={{FULLPAGENAME}}|title={{int:semorg-role-page-name}}}}
  |{{#ifexist:{{int:semorg-task-page-name}}|?tasks}}
}}{{#ifexist:{{int:semorg-role-task-page-name}}
  |{{#ifexist:{{int:semorg-contact-page-name}}|?contact}}
   |{{#semorg-dashboard:role-task|user={{FULLPAGENAME}}|title={{int:semorg-role-task-page-name}}}}
}}{{#ifexist:{{int:semorg-task-page-name}}
  |{{#semorg-dashboard:task|user={{FULLPAGENAME}}}}{{#semorg-dashboard:task-done|user={{FULLPAGENAME}}}}
}}{{#ifexist:{{int:semorg-contact-page-name}}
  |{{#semorg-dashboard:contact|user={{FULLPAGENAME}}|title={{int:semorg-contact-page-name}}}}
}}
}}
</includeonly>
</div>{{{working-times|}}}</includeonly>

Latest revision as of 13:13, 17 November 2024

This page is part of the Semantic Organization extension.

If you want to customize this template you can copy its contents to another page (use for example Template:Semorg-person-user-custom) and change the following system message to the name of the newly created page: MediaWiki:semorg-person-user-template