Difference between revisions of "Template:Related To"

From The Embassy of Good Science
(MWBot)
(MWBot)
Line 19: Line 19:
 
     | #default = {{#vardefine:resource_type|is-other}}
 
     | #default = {{#vardefine:resource_type|is-other}}
 
     }}
 
     }}
 
 
       <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">{{#semantic-title:@@@@}}</h4>
 
         <h4 class="related-resource-title">{{#semantic-title:@@@@}}</h4>
           <div class="related-resource-navigation">[[@@@@|Open((.resource-link))]][[About((.resource-info))]]</div>
+
           <div class="related-resource-navigation">{{#if:{{#show:@@@@|?Has Link}}|[{{#show:@@@@|?Has Link}} Open((.resource-link))]| }}
 +
          [[@@@@|About((.resource-info))]]</div>
 
       </div>|
 
       </div>|
 
   }}
 
   }}

Revision as of 15:46, 7 April 2020

Usage

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