Difference between revisions of "Template:Portal"
From Earth Science Information Partners (ESIP)
(13 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 80: | 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 96: | 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" title="Create new event"></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 120: | Line 94: | ||
|link text=<i class="fas fa-pencil-alt text-dark float-right" title="Edit Resources page"></i> | |link text=<i class="fas fa-pencil-alt text-dark float-right" title="Edit Resources page"></i> | ||
|target={{PAGENAME}}/Resources | |target={{PAGENAME}}/Resources | ||
+ | |returnto={{PAGENAME}} | ||
+ | |reload | ||
}} | }} | ||
|{{#formlink: form=Resources | |{{#formlink: form=Resources | ||
|link text=<i class="fas fa-plus-circle text-dark float-right" title="Create Resources page"></i> | |link text=<i class="fas fa-plus-circle text-dark float-right" title="Create Resources page"></i> | ||
|Resources[Portal]={{PAGENAME}} | |Resources[Portal]={{PAGENAME}} | ||
+ | |returnto={{PAGENAME}} | ||
+ | |reload | ||
}} | }} | ||
}}<!-- -->Resources</div> | }}<!-- -->Resources</div> | ||
Line 145: | 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 153: | Line 131: | ||
|Googledoc[Portal title]={{PAGENAME}} | |Googledoc[Portal title]={{PAGENAME}} | ||
|button text=Create or edit description | |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.