Vorlage: Semorg-project: Unterschied zwischen den Versionen

Aus Klimahaupstadt Linz
Wechseln zu: Navigation, Suche
Keine Bearbeitungszusammenfassung
 
(Admin verschob die Seite Vorlage:Semorg-project nach Vorlage:Semorg-project-custom)
Markierung: Neue Weiterleitung
 
Zeile 1: Zeile 1:
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-project-category}}]]{{#semorg-set:project
#WEITERLEITUNG [[Vorlage:Semorg-project-custom]]
  |title={{{title|{{PAGENAME}}}}}
  |start={{{start|}}}
  |end={{{end|}}}
  |contact-person={{{contact-person|}}}
  |description={{{description|}}}
  |closed={{#if:{{{closed-date|}}}|true|{{{closed|false}}}}}
  |closed-date={{{closed-date|}}}
  |active={{{active|true}}}
  |budget={{{budget|}}}
  |short-title={{{short-title|}}}
  |department={{{department|}}}
  |milestone={{{milestone|}}}
  |openproject-id={{{openproject-id|}}}
  |toggl-id={{{toggl-id|}}}
  |status={{{status|}}}
  |type={{{type|}}}
  |outlook={{{outlook|}}}
}}{{#semorg-set-list:project
  |topic={{{topic|}}}
  |tag={{{tag|}}}
  |target-group={{{target-group|}}}
  |phase={{{phase|}}}
  |strategic-objective={{{strategic-objective|}}}
}}{{#semorg-detail:project
  |heading={{{title|{{PAGENAME}}}}}
  |overview page={{#semorg-true:{{{closed|{{#explode:{{int:smw false words}}|,|0}}}}}
    |{{int:semorg-project-closed-page-name}}
    |{{#semorg-true:{{{active|{{#explode:{{int:smw true words}}|,|0}}}}}
      |{{int:semorg-project-page-name}}
      |{{int:semorg-project-inactive-page-name}}
    }}
  }}
}}{{#if:{{{closed-date|}}}
  |<span class="badge badge-secondary">{{int:semorg-value-status-closed-since|{{{closed-date|}}}}}</span>
  |{{#semorg-true:{{{closed|}{{#explode:{{int:smw false words}}|,|0}}}}
    |<span class="badge badge-secondary">{{int:semorg-value-status-closed}}</span>
    |{{#semorg-true:{{{active|{{#explode:{{int:smw true words}}|,|0}}}}}
      |<span class="badge badge-success">{{int:semorg-value-status-open}}</span>
      |<span class="badge badge-secondary">{{int:semorg-value-status-inactive}}</span>
    }}
  }}
}}{{#semorg-tabs:project
  |?overview={{#semorg-table:project
    |contact-person={{semorg-person-link|{{{contact-person|}}}}}
    |team-internal={{{team-internal|}}}
    |team-external={{{team-external|}}}
    |{{#ifexist:{{int:semorg-project-update-page-name}}
      |last-update={{semorg-project-last-update|{{FULLPAGENAME}}|{{{title|{{PAGENAME}}}}} }}{{#semorg-nocache:}}
    }}
  }}{{#ifexist:{{int:semorg-meeting-project-page-name}}
    |{{#semorg-meetings:project
      |only current
      |limit=3
    }}
  }}{{semorg-project-subpage-overview}}
  |?details={{#semorg-table:project
    |short-title={{{short-title|}}}
    |run-time={{#if:{{{start|}}}{{{end|}}}
      |{{semorg-timespan|{{{start|}}}|{{{end|}}}}}
      }}
    |description={{{description|}}}
    |tag={{{tag|}}}
    |topic={{semorg-topic-link|{{{topic|}}}}}
    |contact-person={{semorg-person-link|{{{contact-person|}}}}}
    |team-internal={{{team-internal|}}}
    |team-external={{{team-external|}}}
    |budget={{semorg-currency|{{formatnum:{{formatnum:{{{budget|}}}|R}}}}}}
    |department={{semorg-department-link|{{{department|}}}}}
    |milestone={{{milestone|}}}
    |sales={{#ifexist:{{int:semorg-invoice-page-name}}
      |[{{fullurl:{{int:semorg-invoice-page-name}}|invoice-project={{FULLPAGENAMEE}}&invoice-year=}} {{semorg-currency|{{#ask:[[Category:semorg-invoice]][[semorg-invoice-project::{{FULLPAGENAME}}]]
        |?semorg-invoice-amount-net
        |format=sum
        |limit=1000
        |default=0
      }}}}] ({{int:semorg-net-text}})
    }}
    |openproject-id={{{openproject-id|}}}
    |toggl-id={{{toggl-id|}}}
    |target-group={{semorg-target-group-link|{{{target-group|}}}}}
    |milestones={{#ask:[[semorg-milestone-project::{{FULLPAGENAME}}]]
      |?semorg-milestone-plot.semorg-plot-scj.semorg-scj-name=
      |format=ul
    }}
    |phase={{{phase|}}}
    |strategic-objective={{{strategic-objective|}}}
    |status={{{status|}}}
    |type={{{type|}}}
    |outlook={{{outlook|}}}
    |bmcs={{#ask:[[semorg-bmc-project::{{FULLPAGENAME}}]]
      |format=ul
    }}
  }}
  |{{#ifexist:{{int:semorg-meeting-project-page-name}}
    |?meetings={{#semorg-meetings:project}}
  }}
  |{{#ifexist:{{int:semorg-project-grant-page-name}}|?grants}}
  |{{#ifexist:{{int:semorg-contact-page-name}}|?contact}}
  |{{#ifexpr:{{#ask:[[semorg-agenda-project::{{FULLPAGENAME}}]]|format=count}}>0
    |?agenda
  }}
}}
</includeonly>

Aktuelle Version vom 30. September 2024, 12:59 Uhr