Difference between revisions of "Template:Resource"

From The Embassy of Good Science
(MWBot)
(MWBot)
 
(42 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!--------------------------------- MOBO GENERATED TEMPLATE ----------------------------------><!--
+
<!--------------------------------- MANAGED TEMPLATE ----------------------------------><!--
  
 
--><noinclude><h2>Usage</h2>
 
--><noinclude><h2>Usage</h2>
Line 12: Line 12:
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
  
<!-- PREPEND --><p class="sidebar-item formbutton-edit">{{#formlink:form=Resource|target={{FULLPAGENAME}}|link text=edit resource}}</p>
+
<!-- PREPEND -->{{EvaluationResources}}{{SEO | {{{Title}}} | {{{Display_Title}}} | {{{Is About}}} }}<!--
<div id="showResourceType">{{#urlget:resourceType}}</div>
+
--><div class="sidebar-item formbutton formbutton-open">{{#widget:BTN Open Resource|link={{#ask:[[{{FULLPAGENAME}}]]|?Has Link=|mainlabel=-}}|label=open resource}}
<h1>{{{Title}}}</h1><!-- /PREPEND --><!--
+
<div class="smw-edit-dropdown" data-dropdown-trigger=""><div class="menu-dots">[[File:Dropdown_dots.svg|link=]]</div>
 +
<div class="te-dropdown-menu">{{#ifeq:{{{Resource Type|}}}|Interactive|{{Te Dropdown Menu Interactive Content}}|{{Te Dropdown Menu}}}}</div></div>
 +
</div>
 +
{{G Discussion Sidebar}}
 +
{{BTN Back|Resource}}
 +
{{Resource Icon}}
 +
<h1>{{{Title}}}</h1>
 +
{{#ifeq:{{{Resource Type|}}}|Interactive|{{#widget:H5P|ID={{#explode:{{PAGENAME}}|-|1}}}}}}<!-- /PREPEND --><!--
  
<!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY -->{{#if: {{{Is About|}}} | <h2>{{int:EGS Is About}}</h2><p data-property="Is About">
+
<!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY -->{{#if: {{{Is About|}}} |<h2>{{int:EGS Is About}}</h2><div class="mw-field-value" data-property="Is About">
{{{Is About|}}}</p>|}}{{#if: {{{Important Because|}}} | <h2>{{int:EGS Important Because}}</h2><p data-property="Important Because">
+
{{{Is About|}}} </div>| }}{{#if: {{{Important Because|}}} |<h2>{{int:EGS Important Because}}</h2><div class="mw-field-value" data-property="Important Because">
{{{Important Because|}}}</p>|}}{{#if: {{{Important For|}}} | <h2>{{int:EGS Important For}}</h2><p data-property="Important For">
+
{{{Important Because|}}} </div>| }}{{#if: {{{Important For|}}} |<h2>{{int:EGS Important For}}</h2><div class="mw-field-value" data-property="Important For">
 
{{#arraymap:{{{Important For|}}}
 
{{#arraymap:{{{Important For|}}}
 
   |;
 
   |;
 
   |@@@@
 
   |@@@@
 
   |<span class="label label-info label-tag">[[Important For:@@@@|@@@@]]</span>
 
   |<span class="label label-info label-tag">[[Important For:@@@@|@@@@]]</span>
   |&nbsp;
+
   |
}}</p>|}}{{#if: {{{Has Best Practice|}}} | <h2>{{int:EGS Has Best Practice}}</h2><p data-property="Has Best Practice">
+
}} </div>| }}{{#if: {{{Has Best Practice|}}} |<h2>{{int:EGS Has Best Practice}}</h2><div class="mw-field-value" data-property="Has Best Practice">
{{{Has Best Practice|}}}</p>|}}<!-- /DISPLAY --><!--
+
{{{Has Best Practice|}}} </div>| }}<!-- /DISPLAY --><!--
  
<-- SMW ANNOTATION -->[[Resource Type::{{{Resource Type|}}}| ]][[Title::{{{Title|}}}| ]][[Is About::{{{Is About|}}}| ]][[Important Because::{{{Important Because|}}}| ]]{{#arraymap:{{{Important For|}}}|;|@@@@|[[Important For::@@@@| ]]| }}[[Has Best Practice::{{{Has Best Practice|}}}| ]]<!-- /SMW ANNOTATION --><!--
+
<-- SMW ANNOTATION -->[[Resource Type::{{{Resource Type|}}}| ]][[Title::{{{Title|}}}| ]]{{#set:Is About={{{Is About|}}}}}{{#set:Important Because={{{Important Because|}}}}}{{#arraymap:{{{Important For|}}}|;|@@@@|[[Important For::@@@@| ]]| }}{{#set:Has Best Practice={{{Has Best Practice|}}}}}<!-- /SMW ANNOTATION --><!--
  
 
<-- ADDITIONAL SMW ANNOTATION -->[[Semantic Dependency::{{FULLPAGENAME}}| ]] [[Main Category::Category:Resource| ]] [[Display Title::{{{Title}}}| ]] <!-- /ADDITIONAL SMW ANNOTATION --><!--
 
<-- ADDITIONAL SMW ANNOTATION -->[[Semantic Dependency::{{FULLPAGENAME}}| ]] [[Main Category::Category:Resource| ]] [[Display Title::{{{Title}}}| ]] <!-- /ADDITIONAL SMW ANNOTATION --><!--
  
<-- DISPLAYTITLE -->{{DISPLAYTITLE:{{{Title}}}}}<!-- /DISPLAYTITLE --><!--
+
<!-- DISPLAYTITLE -->{{DISPLAYTITLE:{{{Title}}}}}<!-- /DISPLAYTITLE --><!--
 +
<!-- APPROVABLE_BY -->{{#approvable_by:groups=approver-resource}}<!-- /APPROVABLE_BY --><!--
  
<-- CATEGORY -->[[Category:Resource]] <!-- /CATEGORY --></includeonly><!--
+
<!-- CATEGORY -->[[Category:Resource]] <!-- /CATEGORY --></includeonly>
 
 
<!-- GLOBAL APPEND --><noinclude>{{Generated by gesinn.it}} <!-- All content on this page: Copyright © 2020 gesinn.it GmbH & Co. KG --></noinclude><!-- /GLOBAL APPEND -->
 

Latest revision as of 11:06, 21 December 2023

Usage

{{Resource
  |Resource Type=
  |Title=
  |Is About=
  |Important Because=
  |Important For=
  |Has Best Practice=
}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
5.1.6