Difference between revisions of "Template:Semorg-systemic-consensing-decision"

From SemanticOrganization
Jump to: navigation, search
 
(30 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
}}{{#semorg-table:systemic-consensing-decision  
 
}}{{#semorg-table:systemic-consensing-decision  
 
   |description={{{description|}}}  
 
   |description={{{description|}}}  
   |start-date={{{start-date|}}}  
+
   |start-date={{semorg-date|{{{start-date|}}}|long}}
   |end-date={{{end-date|}}}
+
   |end-date={{semorg-date|{{{end-date|}}}|long}}
 
}}
 
}}
  
Line 15: Line 15:
 
<tr><th></th>
 
<tr><th></th>
 
{{#ask:[[semorg-systemic-consensing-option-decision::{{FULLPAGENAME}}]]
 
{{#ask:[[semorg-systemic-consensing-option-decision::{{FULLPAGENAME}}]]
 +
  |mainlabel=target
 
   |?semorg-systemic-consensing-option-code=code
 
   |?semorg-systemic-consensing-option-code=code
 
   |?semorg-systemic-consensing-option-description=description
 
   |?semorg-systemic-consensing-option-description=description
Line 21: Line 22:
 
   |format=template
 
   |format=template
 
   |template=semorg-systemic-consensing-decision-option-headers
 
   |template=semorg-systemic-consensing-decision-option-headers
 +
  |link=none
 
}}
 
}}
<th>{{#semorg-formlink:systemic-consensing-option
+
<th class="semorg-showedit text-center align-middle">{{#formlink:
   |link text=test
+
  |form={{int:semorg-systemic-consensing-option-form}}
 +
   |link text=<i class="fa fa-plus" data-toggle="tooltip" title="{{int:semorg-form-systemic-consensing-option-create-title}}"></i>
 +
  |returnto={{FULLPAGENAME}}
 +
  |query string={{int:semorg-systemic-consensing-option-template}}[decision]={{FULLPAGENAMEE}}
 
}}
 
}}
 +
</tr>
 +
<tr>
 +
<td class="align-middle">{{semorg-person-link|{{#semorg-user:}}}}</td>
 +
{{#arraymap:{{#ask:[[semorg-systemic-consensing-option-decision::{{FULLPAGENAME}}]]
 +
    |sort=semorg-systemic-consensing-option-code
 +
    |link=none
 +
  }}
 +
  |,
 +
  |xxx
 +
  |<td class="text-center align-middle">{{#ifexpr:{{#ask:[[semorg-systemic-consensing-score-user::{{#semorg-user:}}]][[semorg-systemic-consensing-score-option::xxx]]|format=count}}>0
 +
    |{{#formlink:
 +
      |form={{int:semorg-systemic-consensing-score-form}}
 +
      |target={{#ask:[[semorg-systemic-consensing-score-user::{{#semorg-user:}}]][[semorg-systemic-consensing-score-option::xxx]]|link=none}}
 +
      |link text=<span data-toggle="tooltip" title="{{int:semorg-form-systemic-consensing-score-edit-title}}">{{#ask:[[semorg-systemic-consensing-score-user::{{#semorg-user:}}]][[semorg-systemic-consensing-score-option::xxx]]
 +
        |mainlabel=-
 +
        |?semorg-systemic-consensing-score-score=
 +
      }}</span>
 +
      |returnto={{FULLPAGENAME}}
 +
    }}<div class="semorg-list-row-details">
 +
{{#ask:[[semorg-systemic-consensing-score-user::{{#semorg-user:}}]][[semorg-systemic-consensing-score-option::xxx]]|mainlabel=-|?semorg-systemic-consensing-score-comment=}}</div>
 +
    |<span class="semorg-actions" data-toggle="tooltip" title="{{int:semorg-form-systemic-consensing-score-create-title}}">{{#formlink:
 +
      |form={{int:semorg-systemic-consensing-score-form}}
 +
      |query string={{int:semorg-systemic-consensing-score-template}}[user]={{#semorg-user:}}&{{int:semorg-systemic-consensing-score-template}}[option]={{FULLPAGENAME:xxx}}
 +
      |link text=<i class="fa fa-plus"></i>
 +
      |returnto={{FULLPAGENAME}}
 +
    }}</span>
 +
  }}</td>
 +
  |
 +
}}
 +
<td class="semorg-showedit"></td>
 +
</tr>
 +
{{#arraymap:{{#ask:[[-semorg-systemic-consensing-score-user.semorg-systemic-consensing-score-option.semorg-systemic-consensing-option-decision::{{FULLPAGENAME}}]]|link=none}}
 +
  |,
 +
  |xxx
 +
  |{{#ifeq:{{PAGENAME:xxx}}|{{PAGENAME:{{#semorg-user:}}}}
 +
    |
 +
    |<tr><td>{{semorg-person-link|xxx}}</td>{{#arraymap:{{#ask:[[semorg-systemic-consensing-option-decision::{{FULLPAGENAME}}]]
 +
        |sort=semorg-systemic-consensing-option-code
 +
        |link=none
 +
      }}
 +
      |,
 +
      |yyy
 +
      |<td class="text-center align-middle">{{#ask:[[semorg-systemic-consensing-score-user::xxx]][[semorg-systemic-consensing-score-option::yyy]]|mainlabel=-|?semorg-systemic-consensing-score-score=}}</td>
 +
      |
 +
    }}<td class="semorg-showedit"></td></tr>
 +
  }}
 +
  |
 +
}}
 +
<tr><td></td>
 +
{{#arraymap:{{#ask:[[semorg-systemic-consensing-option-decision::{{FULLPAGENAME}}]]
 +
    |sort=semorg-systemic-consensing-option-code
 +
    |link=none
 +
  }}
 +
  |,
 +
  |xxx
 +
  |<td class="text-center align-middle">'''{{#ask:[[semorg-systemic-consensing-score-option::xxx]]
 +
    |?semorg-systemic-consensing-score-score
 +
    |format=sum
 +
  }}'''</td>
 +
  |
 +
}}
 +
<td class="semorg-showedit"></td>
 
</tr>
 
</tr>
 
</table></includeonly>
 
</table></includeonly>

Latest revision as of 20:47, 21 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-systemic-consensing-decision-custom) and change the following system message to the name of the newly created page: MediaWiki:semorg-systemic-consensing-decision-template