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