Difference between revisions of "Template:Resources"

From Earth Science Information Partners (ESIP)
(Created page with "<includeonly><div class="d-none" hidden> Category:Resources {{#if: {{#ask: Category:Portals [[{{ROOTPAGENAME}}]] Modification date::+ }}|{{#vardefine: por...")
 
 
(13 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 20: Line 22:
 
|Resources tag={{{Resources tag|}}}|+sep=;
 
|Resources tag={{{Resources tag|}}}|+sep=;
 
}}
 
}}
 +
 +
{{DISPLAYTITLE: {{#titleparts: {{FULLPAGENAME}}||-1}} }}
 +
</div>
 +
{{{Resources description|}}}
 +
 +
<div class="rounded bg-light py-2 px-3 mb-3">{{#arraymap: {{{Resources tag|}}}
 +
  |;
 +
  |@
 +
  |<span class="nowrap small mr-2">{{#ask: [[Resources tag::@]] |limit=0 |searchlabel=<i class="fas fa-hashtag small"></i>@|format=ul}}</span>
 +
  |
 +
}}</div>
 +
 +
<div class="resourceslist">
 +
{{{Resources list|}}}
 
</div>
 
</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.