Difference between revisions of "Template:Related To"

From The Embassy of Good Science
(MWBot)
(MWBot)
Line 9: Line 9:
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
  
<!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY-RELATED-TO --><div class="sidebar-item" data-template="Related To">{{#if: {{{Related To Theme|}}} | <h4 class="Sidebar-title">{{int:EGS Theme Related To Theme}} </h4><span class="ResourceSmallBlock-title" data-property="Related To Theme">
+
<!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY-RELATED-TO --><div class="sidebar-item" data-template="Related To">{{#if: {{{Related To Theme|}}} | <h4 class="sidebar-title">{{int:EGS Theme Related To Theme}} </h4>
{{#arraymap:{{{Related To Theme|}}}
+
<span class="related-items">{{#arraymap:{{{Related To Theme|}}}|;|@@@@|<span class="related-item">@@@@</span>|}}</span> |}}{{#if: {{{Related To Resource|}}} | <h4 class="sidebar-title">{{int:EGS Resource Related To Resource}} </h4>
  |;
+
<span class="related-items">{{#arraymap:{{{Related To Resource|}}}|;|@@@@|<span class="related-item">@@@@</span>|}}</span> |}}{{#if: {{{Related To Discussion|}}} | <h4 class="sidebar-title">{{int:EGS Discussion Related To Discussion}} </h4>
  |@@@@
+
<span class="relations">{{#arraymap:{{{Related To Discussion|}}}|;|@@@@|<span class="relations-item">@@@@</span>|}}</span> |}}</div>
  |<span class="btn btn-primary">[[@@@@]]</span>
 
  |
 
}} </span> |}}{{#if: {{{Related To Resource|}}} | <h4 class="Sidebar-title">{{int:EGS Resource Related To Resource}} </h4><span class="ResourceSmallBlock-title" data-property="Related To Resource">
 
{{#arraymap:{{{Related To Resource|}}}
 
  |;
 
  |@@@@
 
  |<span class="btn btn-primary">[[@@@@]]</span>
 
  |
 
}} </span> |}}{{#if: {{{Related To Discussion|}}} | <h4 class="Sidebar-title">{{int:EGS Discussion Related To Discussion}} </h4><span class="ResourceSmallBlock-title" data-property="Related To Discussion">
 
{{#arraymap:{{{Related To Discussion|}}}
 
  |;
 
  |@@@@
 
  |<span class="btn btn-primary">[[@@@@]]</span>
 
  |
 
}} </span> |}}</div>
 
 
<!-- /DISPLAY --><!--
 
<!-- /DISPLAY --><!--
  

Revision as of 12:46, 9 January 2020

Usage

{{Related To
  |Related To Theme=
  |Related To Resource=
  |Related To Discussion=
}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
5.1.6