Difference between revisions of "Template:Institution"

From Security Vision
Jump to: navigation, search
(add default importance)
 
(51 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Institution
 
{{Institution
|Institution Full Name=
+
|Full Name=
 
|Creation Date=
 
|Creation Date=
|Logo=
 
 
|City=
 
|City=
 
|Address=
 
|Address=
Line 13: Line 12:
 
|Institution Type=
 
|Institution Type=
 
|Institution Sector=
 
|Institution Sector=
|Research Category=
 
 
|URL=
 
|URL=
 
|Keywords=
 
|Keywords=
 
|Related Institutions=
 
|Related Institutions=
 
|Not in graph=
 
|Not in graph=
|Importance=
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 46: Line 43:
 
|-
 
|-
 
! Is Department Of
 
! Is Department Of
| [[Is Department Of::{{{Is Department Of|}}}]]
+
| {{#arraymap:{{{Is Department Of|}}}|,|x|[[Is Department Of::x]]}}
 
|-
 
|-
 
! Institution Type
 
! Institution Type
 
| {{#arraymap:{{{Institution Type|}}}|,|x|[[Institution Type::x]]}}
 
| {{#arraymap:{{{Institution Type|}}}|,|x|[[Institution Type::x]]}}
 
 
|-
 
|-
 
! Instititution Sector
 
! Instititution Sector
Line 57: Line 53:
 
! Importance
 
! Importance
 
| [[Importance::{{{Importance|0}}}]]
 
| [[Importance::{{{Importance|0}}}]]
 
 
|-
 
|-
 
! Clients
 
! Clients
 
| {{#arraymap:{{{Clients|}}}|,|x|[[Clients::x]]}}
 
| {{#arraymap:{{{Clients|}}}|,|x|[[Clients::x]]}}
 
+
<!-- |-
|-
 
 
! Research Category
 
! Research Category
| {{#arraymap:{{{Research Category|}}}|,|x|[[Research Category::x]]}}
+
| {{#arraymap:{{{Research Category|}}}|,|x|[[Research Category::x]]}} -->
  
 
{{#if:{{{URL|}}}|
 
{{#if:{{{URL|}}}|
Line 75: Line 69:
 
{{!}}-
 
{{!}}-
 
! Address
 
! Address
{{!}} {{#arraymap:{{{Address|}}}|,|x|[[Address::x]]}}
+
[[Address::{{{Address|}}}]]
 
 
 
}}
 
}}
 
|-
 
|-
 
! Keywords
 
! Keywords
 
| {{#arraymap:{{{Keywords|}}}|,|x|[[Keywords::x]]}}
 
| {{#arraymap:{{{Keywords|}}}|,|x|[[Keywords::x]]}}
 
 
|-
 
|-
 
! Related Institutions
 
! Related Institutions
 
| {{#arraymap:{{{Related Institutions|}}}|,|x|[[Related Institutions::x]]}}
 
| {{#arraymap:{{{Related Institutions|}}}|,|x|[[Related Institutions::x]]}}
 +
|}
 +
 +
<div class="subheader vizlink certainty">
 +
<div class="v-link">
 +
{{vizURL}}
 +
</div>
 +
<div class="right-panel">
 +
{{#ask: [[{{FULLPAGENAME}}]]
 +
|?Information Certainty
 +
|offset=0
 +
|link=all
 +
|order=asc,asc
 +
|headers=show
 +
|mainlabel=-
 +
|format=list
 +
|class=certaintytag
 +
|transpose=no
 +
}}
 +
 +
</div>
 +
</div>
 +
 +
 +
 +
{{#ask:[[{{FULLPAGENAME}}]]
 +
|? Institution Sector
 +
|headers=show
 +
|format=list
 +
|headers=show
 +
|mainlabel=-
 +
|transpose=no
 +
|class=keyword-tag
 +
}}
 +
 +
<ul class="nav nav-tabs mb-2" id="myTabs" role="tablist">
 +
  <li class="nav-item"><btn id="tab1Label" data-toggle="tab" class="nav-link active" role="tab" aria-controls="tab1" aria-selected="true">#tab1|Details</btn></li>
 +
<!--  <li><btn id="btn2Label" data-toggle="tab" class="nav-link" role="tab" aria-controls="tab2" aria-selected="false">#tab2|Certainty</btn></li>  -->
 +
</ul>
 +
 +
<div class="tab-content">
 +
  <div id="tab1" class="tab-pane fade show active" role="tabpanel" aria-labelledby="Details">
  
|}
+
{{#ask: [[{{FULLPAGENAME}}]]
 +
|?Full Name
 +
|?Address
 +
|?City
 +
|?Institution Type
 +
<!-- |?Research Category -->
 +
<!-- |?Creation Date -->
 +
|?Is Department Of
 +
|? Branches
 +
|?Related Institutions
 +
|?Not in graph=
 +
|offset=0
 +
|link=all
 +
|order=asc,asc
 +
|headers=show
 +
|mainlabel=-
 +
|format=broadtable
 +
|class=smwtable-clean entrypage-table
 +
|transpose=yes
 +
}}
 +
<!-- Other properties to be cleaned removed from here -->
 +
'''Timeline''':
 +
{{#ask: [[{{FULLPAGENAME}}]]
 +
|?Creation Date
 +
|?End Date
 +
|offset=0
 +
|link=all
 +
|order=asc,asc
 +
|headers=show
 +
|mainlabel=-
 +
|format=broadtable
 +
|class=smwtable-clean entrypage-table
 +
|transpose=yes
 +
}}
 +
  </div>
 +
<!--  <div id="tab2" class="tab-pane fade" role="tabpanel" aria-labelledby="Certainty">
  
 +
{{#ask: [[{{FULLPAGENAME}}]]
 +
|?Is unknown
 +
|offset=0
 +
|link=all
 +
|order=asc,asc
 +
|headers=show
 +
|mainlabel=-
 +
|format=broadtable
 +
|class=smwtable-clean entrypage-table
 +
|transpose=yes
 +
}}
 +
  </div> -->
 +
</div>
  
 
<!--To query absence we need to set a property: https://www.semantic-mediawiki.org/wiki/Help:Querying_for_the_absence_of_a_property-->
 
<!--To query absence we need to set a property: https://www.semantic-mediawiki.org/wiki/Help:Querying_for_the_absence_of_a_property-->
{{#set:
+
<!-- {{#set:
 
  |Is in Greens Report 2021={{#ifeq: {{{Not in graph|}}} | Greens Report 2021 |false |true }}
 
  |Is in Greens Report 2021={{#ifeq: {{{Not in graph|}}} | Greens Report 2021 |false |true }}
 +
}} -->
 +
 +
{{#set:Is unknown={{#ifeq: {{#explode:{{PAGENAME}}| |0}}|Unknown|true|false}}}}
 +
 +
<!--{{Special:Browse/{{FULLPAGENAME}}}}-->
 +
<div class="curated-backlinks">
 +
==What links here==
 +
===Deployments===
 +
{{#ask:
 +
[[Category:Deployments]]
 +
[[Involved Entitities::{{FULLPAGENAME}}]] OR  [[managed by::{{FULLPAGENAME}}]] OR  [[used by::{{FULLPAGENAME}}]] OR  [[Potentially used by::{{FULLPAGENAME}}]] OR [[Software Deployed.Developed by::{{FULLPAGENAME}}]]
 +
 +
|format=template
 +
|template=CuratedFooterList
 +
}}
 +
===Datasets===
 +
{{#ask:
 +
[[Category:Dataset]]
 +
[[Developed by::{{FULLPAGENAME}}]] OR  [[Owning institution::{{FULLPAGENAME}}]] OR  [[Custodian institution::{{FULLPAGENAME}}]]
 +
|format=template
 +
|template=CuratedFooterList
 +
}}
 +
===Products===
 +
{{#ask:
 +
[[Category:Products]]
 +
[[Developed by::{{FULLPAGENAME}}]]
 +
|format=template
 +
|template=CuratedFooterList
 
}}
 
}}
  
 +
</div>
  
 
[[Category:Institution]]
 
[[Category:Institution]]
 
+
__NONSFOOTER__
{{Special:Browse/{{FULLPAGENAME}}}}
 
 
 
 
</includeonly>
 
</includeonly>

Latest revision as of 10:57, 15 October 2024

This is the "Institution" template. It should be called in the following format:

{{Institution
|Full Name=
|Creation Date=
|City=
|Address=
|Branches=
|Is Department Of=
|Institution Type=
|Institution Sector=
|URL=
|Keywords=
|Related Institutions=
|Not in graph=
}}

Edit the page to see the template text.