Difference between revisions of "Template:Portal"
From Earth Science Information Partners (ESIP)
| Line 18: | Line 18: | ||
{{{Portal description|}}} | {{{Portal description|}}} | ||
</div> | </div> | ||
| − | <div class="card-footer">{{#arraymap: {{{Portal tag|}}} | + | <div class="card-footer d-flex justify-content-between"> |
| + | <div>{{#arraymap: {{{Portal tag|}}} | ||
|; | |; | ||
|@ | |@ | ||
|<span class="nowrap small mr-2"><i class=" fas fa-hashtag small"></i> @</span> | |<span class="nowrap small mr-2"><i class=" fas fa-hashtag small"></i> @</span> | ||
| | | | ||
| − | }}</div> | + | }} |
| + | </div> | ||
| + | <div class="text-right">{{#ifeq: {{{Portal news|}}}|Yes | ||
| + | |{{#formlink: form=News | ||
| + | |link text=<span class="mw-ui-button mw-ui-progressive">News</span> | ||
| + | |News[Portal]={{PAGENAME}} | ||
| + | }} | ||
| + | }}<!-- | ||
| + | |||
| + | -->{{#ifeq: {{{Portal events|}}}|Yes | ||
| + | |{{#formlink: form=Event | ||
| + | |link text=<span class="mw-ui-button mw-ui-progressive">Event</span> | ||
| + | |Event[Portal]={{PAGENAME}} | ||
| + | }} | ||
| + | }}<!-- | ||
| + | |||
| + | -->{{#ifeq: {{{Portal resources|}}}|Yes | ||
| + | |{{#formlink: form=Resources | ||
| + | |link text=<span class="mw-ui-button mw-ui-destructive">Resources</span> | ||
| + | |Resources[Portal]={{PAGENAME}} | ||
| + | }} | ||
| + | }}<!-- | ||
| + | |||
| + | -->{{#ifeq: {{{Portal documents|}}}|Yes | ||
| + | |{{#formlink: form=Documents | ||
| + | |link text=<span class="mw-ui-button mw-ui-destructive">Document</span> | ||
| + | |Documents[Portal]={{PAGENAME}} | ||
| + | }} | ||
| + | }}<!-- | ||
| + | |||
| + | --></div> | ||
| + | </div> | ||
</div> | </div> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Portal page layout and semantics. | Portal page layout and semantics. | ||
</noinclude> | </noinclude> | ||
Revision as of 02:01, July 18, 2020
Portal page layout and semantics.