Template:Platform: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
< | <onlyinclude> | ||
[[Category:Resources]] | |||
[[Category:Platforms]] | |||
{{Resource | {{Resource | ||
|Resource Type=Platform | |Resource Type=Platform | ||
|Status={{{Status|}}} | |Status={{{Status|}}} | ||
|Display Title={{{Display Title|}}} | |Display Title={{{Display Title|}}} | ||
|Image={{{Image|}}} | |Subtitle={{{Subtitle|}}} | ||
|Topic Tags={{{Topic Tags|}}} | |Author={{{Author|}}} | ||
| | |Image={{{Image|}}} | ||
| | |Description={{{Description|}}} | ||
| | |Topic Tags={{{Topic Tags|}}} | ||
| | |Is Featured={{{Is Featured|}}} | ||
|Owner={{{Owner|}}} | |||
|URL={{{URL|}}} | |||
|Content={{{Content|}}} | |||
}} | }} | ||
</ | </onlyinclude><noinclude> | ||
Wrapper for Platforms. Call at page top; add main content below. | |||
<templatedata> | |||
{ | |||
"description": "Wrapper for Platform resources. Passes fields to Template:Resource. No predefined content sections—use the main Content area.", | |||
"params": { | |||
{ | "Status": {"label":"Status","description":"Draft, Published, or Archived.","type":"line","suggestedvalues":["Draft","Published","Archived"],"required":true}, | ||
"Display Title": {"label":"Display Title","description":"User-facing title override.","type":"line"}, | |||
"Subtitle": {"label":"Subtitle","description":"Short tagline.","type":"line"}, | |||
"Author": {"label":"Author/Organization","description":"Org, vendor, or maintainer.","type":"line"}, | |||
"Image": {"label":"Image","description":"Logo/cover filename.","type":"wiki-file-name"}, | |||
"Description": {"label":"Description","description":"1–2 sentence card/list summary.","type":"string","required":true}, | |||
"Topic Tags": {"label":"Topic Tags","description":"Comma-separated tags (Tag:… or plain names).","type":"line","required":true}, | |||
"Is Featured": {"label":"Featured?","description":"Set to 'yes' to highlight.","type":"boolean"}, | |||
"Owner": {"label":"Owner","description":"Responsible username (no \"User:\" prefix).","type":"wiki-user-name","required":true}, | |||
"URL": {"label":"URL","description":"Primary external link.","type":"url"}, | |||
</ | "Content": {"label":"Main Content","description":"Free-form body; wikitext/VE supported.","type":"content","suggested":true} | ||
}, | |||
"format":"block" | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 16:09, 22 September 2025
| No image provided
| |
| Type | Platform
|
|---|---|
Wrapper for Platforms. Call at page top; add main content below.
Wrapper for Platform resources. Passes fields to Template:Resource. No predefined content sections—use the main Content area.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Status | Status | Draft, Published, or Archived.
| Line | required |
| Display Title | Display Title | User-facing title override. | Line | optional |
| Subtitle | Subtitle | Short tagline. | Line | optional |
| Author/Organization | Author | Org, vendor, or maintainer. | Line | optional |
| Image | Image | Logo/cover filename. | File | optional |
| Description | Description | 1–2 sentence card/list summary. | String | required |
| Topic Tags | Topic Tags | Comma-separated tags (Tag:… or plain names). | Line | required |
| Featured? | Is Featured | Set to 'yes' to highlight. | Boolean | optional |
| Owner | Owner | Responsible username (no "User:" prefix). | User | required |
| URL | URL | Primary external link. | URL | optional |
| Main Content | Content | Free-form body; wikitext/VE supported. | Content | suggested |