Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Deployment plugin row: Difference between revisions

Template page
Content deleted Content added
Create display template for deployment plugin cards (via create-page on MediaWiki MCP Server)
 
Show plugin ownership, repositories, and deployment configuration (via update-page on MediaWiki MCP Server)
 
Line 2: Line 2:
<div class="deployment-plugin-card__header">
<div class="deployment-plugin-card__header">
[[Plugins/{{{Name}}}|<span class="deployment-plugin-card__name">{{{Name}}}</span>]]
[[Plugins/{{{Name}}}|<span class="deployment-plugin-card__name">{{{Name}}}</span>]]
{{#switch:{{{Type}}}|be=<span class="deployment-plugin-card__badge deployment-plugin-card__badge--be">BE</span>|fe=<span class="deployment-plugin-card__badge deployment-plugin-card__badge--fe">FE</span>|both=<span class="deployment-plugin-card__badge deployment-plugin-card__badge--both">Both</span>}}
{{#switch:{{{Type}}}|be=<span class="deployment-plugin-card__badge deployment-plugin-card__badge--be">Backend</span>|fe=<span class="deployment-plugin-card__badge deployment-plugin-card__badge--fe">Frontend</span>|both=<span class="deployment-plugin-card__badge deployment-plugin-card__badge--both">Frontend + backend</span>}}
<span class="deployment-plugin-card__badge deployment-plugin-card__badge--{{lc:{{{Status}}}}}">{{{Status}}}</span>
<span class="deployment-plugin-card__badge deployment-plugin-card__badge--{{lc:{{{Status}}}}}">{{{Status}}}</span>
</div>
</div>
<div class="deployment-plugin-card__description">{{{Description}}}</div>
<div class="deployment-plugin-card__description">{{{Description}}}</div>
<div class="deployment-plugin-card__footer">
<div class="deployment-plugin-card__details">
{{#if:{{{Maintainer|}}}|'''Maintained by:''' {{{Maintainer}}}<br/>}}
⚫
<span class="deployment-plugin-card__tag">{{{Category}}}</span>
{{#if:{{{BERepo|}}}|'''Backend:''' [{{{BERepo}}} repository]<br/>}}
{{#if:{{{FERepo|}}}|'''Frontend:''' [{{{FERepo}}} repository]<br/>}}
{{#if:{{{Configuration|}}}|'''Deployment configuration:''' {{{Configuration}}}}}
</div>
</div>
⚫
<div class="deployment-plugin-card__footer"><span class="deployment-plugin-card__tag">{{{Category}}}</span></div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>
Row template for the deployment plugins section. Renders each plugin as a card within deployment pages. Used by <code>{{Deployment}}</code> via <code>#cargo_query</code> with <code>format=template</code>.
Renders one enabled plugin in a CARE deployment dossier. Data is supplied by the <code>DeploymentPlugins</code>/<code>Plugins</code> Cargo join in [[Template:Deployment]].


[[Category:OHC templates]]
[[Category:OHC templates]]

Latest revision as of 22:29, 25 August 2026

Renders one enabled plugin in a CARE deployment dossier. Data is supplied by the DeploymentPlugins/Plugins Cargo join in Template:Deployment.