Difference between revisions of "Template:Instruction"
From The Embassy of Good Science
(MWBot) |
(MWBot) |
||
(44 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <!--------------------------------- | + | <!--------------------------------- MANAGED TEMPLATE ----------------------------------><!-- |
--><noinclude><h2>Usage</h2> | --><noinclude><h2>Usage</h2> | ||
<pre>{{Instruction | <pre>{{Instruction | ||
− | |||
− | |||
|Title= | |Title= | ||
− | | | + | |Has Related Initiative= |
− | | | + | |Instruction Goal= |
+ | |Has Requirements= | ||
+ | |Has Duration= | ||
+ | |Has Participants= | ||
|Important For= | |Important For= | ||
− | | | + | |Has Method= |
− | |||
}}</pre> | }}</pre> | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
− | <!-- PREPEND -->{{SEO | {{{Title}}} | {{{Display_Title}}} | {{{ | + | <!-- PREPEND -->{{EvaluationResources}}{{SEO | {{{Title}}} | {{{Display_Title}}} | {{{Instruction Goal|}}} }}<!-- |
− | --><div class="sidebar-item formbutton-edit">{{#widget: | + | --><div class="sidebar-item formbutton formbutton-edit">{{#widget:BTN Form Edit|server={{SERVER}}|scriptpath={{SCRIPTPATH}}|fullpagename={{FULLPAGENAME}}|label=Edit}} |
<div class="smw-edit-dropdown" data-dropdown-trigger=""><div class="menu-dots">[[File:Dropdown_dots.svg|link=]]</div> | <div class="smw-edit-dropdown" data-dropdown-trigger=""><div class="menu-dots">[[File:Dropdown_dots.svg|link=]]</div> | ||
− | <div class="te-dropdown-menu"> | + | <div class="te-dropdown-menu">{{Te Dropdown Menu}}</div></div></div> |
− | </div> | + | {{BTN Back|Instruction}} |
− | <h1>{{{Title}}}</h1><!-- /PREPEND --><!-- | + | <h1>{{{Title}}}</h1> |
+ | {{Custom TabMenu|Instruction|Instructions for}}<!-- /PREPEND --><!-- | ||
− | <!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY -->{{#if: {{{ | + | <!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY-SUMMARY-BLOCK --><div class="summary-block"><div class="summary-block-container">{{#if: {{{Has Related Initiative|}}} |<div class="summary-item" data-property="Has Related Initiative"><div class="summary-item-title">{{int:EGS Has Related Initiative}}</div><div class="summary-item-content"> |
− | {{{ | + | [[{{{Has Related Initiative|}}}]] </div></div>| }}{{#if: {{{Instruction Goal|}}} |<div class="summary-item" data-property="Instruction Goal"><div class="summary-item-title">{{int:EGS Has Goal}}</div><div class="summary-item-content"> |
− | {{{ | + | {{{Instruction Goal|}}} </div></div>| }}{{#if: {{{Has Requirements|}}} |<div class="summary-item" data-property="Has Requirements"><div class="summary-item-title">{{int:EGS Has Requirements}}</div><div class="summary-item-content"> |
+ | {{{Has Requirements|}}} </div></div>| }}{{#if: {{{Has Duration|}}} |<div class="summary-item" data-property="Has Duration"><div class="summary-item-title">{{int:EGS Has Duration}}</div><div class="summary-item-content"> | ||
+ | {{{Has Duration|}}} </div></div>| }}{{#if: {{{Has Participants|}}} |<div class="summary-item" data-property="Has Participants"><div class="summary-item-title">{{int:EGS Has Participants}}</div><div class="summary-item-content"> | ||
+ | {{{Has Participants|}}} </div></div>| }}{{#if: {{{Important For|}}} |<div class="summary-item" data-property="Important For"><div class="summary-item-title">{{int:EGS Important For}}</div><div class="summary-item-content"> | ||
{{#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> | ||
+ | | | ||
+ | }} </div></div>| }}{{#if: {{{Has Method|}}} |<div class="summary-item" data-property="Has Method"><div class="summary-item-title">{{int:EGS Has Method}}</div><div class="summary-item-content"> | ||
+ | {{#arraymap:{{{Has Method|}}} | ||
+ | |; | ||
+ | |@@@@ | ||
+ | |<span class="label label-info label-tag">[[Has Method:@@@@|@@@@]]</span> | ||
| | | | ||
− | }}</ | + | }} </div></div>| }}{{#ask:[[Category:Guide]][[Has subobject.Guide Step Element::{{FULLPAGENAME}}]][[Has Related Initiative::+]] |
− | + | |?Has Related Initiative | |
− | + | |format=template | |
+ | |link=none | ||
+ | |mainlabel=- | ||
+ | |template=Instruction Initiative Tag | ||
+ | }} | ||
+ | </div></div> | ||
+ | <!-- /DISPLAY --><!-- | ||
− | <-- SMW ANNOTATION -->[[ | + | <-- SMW ANNOTATION -->[[Title::{{{Title|}}}| ]][[Has Related Initiative::{{{Has Related Initiative|}}}| ]]{{#set:Instruction Goal={{{Instruction Goal|}}}}}{{#set: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 --><!-- | ||
<!-- DISPLAYTITLE -->{{DISPLAYTITLE:{{{Title}}}}}<!-- /DISPLAYTITLE --><!-- | <!-- DISPLAYTITLE -->{{DISPLAYTITLE:{{{Title}}}}}<!-- /DISPLAYTITLE --><!-- | ||
+ | <!-- APPROVABLE_BY -->{{#approvable_by:groups=approver-instruction}}<!-- /APPROVABLE_BY --><!-- | ||
− | <-- CATEGORY -->[[Category:Instruction]] <!-- /CATEGORY --></includeonly | + | <!-- CATEGORY -->[[Category:Instruction]] <!-- /CATEGORY --></includeonly> |
− | |||
− |
Latest revision as of 14:05, 3 June 2024
Usage
{{Instruction |Title= |Has Related Initiative= |Instruction Goal= |Has Requirements= |Has Duration= |Has Participants= |Important For= |Has Method= }}