Template:MainPage/NewsCard: Difference between revisions
Efernandez (talk | contribs) (Created page with "<templatestyles src="MainPage/styles.css" /> {{#tag:html| <a href="{{{link}}}" target="_blank" style="text-decoration: none;"><div class="card"><h3>{{{title|Card title}}}</h3>{{{description|Card description}}}</div></a> }} <noinclude> {{#seo:|robots=noindex, nofollow}} Category:Main Page Templates Category:RidgeRun Templates </noinclude>") |
mNo edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
{{#tag:html| | {{#tag:html| | ||
<a href="{{{link}}}" target="_blank" style="text-decoration: none;"><div class="card"><h3>{{{title|Card title}}}</h3>{{{description|Card description}}}</div></a> | <a href="{{{link|}}}" target="_blank" style="text-decoration: none;"><div class="card"><h3>{{{title|Card title}}}</h3>{{{description|Card description}}}</div></a> | ||
}} | }} | ||
<noinclude> | <noinclude> | ||
{{ | |||
<templatedata> | |||
{ | |||
"description": "News card", | |||
"params": { | |||
"link": { | |||
"label": "News Link", | |||
"description": "Link to the News article/page", | |||
"type": "url" | |||
}, | |||
"title": { | |||
"label": "News Title", | |||
"description": "The title for the news", | |||
"type": "string" | |||
}, | |||
"description": { | |||
"label": "News Description", | |||
"description": "A short description of the news", | |||
"type": "string" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
[[Category:Main Page Templates]] | [[Category:Main Page Templates]] | ||
[[Category:RidgeRun Templates]] | [[Category:RidgeRun Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 19:20, 12 November 2024
News card
Parameter | Description | Type | Status | |
---|---|---|---|---|
News Link | link | Link to the News article/page | URL | optional |
News Title | title | The title for the news | String | optional |
News Description | description | A short description of the news | String | optional |