Template: ResearchProjectCard: Difference between revisions
From Innovation
No edit summary |
No edit summary |
||
| Line 29: | Line 29: | ||
<div style="display:grid; grid-template-columns:repeat(auto-fit, minmax(160px, 1fr)); gap:8px;"> | <div style="display:grid; grid-template-columns:repeat(auto-fit, minmax(160px, 1fr)); gap:8px;"> | ||
<div style="background:#f1efe8; border-radius:8px; padding:10px 12px;"> | <div style="background:#f1efe8; border-radius:8px; padding:10px 12px;"> | ||
<div style="font-size:11px; color:#888780; margin:0 0 4px;"> | <div style="font-size:11px; color:#888780; margin:0 0 4px;">Funding Agency</div> | ||
<div style="font-size:12px; font-weight:500; color:#1a1a1a; line-height:1.35;">{{{5|}}}</div> | <div style="font-size:12px; font-weight:500; color:#1a1a1a; line-height:1.35;">{{{5|}}}</div> | ||
</div> | </div> | ||
<div style="background:#f1efe8; border-radius:8px; padding:10px 12px;"> | <div style="background:#f1efe8; border-radius:8px; padding:10px 12px;"> | ||
<div style="font-size:11px; color:#888780; margin:0 0 4px;"> | <div style="font-size:11px; color:#888780; margin:0 0 4px;">Funding Program</div> | ||
<div style="font-size:12px; font-weight:500; color:#1a1a1a; line-height:1.35;">{{{6|}}}</div> | <div style="font-size:12px; font-weight:500; color:#1a1a1a; line-height:1.35;">{{{6|}}}</div> | ||
</div> | </div> | ||
<div style="background:#f1efe8; border-radius:8px; padding:10px 12px;"> | <div style="background:#f1efe8; border-radius:8px; padding:10px 12px;"> | ||
<div style="font-size:11px; color:#888780; margin:0 0 4px;"> | <div style="font-size:11px; color:#888780; margin:0 0 4px;">Government Ministry</div> | ||
<div style="font-size:12px; font-weight:500; color:#1a1a1a; line-height:1.35;">{{{7|}}}</div> | <div style="font-size:12px; font-weight:500; color:#1a1a1a; line-height:1.35;">{{{7|}}}</div> | ||
</div> | </div> | ||
</div> | </div> | ||
</div></includeonly> | </div></includeonly> | ||
Latest revision as of 00:39, 4 May 2026
Usage
A display-only card used by Research projects to render each row of an SMW #ask query as a modern card. This template does not set any SMW properties — it is purely for presentation.
This template is called automatically by the SMW query in Research projects using format=template. You generally do not need to call it directly.
Parameter order (positional, as supplied by SMW):
- Page name (used for the link target)
- ProjectName (display text — Korean full title)
- StartDate
- EndDate
- FundingAgency
- FundingProgram
- GovernmentMinistry
The card title shows ProjectName as a clickable link that jumps to the page named in parameter 1.