Template: Semorg-project: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 5: Line 5:
   |contact-person={{{contact-person|}}}  
   |contact-person={{{contact-person|}}}  
   |description={{{description|}}}  
   |description={{{description|}}}  
   |closed={{{closed|false}}}
  |description-long={{{description-long|}}}
   |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={{#if:{{{closed|}}}
   |overview page={{#semorg-true:{{{closed|{{#explode:{{int:smw false words}}|,|0}}}}}
    |{{#semorg-true:{{{closed|}}}
    |{{int:semorg-project-closed-page-name}}
      |{{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}}
     }}
     }}
    |{{int:semorg-project-page-name}}
   }}
   }}
}}{{#if:{{{closed|}}}
}}{{#if:{{{closed-date|}}}
   |{{#semorg-true:{{{closed|}}}
  |<span class="badge text-bg-secondary">{{int:semorg-value-status-closed-since|{{{closed-date|}}}}}</span>
     |<span class="badge badge-secondary">{{int:semorg-value-status-closed}}</span>
   |{{#semorg-true:{{{closed|}{{#explode:{{int:smw false words}}|,|0}}}}
     |<span class="badge badge-success">{{int:semorg-value-status-open}}</span>
     |<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}}
       |[{{fullurl:{{int:semorg-invoice-page-name}}|invoice-project={{FULLPAGENAMEE}}&invoice-year=}} {{semorg-currency|{{#ask:[[Category:semorg-invoice]][[semorg-invoice-project::{{FULLPAGENAME}}]]
       |{{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
       }}}}] ({{int:semorg-net-text}})
       }}}}
     }}
     }}
     |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}}
Line 95: Line 107:
     |?agenda
     |?agenda
   }}
   }}
  |{{#if:{{{openproject-id|}}}|?openproject={{semorg-openproject-project|{{{openproject-id}}}}}}}
}}
}}
</includeonly>
</includeonly>

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