Difference between revisions of "Template:Resources"

From Earth Science Information Partners (ESIP)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly><div class="d-none" hidden>
 
<includeonly><div class="d-none" hidden>
  
[[Category:Resources]]
+
{{#ifeq: {{#titleparts:{{FULLPAGENAME}}||-1}}
 
+
  |Resources
 +
  |[[Category:Resources]]
 +
}}
 
{{#if: {{#ask:  
 
{{#if: {{#ask:  
 
   [[Category:Portals]]
 
   [[Category:Portals]]
Line 25: Line 27:
 
{{{Resources description|}}}
 
{{{Resources description|}}}
  
{{#arraymap: {{{Resources tag|}}}
+
<div class="rounded bg-light py-2 px-3 mb-3">{{#arraymap: {{{Resources tag|}}}
 
   |;
 
   |;
 
   |@
 
   |@
   |<span class="nowrap small mr-2"><i class=" fas fa-hashtag small"></i> @</span>
+
   |<span class="nowrap small mr-2">{{#ask: [[Resources tag::@]] |limit=0 |searchlabel=<i class="fas fa-hashtag small"></i>@|format=ul}}</span>
 
   |
 
   |
}}
+
}}</div>
  
{{{Resources|}}}
+
<div class="resourceslist">
 +
{{{Resources list|}}}
 +
</div>
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
Resources subpage can be added to any other page.
 
Resources subpage can be added to any other page.
 
</noinclude>
 
</noinclude>

Latest revision as of 00:15, October 19, 2020

Resources subpage can be added to any other page.