Difference between revisions of "Template:Related To"
From The Embassy of Good Science
(MWBot) |
(MWBot) |
||
Line 1: | Line 1: | ||
− | <!--------------------------------- | + | <!--------------------------------- MANAGED TEMPLATE ----------------------------------><!-- |
--><noinclude><h2>Usage</h2> | --><noinclude><h2>Usage</h2> | ||
Line 22: | 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}}|<span class="resource-link">[{{#show:@@@@|?Has Link}} Open]</span>| }} | <div class="related-resource-navigation">{{#if:{{#show:@@@@|?Has Link}}|<span class="resource-link">[{{#show:@@@@|?Has Link}} Open]</span>| }} | ||
<span class="resource-info">[[@@@@|About]]</span></div> | <span class="resource-info">[[@@@@|About]]</span></div> | ||
Line 34: | Line 34: | ||
<-- 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 --><!-- | <-- 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::@@@@| ]]| }} {{#arraymap:{{{Related To Instruction|}}}|;|@@@@|[[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> |
Revision as of 16:11, 28 November 2023
Usage
{{Related To |Related To Resource= |Related To Theme= |Related To Instruction= }}