Template: Semorg-group: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-group-category}}]]{{#semorg-set:group  
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-group-category}}]]{{#semorg-set:group  
   |name={{{name|}}}  
   |name={{{name|{{FULLPAGENAME}}}}}  
   |description={{{description|}}}  
   |description={{{description|}}}  
  |goals={{{goals|}}}
  |domain={{{domain|}}}
   |permanent={{{permanent|}}}  
   |permanent={{{permanent|}}}  
   |active={{{active|}}}  
   |active={{{active|true}}}  
   |host={{{host|}}}
   |host={{{host|}}}
   |co-host={{{host|}}}
   |co-host={{{host|}}}
}}{{#semorg-detail:group}}
}}{{#semorg-detail:group
{{#semorg-tabs:group
  |heading={{{name|{{FULLPAGENAME}}}}}
   |?info={{#semorg-table:group
  |overview page={{#if:{{{active|}}}
     |name={{{name|}}}
    |{{#semorg-true:{{{active|}}}
      |{{int:semorg-group-page-name}}
      |{{int:semorg-group-inactive-page-name}}
    }}
    |{{int:semorg-group-page-name}}
  }}
}}{{#if:{{{active|}}}
   |{{#semorg-true:{{{active|}}}
    |
     |<span class="badge text-bg-secondary">{{int:semorg-value-status-inactive}}</span>
  }}
}}<div class="semorg-dashboard">{{semorg-card
  |title={{int:semorg-details-dashboard-title}}
  |tables={{#semorg-table:group
     |description={{{description|}}}  
     |description={{{description|}}}  
    |goals={{{goals|}}}
    |domain={{{domain|}}}
     |host={{semorg-person-link|{{{host|}}}}}
     |host={{semorg-person-link|{{{host|}}}}}
     |co-host={{semorg-person-link|{{{co-host|}}}}}
     |co-host={{semorg-person-link|{{{co-host|}}}}}
     |members={{{members|}}}
     |members={{{members|}}}
  }}{{#ifexist:{{int:semorg-meeting-group-page-name}}
    |{{#semorg-meetings:group}}
  }}
  |{{#ifexist:{{int:semorg-role-page-name}}
    |?roles={{#semorg-list:role
      |formlink={{#semorg-formlink:role
        |query string=semorg-role[group]={{FULLPAGENAME}}
      }}
      |query=[[semorg-role-group::{{FULLPAGENAME}}]]
    }}
  }}
  |{{#ifexist:{{int:semorg-role-page-name}}
    |?schedule={{semorg-role-task-schedule
      |query=[[semorg-role-task-role.semorg-role-group::{{FULLPAGENAME}}]]
      |only current=false
    }}
   }}
   }}
  |{{#ifexist:{{int:semorg-task-page-name}}
}}{{#ifexist:{{int:semorg-meeting-group-page-name}}
    |?tasks=<div class="mb-4">{{#semorg-list:task
  |{{#semorg-meetings-dashboard:group}}
      |formlink={{#semorg-formlink:task
}}{{#ifexist:{{int:semorg-role-page-name}}
        |query string=semorg-task[group]={{FULLPAGENAME}}
  |{{#semorg-dashboard:role
      }}
    |query=[[semorg-role-group::{{FULLPAGENAME}}]][[semorg-role-active::true]]
      |query=[[semorg-task-group::{{FULLPAGENAME}}]][[semorg-task-done::false]]
    |title={{int:semorg-role-page-name}}
      |sort=semorg-task-due-date
    }}</div>{{#semorg-list:task
      |title={{int:semorg-task-done-page-name}}
      |query=[[semorg-task-group::{{FULLPAGENAME}}]][[semorg-task-done::true]]
      |limit=5
      |footer=[{{fullurl:{{int:semorg-task-done-page-name}}|task-group={{FULLPAGENAME}}}} {{int:semorg-list-task-all-link-text|{{#ask:[[semorg-task-group::{{FULLPAGENAME}}]][[semorg-task-done::true]]|format=count}}}}]
      |sort=semorg-task-done-date
      |order=desc
    }}
   }}
   }}
}}
}}{{#ifexist:{{int:semorg-role-task-page-name}}
</includeonly>
  |{{#semorg-dashboard:role-task|tables={{semorg-role-task-schedule
    |query=[[semorg-role-task-role.semorg-role-group::{{FULLPAGENAME}}]][[semorg-role-task-role.semorg-role-active::true]]
    |only current=false
  }}|title={{int:semorg-role-task-page-name}}|body=-}}
}}{{#ifexist:{{int:semorg-task-page-name}}
  |{{#semorg-dashboard:task|query=[[semorg-task-group::{{FULLPAGENAME}}]][[semorg-task-done::false]]}}{{#semorg-dashboard:task-done|query=[[semorg-task-group::{{FULLPAGENAME}}]][[semorg-task-done::true]]}}
}}</div></includeonly>

Latest revision as of 16:59, 21 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-group-custom) and change the following system message to the name of the newly created page: MediaWiki:semorg-group-template