Difference between revisions of "Template:Dataset"
From Security Vision
Line 82: | Line 82: | ||
| [[Country::{{{Country|}}}]] | | [[Country::{{{Country|}}}]] | ||
|} | |} | ||
+ | |||
+ | |||
+ | {{#ask:[[{{FULLPAGENAME}}]] | ||
+ | |? Is_dataset_category | ||
+ | |headers=show | ||
+ | |format=list | ||
+ | |headers=show | ||
+ | |mainlabel=- | ||
+ | |transpose=no | ||
+ | |class=keyword-tag | ||
+ | }} | ||
+ | |||
+ | |||
+ | {{#ask:[[{{FULLPAGENAME}}]] | ||
+ | |? Keywords | ||
+ | |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"> | ||
+ | '''Technical information''': | ||
+ | |||
+ | {{#ask: [[{{FULLPAGENAME}}]] | ||
+ | |?has full name= Full name | ||
+ | |?Country= Country | ||
+ | |?Dataset Category= Contents | ||
+ | |?URL | ||
+ | |?Related Technology | ||
+ | |?has images=Images | ||
+ | |?has individuals=Individuals | ||
+ | |?runs database software | ||
+ | |offset=0 | ||
+ | |link=all | ||
+ | |order=asc,asc | ||
+ | |headers=show | ||
+ | |mainlabel=- | ||
+ | |class=smwtable-clean | ||
+ | |transpose=yes | ||
+ | }} | ||
+ | |||
+ | '''Developers and Users''': | ||
+ | {{#ask: [[{{FULLPAGENAME}}]] | ||
+ | |?Developed by | ||
+ | |?Owning institution | ||
+ | |?Custodian institution | ||
+ | |offset=0 | ||
+ | |link=all | ||
+ | |order=asc,asc | ||
+ | |headers=show | ||
+ | |mainlabel=- | ||
+ | |class=smwtable-clean | ||
+ | |transpose=yes | ||
+ | }} | ||
+ | |||
+ | |||
+ | </div> | ||
+ | <div id="tab2" class="tab-pane fade" role="tabpanel" aria-labelledby="Certainty"> | ||
+ | '''Certainty''': | ||
+ | {{#ask: [[{{FULLPAGENAME}}]] | ||
+ | |?Information Certainty | ||
+ | |?Is unknown | ||
+ | |offset=0 | ||
+ | |link=all | ||
+ | |order=asc,asc | ||
+ | |headers=show | ||
+ | |mainlabel=- | ||
+ | |class=smwtable-clean | ||
+ | |transpose=yes | ||
+ | }} | ||
+ | |||
+ | |||
+ | </div> | ||
+ | |||
+ | </div> | ||
+ | |||
+ | |||
+ | <!-- | ||
{{#ask: [[{{FULLPAGENAME}}]] | {{#ask: [[{{FULLPAGENAME}}]] | ||
Line 88: | Line 178: | ||
|?is dataset category= Type (is dataset category) | |?is dataset category= Type (is dataset category) | ||
|?Dataset Category= Contents | |?Dataset Category= Contents | ||
− | |||
|?Developed by | |?Developed by | ||
|?Owning institution | |?Owning institution | ||
|?Custodian institution | |?Custodian institution | ||
|?User institution | |?User institution | ||
− | |||
|?URL | |?URL | ||
|?Related Technology | |?Related Technology | ||
− | |||
|?has images=Images | |?has images=Images | ||
|?has individuals=Individuals | |?has individuals=Individuals | ||
− | |||
|?runs database software | |?runs database software | ||
− | |||
|?Keywords | |?Keywords | ||
|offset=0 | |offset=0 | ||
Line 112: | Line 197: | ||
|transpose=yes | |transpose=yes | ||
}} | }} | ||
+ | --> | ||
+ | |||
{{#set:Is unknown={{#ifeq: {{#explode:{{PAGENAME}}| |0}}|Unknown|true|false}}}} | {{#set:Is unknown={{#ifeq: {{#explode:{{PAGENAME}}| |0}}|Unknown|true|false}}}} | ||
[[Category:Dataset]] | [[Category:Dataset]] | ||
<!-- {{Special:Browse/{{FULLPAGENAME}}}} --> | <!-- {{Special:Browse/{{FULLPAGENAME}}}} --> | ||
</includeonly> | </includeonly> |
Revision as of 14:25, 26 March 2024
This is the "Dataset" template. It should be called in the following format:
{{Dataset |has full name= |is dataset category= |Developed by= |Dataset Category= |URL= |Keywords= |Related Technology= |Owning institution= |Custodian institution= |User institution= |has images= |has individuals= |runs database software= |Country= }}
Edit the page to see the template text.