Difference between revisions of "Template:Portal"
From Earth Science Information Partners (ESIP)
(17 intermediate revisions by the same user not shown) | |||
Line 31: | Line 31: | ||
|; | |; | ||
|@ | |@ | ||
− | |<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> | </div> | ||
Line 74: | Line 49: | ||
|Portal={{ROOTPAGENAME}} | |Portal={{ROOTPAGENAME}} | ||
|News status=On | |News status=On | ||
− | |||
|Hide bottom panel=Yes | |Hide bottom panel=Yes | ||
+ | |Hide news feeds=Yes | ||
}} | }} | ||
</div> | </div> | ||
Line 90: | Line 65: | ||
### EVENTS | ### EVENTS | ||
− | --><div class="card mb-3 mr-0 shadow-sm"> | + | --><div id="events-front" class="card mb-3 mr-md-0 shadow-sm"> |
<div class="card-header"> | <div class="card-header"> | ||
<div class="lead font-weight-bold">{{#formlink: form=Event | <div class="lead font-weight-bold">{{#formlink: form=Event | ||
− | |link text=<i class="fas fa-plus-circle float-right text-dark"></i> | + | |link text=<i class="fas fa-plus-circle float-right text-dark" title="Create new event"></i> |
− | | | + | |Events[Portal]={{PAGENAME}} |
− | }}Events</div> | + | }}<!-- -->Events</div> |
</div> | </div> | ||
− | <div class=" | + | <div class="p-2 pt-0"> |
− | {{#ask: [[Category:Events]][[Portal::{{PAGENAME}}]]|format= | + | {{#ask: |
− | + | [[Category:Events]] | |
− | + | [[Portal::{{PAGENAME}}]] | |
− | + | |?Event duration label=Date | |
+ | |headers=plain | ||
+ | |format=table | ||
+ | |class=datatable | ||
+ | |mainlabel=Event | ||
+ | }} | ||
</div> | </div> | ||
</div> | </div> | ||
Line 110: | Line 90: | ||
--><div class="card mb-3 shadow-sm"> | --><div class="card mb-3 shadow-sm"> | ||
<div class="card-header"> | <div class="card-header"> | ||
− | <div class="lead font-weight-bold">{{#formlink: form=Resources | + | <div class="lead font-weight-bold">{{#if: {{#show: {{PAGENAME}}/Resources |?Modification date }} |
− | + | |{{#formlink: form=Resources | |
− | + | |link text=<i class="fas fa-pencil-alt text-dark float-right" title="Edit Resources page"></i> | |
− | + | |target={{PAGENAME}}/Resources | |
+ | |returnto={{PAGENAME}} | ||
+ | |reload | ||
+ | }} | ||
+ | |{{#formlink: form=Resources | ||
+ | |link text=<i class="fas fa-plus-circle text-dark float-right" title="Create Resources page"></i> | ||
+ | |Resources[Portal]={{PAGENAME}} | ||
+ | |returnto={{PAGENAME}} | ||
+ | |reload | ||
+ | }} | ||
+ | }}<!-- -->Resources</div> | ||
</div> | </div> | ||
<div class="card-body"> | <div class="card-body"> | ||
Line 133: | Line 123: | ||
### GOOGLE DOCS | ### GOOGLE DOCS | ||
− | --><div class="card mb-3 mr-0 shadow-sm"> | + | --><div class="card mb-3 mr-md-0 shadow-sm"> |
<div class="card-header"> | <div class="card-header"> | ||
<div class="lead font-weight-bold">Google Documents</div> | <div class="lead font-weight-bold">Google Documents</div> | ||
Line 140: | Line 130: | ||
|super_page={{PAGENAME}}/GD | |super_page={{PAGENAME}}/GD | ||
|Googledoc[Portal title]={{PAGENAME}} | |Googledoc[Portal title]={{PAGENAME}} | ||
+ | |button text=Create or edit description | ||
+ | |placeholder=Enter the name of a document ... | ||
}} | }} | ||
{{#ask: | {{#ask: |
Latest revision as of 03:57, July 23, 2020
Portal page layout and semantics.