Difference between revisions of "Template:Institution"

From Security Vision
Jump to: navigation, search
(Generated from a page schema)
 
(72 intermediate revisions by 4 users not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Institution
 
{{Institution
|Institution Full Name=
+
|Full Name=
 
|Creation Date=
 
|Creation Date=
|Logo=
 
 
|City=
 
|City=
 +
|Address=
 +
|Branches=
 
|Is Department Of=
 
|Is Department Of=
 
|Institution Type=
 
|Institution Type=
 
|Institution Sector=
 
|Institution Sector=
|Clients=
 
|Research Category=
 
 
|URL=
 
|URL=
 +
|Keywords=
 +
|Related Institutions=
 +
|Not in graph=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
+
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;display:none;"
 +
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
 +
|-
 
! Institution Full Name
 
! Institution Full Name
| [[Institution::{{{Institution Full Name|}}}]]
+
| [[Full Name::{{{Institution Full Name|}}}]]
 +
|-
 +
! Excluded from graph
 +
| {{#arraymap:{{{Not in graph|}}}|,|x|[[Not in graph::x]]}}
 
|-
 
|-
 
! Creation Date
 
! Creation Date
Line 31: Line 38:
 
! City
 
! City
 
| {{#arraymap:{{{City|}}}|,|x|[[City::x]]}}
 
| {{#arraymap:{{{City|}}}|,|x|[[City::x]]}}
 
+
|-
 +
! Branches
 +
| {{#arraymap:{{{Branches|}}}|,|x|[[Branches::x]]}}
 
|-
 
|-
 
! 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
 
| {{#arraymap:{{{Institution Sector|}}}|,|x|[[Institution Sector::x]]}}
 
| {{#arraymap:{{{Institution Sector|}}}|,|x|[[Institution Sector::x]]}}
 
+
|-
 +
! Importance
 +
| [[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 57: Line 66:
  
 
}}
 
}}
 +
{{#if:{{{Address|}}}|
 +
{{!}}-
 +
! Address
 +
[[Address::{{{Address|}}}]]
 +
}}
 +
|-
 +
! Keywords
 +
| {{#arraymap:{{{Keywords|}}}|,|x|[[Keywords::x]]}}
 +
|-
 +
! Related Institutions
 +
| {{#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-->
 +
<!-- {{#set:
 +
|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__
 
</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.