Difference between revisions of "Template:Related To"
From The Embassy of Good Science
(MWBot) |
m (Protected "Template:Related To": MWBot ([Edit=Allow only administrators] (indefinite))) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <!--------------------------------- | + | <!--------------------------------- MANAGED TEMPLATE ----------------------------------><!-- |
--><noinclude><h2>Usage</h2> | --><noinclude><h2>Usage</h2> | ||
Line 5: | Line 5: | ||
|Related To Resource= | |Related To Resource= | ||
|Related To Theme= | |Related To Theme= | ||
+ | |Related To Instruction= | ||
}}</pre> | }}</pre> | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
− | <!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY-SIDEBAR --><div class="sidebar-items" data-template="Related To">{{#if: {{{Related To Resource|}}} | <h4 class="sidebar-title">{{int:EGS | + | <!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY-SIDEBAR --><div class="sidebar-items" data-template="Related To">{{#if: {{{Related To Resource|}}} | <h4 class="sidebar-title">{{int:EGS Related To Resource}} </h4> |
<div class="sidebar-item"> | <div class="sidebar-item"> | ||
{{#arraymap:{{{Related To Resource|}}}|;|@@@@| | {{#arraymap:{{{Related To Resource|}}}|;|@@@@| | ||
Line 21: | Line 22: | ||
<div class="related-resource {{#var:resource_type}}"> | <div class="related-resource {{#var:resource_type}}"> | ||
<div class="related-resource-category">{{#show:@@@@|?Resource Type}}</div> | <div class="related-resource-category">{{#show:@@@@|?Resource Type}}</div> | ||
− | <h4 class="related-resource-title">{{# | + | <h4 class="related-resource-title">{{#getdisplaytitle:@@@@}}</h4> |
− | <div class="related-resource-navigation">{{#if:{{#show:@@@@|?Has Link}}|[{{#show:@@@@|?Has Link}} Open | + | <div class="related-resource-navigation">{{#if:{{#show:@@@@|?Has Link}}|<span class="resource-link">[{{#show:@@@@|?Has Link}} Open]</span>| }} |
− | [[@@@@|About | + | <span class="resource-info">[[@@@@|About]]</span></div> |
</div>| | </div>| | ||
}} | }} | ||
− | </div> |}}{{#if: {{{Related To Theme|}}} | <h4 class="sidebar-title">{{int:EGS Theme Related To Theme}} </h4> | + | </div> |}}{{#if: {{{Related To Theme|}}} | <h4 class="sidebar-title">{{int:EGS Related To Theme}} </h4> |
− | <div class="sidebar-item"> <div class="other-information-block grid-block"><ul class="other-information-items">{{#arraymap:{{{Related To | + | <div class="sidebar-item"> <div class="other-information-block grid-block"><ul class="other-information-items">{{#arraymap:{{{Related To Theme|}}}|;|@@@@|<li class="other-information-item grid-item">[[@@@@]]</li>|}}</ul></div></div> |}}{{#if: {{{Related To Instruction|}}} | <h4 class="sidebar-title">{{int:EGS Related To Instruction}} </h4> |
+ | <div class="sidebar-item"> <div class="other-information-block grid-block"><ul class="other-information-items">{{#arraymap:{{{Related To Instruction|}}}|;|@@@@|<li class="other-information-item grid-item">[[@@@@]]</li>|}}</ul></div></div> |}}</div> | ||
<!-- /DISPLAY --><!-- | <!-- /DISPLAY --><!-- | ||
− | <-- SMW ANNOTATION -->{{#arraymap:{{{Related To Resource|}}}|;|@@@@|[[Related To Resource::@@@@| ]]| }}{{#arraymap:{{{Related To Theme|}}}|;|@@@@|[[Related To Theme::@@@@| ]]| }}<!-- /SMW ANNOTATION --><!-- | + | <-- SMW ANNOTATION -->{{#arraymap:{{{Related To Resource|}}}|;|@@@@|[[Related To Resource::@@@@| ]]| }}{{#arraymap:{{{Related To Theme|}}}|;|@@@@|[[Related To Theme::@@@@| ]]| }}{{#arraymap:{{{Related To Instruction|}}}|;|@@@@|[[Related To Instruction::@@@@| ]]| }}<!-- /SMW ANNOTATION --><!-- |
− | <-- ADDITIONAL SMW FIELD ANNOTATION -->{{#arraymap:{{{Related To Resource|}}}|;|@@@@|[[Related To Object::@@@@| ]]| }} {{#arraymap:{{{Related To Theme|}}}|;|@@@@|[[Related To Object::@@@@| ]]| }} <!-- /ADDITIONAL SMW FIELD ANNOTATION --><!-- | + | <-- ADDITIONAL SMW FIELD ANNOTATION -->{{#arraymap:{{{Related To Resource|}}}|;|@@@@|[[Related To Object::@@@@| ]]| }} {{#arraymap:{{{Related To Theme|}}}|;|@@@@|[[Related To Object::@@@@| ]]| }} {{#arraymap:{{{Related To Instruction|}}}|;|@@@@|[[Related To Object::@@@@| ]]| }} <!-- /ADDITIONAL SMW FIELD ANNOTATION --><!--<!-- |
− | <-- CATEGORY --><!-- /CATEGORY --></includeonly | + | <!-- CATEGORY --><!-- /CATEGORY --></includeonly> |
− | |||
− |
Latest revision as of 16:11, 28 November 2023
Usage
{{Related To |Related To Resource= |Related To Theme= |Related To Instruction= }}