Template: Semorg-project: Difference between revisions
From SemanticOrganization
No edit summary |
No edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|contact-person={{{contact-person|}}} | |contact-person={{{contact-person|}}} | ||
|description={{{description|}}} | |description={{{description|}}} | ||
|description-long={{{description-long|}}} | |||
|closed={{#if:{{{closed-date|}}}|true|{{{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|}}} | ||
Line 15: | Line 18: | ||
|type={{{type|}}} | |type={{{type|}}} | ||
|outlook={{{outlook|}}} | |outlook={{{outlook|}}} | ||
|picture={{#if:{{{picture|}}}|File:{{{picture}}}}} | |||
|homepage={{{homepage|}}} | |||
}}{{#semorg-set-list:project | }}{{#semorg-set-list:project | ||
|topic={{{topic|}}} | |topic={{{topic|}}} | ||
Line 23: | Line 28: | ||
}}{{#semorg-detail:project | }}{{#semorg-detail:project | ||
|heading={{{title|{{PAGENAME}}}}} | |heading={{{title|{{PAGENAME}}}}} | ||
|overview page={{# | |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-page-name}} | ||
|{{int:semorg-project-inactive-page-name}} | |||
}} | }} | ||
}} | }} | ||
}}{{#if:{{{closed|}}}{{{closed-date|}}} | }}{{#if:{{{closed-date|}}} | ||
|{{#semorg-true:{{{closed|}}} | |<span class="badge text-bg-secondary">{{int:semorg-value-status-closed-since|{{{closed-date|}}}}}</span> | ||
|<span class="badge | |{{#semorg-true:{{{closed|}{{#explode:{{int:smw false words}}|,|0}}}} | ||
|<span class="badge text-bg-secondary">{{int:semorg-value-status-closed}}</span> | |||
|{{#semorg-true:{{{active|{{#explode:{{int:smw true words}}|,|0}}}}} | |||
|<span class="badge text-bg-success">{{int:semorg-value-status-open}}</span> | |||
|<span class="badge text-bg-secondary">{{int:semorg-value-status-inactive}}</span> | |||
}} | |||
}} | }} | ||
}}{{#semorg-tabs:project | }}{{#semorg-tabs:project | ||
Line 50: | Line 59: | ||
}}{{semorg-project-subpage-overview}} | }}{{semorg-project-subpage-overview}} | ||
|?details={{#semorg-table:project | |?details={{#semorg-table:project | ||
|homepage={{{homepage|}}} | |||
|short-title={{{short-title|}}} | |short-title={{{short-title|}}} | ||
|run-time={{#if:{{{start|}}}{{{end|}}} | |run-time={{#if:{{{start|}}}{{{end|}}} | ||
Line 55: | Line 65: | ||
}} | }} | ||
|description={{{description|}}} | |description={{{description|}}} | ||
|description-long={{{description-long|}}} | |||
|tag={{{tag|}}} | |tag={{{tag|}}} | ||
|topic={{semorg-topic-link|{{{topic|}}}}} | |topic={{semorg-topic-link|{{{topic|}}}}} | ||
Line 64: | Line 75: | ||
|milestone={{{milestone|}}} | |milestone={{{milestone|}}} | ||
|sales={{#ifexist:{{int:semorg-invoice-page-name}} | |sales={{#ifexist:{{int:semorg-invoice-page-name}} | ||
| | |{{semorg-invoice-sales|{{#ask:[[Category:semorg-invoice]][[semorg-invoice-project::{{FULLPAGENAME}}]] | ||
|?semorg-invoice-amount-net | |?semorg-invoice-amount-net | ||
|format=sum | |format=sum | ||
|limit=1000 | |limit=1000 | ||
|default=0 | |default=0 | ||
}}}} | }}}} | ||
}} | }} | ||
|openproject-id={{{openproject-id|}}} | |openproject-id={{{openproject-id|}}} | ||
Line 86: | Line 97: | ||
|format=ul | |format=ul | ||
}} | }} | ||
|picture={{#if:{{{picture|}}}|[[File:{{{picture}}}|class=img-fluid]]}} | |||
}} | }} | ||
|{{#ifexist:{{int:semorg-meeting-project-page-name}} | |{{#ifexist:{{int:semorg-meeting-project-page-name}} |
Latest revision as of 14:19, 6 December 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