Difference between revisions of "Template:Instruction"

From The Embassy of Good Science
(MWBot)
(MWBot)
Line 3: Line 3:
 
--><noinclude><h2>Usage</h2>
 
--><noinclude><h2>Usage</h2>
 
<pre>{{Instruction
 
<pre>{{Instruction
  |Instruction Type=
 
  |Has Parent Instruction=
 
 
   |Title=
 
   |Title=
   |Is About=
+
   |Has Goal=
   |Important Because=
+
   |Has Requirements=
 +
  |Has Duration=
 +
  |Has Participants=
 
   |Important For=
 
   |Important For=
   |Purpose=
+
   |Has Method=
  |Achievement=
 
 
}}</pre>
 
}}</pre>
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
Line 22: Line 21:
 
<h1>{{{Title}}}</h1><!-- /PREPEND --><!--
 
<h1>{{{Title}}}</h1><!-- /PREPEND --><!--
  
<!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY -->{{#if: {{{Is About|}}} |<h2>{{int:EGS Is About}}</h2><div class="mw-field-value" data-property="Is About">
+
<!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY -->{{#if: {{{Has Goal|}}} |<h2>{{int:EGS Has Goal}}</h2><div class="mw-field-value" data-property="Has Goal">
{{{Is About|}}} </div>| }}{{#if: {{{Important Because|}}} |<h2>{{int:EGS Important Because}}</h2><div class="mw-field-value" data-property="Important Because">
+
{{{Has Goal|}}} </div>| }}{{#if: {{{Has Requirements|}}} |<h2>{{int:EGS Has Requirements}}</h2><div class="mw-field-value" data-property="Has Requirements">
{{{Important Because|}}} </div>| }}{{#if: {{{Important For|}}} |<h2>{{int:EGS Important For}}</h2><div class="mw-field-value" data-property="Important For">
+
{{{Has Requirements|}}} </div>| }}{{#if: {{{Has Duration|}}} |<h2>{{int:EGS Has Duration}}</h2><div class="mw-field-value" data-property="Has Duration">
 +
{{{Has Duration|}}} </div>| }}{{#if: {{{Has Participants|}}} |<h2>{{int:EGS Has Participants}}</h2><div class="mw-field-value" data-property="Has Participants">
 +
{{{Has Participants|}}} </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|}}}
 
   |;
 
   |;
Line 30: Line 31:
 
   |<span class="label label-info label-tag">[[Important For:@@@@|@@@@]]</span>
 
   |<span class="label label-info label-tag">[[Important For:@@@@|@@@@]]</span>
 
   |&nbsp;
 
   |&nbsp;
}} </div>| }}{{#if: {{{Purpose|}}} |<h2>{{int:EGS Instruction Purpose}}</h2><div class="mw-field-value" data-property="Purpose">
+
}} </div>| }}{{#if: {{{Has Method|}}} |<h2>{{int:EGS Has Method}}</h2><div class="mw-field-value" data-property="Has Method">
{{#arraymap:{{{Purpose|}}}|;|@@@@|@@@@|;&nbsp;}} </div>| }}{{#if: {{{Achievement|}}} |<h2>{{int:EGS Instruction Achievement}}</h2><div class="mw-field-value" data-property="Achievement">
+
{{#arraymap:{{{Has Method|}}}
{{{Achievement|}}} </div>| }}<!-- /DISPLAY --><!--
+
  |;
 +
  |@@@@
 +
  |<span class="label label-info label-tag">[[Has Method:@@@@|@@@@]]</span>
 +
  |&nbsp;
 +
}} </div>| }}<!-- /DISPLAY --><!--
  
<-- SMW ANNOTATION -->[[Instruction Type::{{{Instruction Type|}}}| ]][[Has Parent Instruction::{{{Has Parent Instruction|}}}| ]][[Title::{{{Title|}}}| ]][[Is About::{{{Is About|}}}| ]][[Important Because::{{{Important Because|}}}| ]]{{#arraymap:{{{Important For|}}}|;|@@@@|[[Important For::@@@@| ]]| }}{{#arraymap:{{{Purpose|}}}|;|@@@@|[[Purpose::@@@@| ]]| }}[[Achievement::{{{Achievement|}}}| ]]<!-- /SMW ANNOTATION --><!--
+
<-- SMW ANNOTATION -->[[Title::{{{Title|}}}| ]][[Has Goal::{{{Has Goal|}}}| ]][[Has Requirements::{{{Has Requirements|}}}| ]][[Has Duration::{{#replace:{{{Has Duration|}}}|,|.}}| ]][[Has Participants::{{{Has Participants|}}}| ]]{{#arraymap:{{{Important For|}}}|;|@@@@|[[Important For::@@@@| ]]| }}{{#arraymap:{{{Has Method|}}}|;|@@@@|[[Has Method::@@@@| ]]| }}<!-- /SMW ANNOTATION --><!--
  
 
<-- ADDITIONAL SMW ANNOTATION -->[[Semantic Dependency::{{FULLPAGENAME}}| ]] [[Main Category::Category:Instruction| ]] [[Display Title::{{{Title}}}| ]] <!-- /ADDITIONAL SMW ANNOTATION --><!--
 
<-- ADDITIONAL SMW ANNOTATION -->[[Semantic Dependency::{{FULLPAGENAME}}| ]] [[Main Category::Category:Instruction| ]] [[Display Title::{{{Title}}}| ]] <!-- /ADDITIONAL SMW ANNOTATION --><!--

Revision as of 13:44, 22 September 2020

Usage

{{Instruction
  |Title=
  |Has Goal=
  |Has Requirements=
  |Has Duration=
  |Has Participants=
  |Important For=
  |Has Method=
}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
5.1.6