Template: Semorg-project: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
Line 25: Line 25:
}}{{#semorg-detail:project
}}{{#semorg-detail:project
   |heading={{{title|{{PAGENAME}}}}}  
   |heading={{{title|{{PAGENAME}}}}}  
   |overview page={{#if:{{{closed|{{#explode:{{int:smw true words}}|,|0}}}}}
   |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}}}}}
      |{{#if:{{{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-inactive-page-name}}
      }}
     }}
     }}
   }}
   }}
}}{{#if:{{{closed-date|}}}
}}{{#if:{{{closed-date|}}}
   |<span class="badge badge-secondary">{{int:semorg-value-status-closed-since|{{{closed-date|}}}}}</span>
   |<span class="badge badge-secondary">{{int:semorg-value-status-closed-since|{{{closed-date|}}}}}</span>
   |{{#if:{{{closed|}}}
   |{{#semorg-true:{{{closed|}{{#explode:{{int:smw false words}}|,|0}}}}
     |{{#semorg-true:{{{closed|}}}
    |<span class="badge badge-secondary">{{int:semorg-value-status-closed}}</span>
       |<span class="badge badge-secondary">{{int:semorg-value-status-closed}}</span>
     |{{#semorg-true:{{{active|{{#explode:{{int:smw true words}}|,|0}}}}}
       |<span class="badge badge-secondary">{{int:semorg-value-status-inactive}}</span>
       |<span class="badge badge-success">{{int:semorg-value-status-open}}</span>
       |<span class="badge badge-success">{{int:semorg-value-status-open}}</span>
     }}
     }}

Revision as of 19:28, 12 September 2023

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