Difference between revisions of "Template:Portal"

From Earth Science Information Partners (ESIP)
Line 17: Line 17:
 
{{#if: {{{Portal tagline|}}}|<div class="lead my-3 font-weight-bold">{{{Portal tagline|}}}</div>}}
 
{{#if: {{{Portal tagline|}}}|<div class="lead my-3 font-weight-bold">{{{Portal tagline|}}}</div>}}
 
{{{Portal description|}}}
 
{{{Portal description|}}}
</div>
+
 
<div class="card-footer d-flex justify-content-between">
+
{{#arraymap: {{{Portal tag|}}}
<div>{{#arraymap: {{{Portal tag|}}}
 
 
   |;
 
   |;
 
   |@
 
   |@
Line 26: Line 25:
 
}}
 
}}
 
</div>
 
</div>
<div class="text-right">{{#ifeq: {{{Portal news|}}}|Yes
+
<div class="card-footer d-flex justify-content-between">{{#ifeq: {{{Portal news|}}}|Yes
 
     |{{#formlink: form=News
 
     |{{#formlink: form=News
 
         |link text=<span class="mw-ui-button mw-ui-progressive">News</span>
 
         |link text=<span class="mw-ui-button mw-ui-progressive">News</span>

Revision as of 03:03, July 18, 2020

Portal page layout and semantics.