Template:ResearchGroupCard: Difference between revisions
From Intelligent Materials and Systems Lab
m (Protected "Template:ResearchGroupCard": essential for a website's look ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(Added a way for user to specify ResearchGroupCard image themselves) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
== Documentation == | |||
For documentation, please, look at [[Secure:Content_Management#Research_Groups|Content Management]]. | |||
== Usage == | == Usage == | ||
<code><nowiki>{{ResearchGroupCard | | <code><nowiki>{{ResearchGroupCard | | ||
Line 10: | Line 13: | ||
name=Group Name | | name=Group Name | | ||
link=GroupPageName | | link=GroupPageName | | ||
image= | image=London.png}} | ||
</noinclude><includeonly><div id='{{#replace:{{{name|}}}| |}}' class="research-group-card">[[{{{link}}}|{{{name}}}]]</div></includeonly> | </noinclude><includeonly><div id='{{#replace:{{{name|}}}| |}}' class="research-group-card">{{#if: {{{image|}}} | [[File:{{{image|}}}|link=]] | }}[[{{{link}}}|{{{name}}}]]</div></includeonly> |
Latest revision as of 12:53, 29 August 2022
Documentation
For documentation, please, look at Content Management.
Usage
{{ResearchGroupCard |
name=Group Name |
link=GroupPageName |
image=image.jpg}}