Template: Semorg-project: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
 
(55 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-project-category}}]]{{#semorg-set:project  
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-project-category}}]]{{#semorg-set:project  
   |title={{PAGENAME}}  
   |title={{{title|{{PAGENAME}}}}}  
   |start={{{start|}}}  
   |start={{{start|}}}  
   |end={{{end|}}}  
   |end={{{end|}}}  
   |contact-person={{{contact-person|}}}  
   |contact-person={{{contact-person|}}}  
   |description={{{description|}}}  
   |description={{{description|}}}  
   |closed={{{closed|false}}}
   |closed={{#if:{{{closed-date|}}}|true|{{{closed|false}}}}}
  |closed-date={{{closed-date|}}}
  |active={{{active|true}}}
   |budget={{{budget|}}}
   |budget={{{budget|}}}
   |short-title={{{short-title|}}}
   |short-title={{{short-title|}}}
   |department={{{department|}}}
   |department={{{department|}}}
   |milestone={{{milestone|}}}
   |milestone={{{milestone|}}}
}}{{#semorg-detail:project}}{{#if:{{{closed|}}}
  |openproject-id={{{openproject-id|}}}
   |{{#semorg-true:{{{closed|}}}
  |toggl-id={{{toggl-id|}}}
     |<span class="badge badge-secondary">{{int:semorg-value-status-closed}}</span>
  |status={{{status|}}}
     |<span class="badge badge-success">{{int:semorg-value-status-open}}</span>
  |type={{{type|}}}
  |outlook={{{outlook|}}}
  |picture={{#if:{{{picture|}}}|File:{{{picture}}}}}
  |homepage={{{homepage|}}}
}}{{#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}}
    }}
   }}
   }}
}}{{#semorg-table:project
}}{{#if:{{{closed-date|}}}
   |start={{semorg-date|{{{start|}}}|long}}
   |<span class="badge text-bg-secondary">{{int:semorg-value-status-closed-since|{{{closed-date|}}}}}</span>
  |end={{semorg-date|{{{end|}}}|long}}
  |{{#semorg-true:{{{closed|}{{#explode:{{int:smw false words}}|,|0}}}}
  |description={{{description|}}}  
    |<span class="badge text-bg-secondary">{{int:semorg-value-status-closed}}</span>
   |contact-person={{semorg-person-link|{{{contact-person|}}}}}
    |{{#semorg-true:{{{active|{{#explode:{{int:smw true words}}|,|0}}}}}
  |team-internal={{{team-internal|}}}
      |<span class="badge text-bg-success">{{int:semorg-value-status-open}}</span>
  |team-external={{{team-external|}}}
      |<span class="badge text-bg-secondary">{{int:semorg-value-status-inactive}}</span>
   |budget={{{budget|}}}
    }}
  |short-title={{{short-title|}}}
  }}
  |department={{{department|}}}
}}{{#semorg-tabs:project
  |milestone={{{milestone|}}}
   |?overview={{#semorg-table:project
}}
    |contact-person={{semorg-person-link|{{{contact-person|}}}}}
 
    |team-internal={{{team-internal|}}}
{{#ifexist:{{int:semorg-project-grant-page-name}}
    |team-external={{{team-external|}}}
  |<div class="h3">Grants</div><p>{{#semorg-formlink:project-grant
    |{{#ifexist:{{int:semorg-project-update-page-name}}
     |query string={{int:semorg-project-grant-template}}[project]={{FULLPAGENAME}}
      |last-update={{semorg-project-last-update|{{FULLPAGENAME}}|{{{title|{{PAGENAME}}}}} }}{{#semorg-nocache:}}
     |returnto={{FULLPAGENAME}}
    }}
   }}</p>{{#semorg-list:project-grant
   }}{{#ifexist:{{int:semorg-meeting-project-page-name}}
     |query=[[semorg-project-grant-project::{{FULLPAGENAME}}]]
    |{{#semorg-meetings:project
      |only current
      |limit=3
    }}
  }}{{semorg-project-subpage-overview}}
  |?details={{#semorg-table:project
    |homepage={{{homepage|}}}
    |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}}
      |{{semorg-invoice-sales|{{#ask:[[Category:semorg-invoice]][[semorg-invoice-project::{{FULLPAGENAME}}]]
        |?semorg-invoice-amount-net
        |format=sum
        |limit=1000
        |default=0
      }}}}
    }}
    |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
    }}
     |picture={{#if:{{{picture|}}}|[[File:{{{picture}}}|class=img-fluid]]}}
   }}
  |{{#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
   }}
   }}
}}
{{#ifexist:{{int:semorg-meeting-project-page-name}}
  |{{#semorg-meetings:project}}
}}
}}
</includeonly>
</includeonly>

Latest revision as of 18:02, 23 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-project-custom) and change the following system message to the name of the newly created page: MediaWiki:semorg-project-template