Difference between revisions of "Template:Portal"
From Earth Science Information Partners (ESIP)
Line 25: | Line 25: | ||
}} | }} | ||
</div> | </div> | ||
− | <div class="card-footer d-block d-md-flex justify-content-between"> | + | <div class="card-footer d-block d-md-flex justify-content-between"><!-- |
− | {{#ifeq: {{{Portal news|}}}|Yes | + | |
+ | -->{{#ifeq: {{{Portal news|}}}|Yes | ||
|{{#formlink: form=News | |{{#formlink: form=News | ||
− | |link text=<span class="mw-ui-button mw-ui-progressive w-100 w-md-auto">Add News</span> | + | |link text=<span class="mw-ui-button mw-ui-progressive w-100 w-md-auto mb-2 mb-md-0">Add News</span> |
|News[Portal]={{PAGENAME}} | |News[Portal]={{PAGENAME}} | ||
}} | }} | ||
− | }} | + | }}<!-- |
− | {{#ifeq: {{{Portal events|}}}|Yes | + | |
+ | -->{{#ifeq: {{{Portal events|}}}|Yes | ||
|{{#formlink: form=Event | |{{#formlink: form=Event | ||
− | |link text=<span class="mw-ui-button mw-ui-progressive w-100 w-md-auto">Add Event</span> | + | |link text=<span class="mw-ui-button mw-ui-progressive w-100 w-md-auto mb-2 mb-md-0">Add Event</span> |
|Event[Portal]={{PAGENAME}} | |Event[Portal]={{PAGENAME}} | ||
}} | }} | ||
− | }} | + | }}<!-- |
− | {{#ifeq: {{{Portal resources|}}}|Yes | + | |
+ | -->{{#ifeq: {{{Portal resources|}}}|Yes | ||
|{{#formlink: form=Resources | |{{#formlink: form=Resources | ||
− | |link text=<span class="mw-ui-button mw-ui-destructive w-100 w-md-auto">Add Resources</span> | + | |link text=<span class="mw-ui-button mw-ui-destructive w-100 w-md-auto mb-2 mb-md-0">Add Resources</span> |
|Resources[Portal]={{PAGENAME}} | |Resources[Portal]={{PAGENAME}} | ||
}} | }} | ||
− | }} | + | }}<!-- |
− | {{#ifeq: {{{Portal documents|}}}|Yes | + | |
+ | -->{{#ifeq: {{{Portal documents|}}}|Yes | ||
|{{#formlink: form=Documents | |{{#formlink: form=Documents | ||
− | |link text=<span class="mw-ui-button mw-ui-destructive w-100 w-md-auto">Add Document</span> | + | |link text=<span class="mw-ui-button mw-ui-destructive w-100 w-md-auto mb-2 mb-md-0">Add Document</span> |
|Documents[Portal]={{PAGENAME}} | |Documents[Portal]={{PAGENAME}} | ||
}} | }} |
Revision as of 03:09, July 18, 2020
Portal page layout and semantics.