Difference between revisions of "Template:Core Platform Team Initiative Infobox"

From WPRDC Wiki
Jump to navigation Jump to search
m (62 revisions imported: mediawiki templates)
 
(38 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
<languages />
<languages />
</noinclude><includeonly>
</noinclude>{{#switch:<translate></translate>
<templatestyles src="Template:Core Platform Team Project Infobox/styles.css" />
| =
<table class="wmf-engineering-project-box" style="clear:{{Dir|{{Pagelang}}|rtl=left|ltr=right}};float:{{Dir|{{Pagelang}}|rtl=left|ltr=right}};margin:.2em;margin-{{Dir|{{Pagelang}}|rtl=right|ltr=left}}:1em;background:#f8f9fa;color:#222;border:1px solid #eaecf0;border-collapse:collapse;padding:.2em;width:300px;text-align:{{Dir|{{Pagelang}}|rtl=right|ltr=left}}">
<templatestyles src="Template:Core Platform Team Initiative Infobox/styles.css" /><table class="wmf-engineering-project-box plainlinks" style="clear:{{Dir|{{Pagelang}}|rtl=left|ltr=right}};float:{{Dir|{{Pagelang}}|rtl=left|ltr=right}};margin:.2em;margin-{{Dir|{{Pagelang}}|rtl=right|ltr=left}}:1em;background:#f8f9fa;color:#222;border:1px solid #eaecf0;border-collapse:collapse;padding:.2em;width:300px;text-align:{{Dir|{{Pagelang}}|rtl=right|ltr=left}}">
<tr><td>
<tr><td>
<div class="plainlinks vatop wmf-engineering-project-box" >
<div style="font-size:1.2em;margin:.2em;background:#14866d;color:#f8f9fa;padding:.5em;text-align:center;font-weight:bold;">{{SUBPAGENAME}}</div>
<div style="font-size:1.2em;margin:.2em;background:#14866d;color:#f8f9fa;padding:.5em;text-align:center;font-weight:bold;">{{SUBPAGENAME}}</div>
<table style="font-size:0.8em;margin:.2em 0;width:100%">
<table style="font-size:0.8em;margin:.2em 0;width:100%">
<tr>
<tr style="vertical-align: top">
<th style="width:25%;padding-right:10px;">Owner:</th>
<th style="width:25%;padding-right:10px;"><translate><!--T:1--> Product Owner:</translate></th>
<td>{{{owner|}}}</td>
<td>{{{product-owner|}}}</td>
</tr>
</tr>
<tr>
<tr style="vertical-align: top">
<th style="width:25%;padding-right:10px;">Status:</th>
<th style="width:25%;padding-right:10px;"><translate><!--T:2--> Technical Contact:</translate></th>
<td>{{{technical-contact|}}}</td>
</tr>
<tr style="vertical-align: top">
<th style="width:25%;padding-right:10px;"><translate><!--T:3--> Status:</translate></th>
<td>{{{status|}}}</td>
<td>{{{status|}}}</td>
</tr>
</tr>
<tr>
<tr style="vertical-align: top">
<th style="width:25%;padding-right:10px;">Project Description:</th>
{{Core Platform Team Initiative Infobox Row|Initiative Vision}}
<td style="text-align:center;vertical-align: middle;">{{#ifexist:Core Platform Team/Project/{{SUBPAGENAME}}/Description
</tr>
| <span class="mw-ui-button mw-ui-progressive">[{{fullurl:Core Platform Team/Project/{{SUBPAGENAME}}/Description}} View]</span> &middot; <span class="plainlinks mw-ui-button mw-ui-progressive">[{{fullurl:Core Platform Team/Project/{{SUBPAGENAME}}/Description|action=edit}} Edit]</span>
<tr style="vertical-align: top">
|<inputbox>
{{Core Platform Team Initiative Infobox Row|Initiative Description}}
type=create
</tr>
default=Core Platform Team/Project/{{SUBPAGENAME}}/Description
<tr style="vertical-align: top">
preload={{FULLPAGENAME}}/Project/Preload/Description
{{Core Platform Team Initiative Infobox Row|Epics, User Stories, and Requirements}}
hidden=true
</tr>
buttonlabel=Create
<tr style="vertical-align: top">
inline=true
{{Core Platform Team Initiative Infobox Row|Time and Resource Estimates}}
break=no
</inputbox>
}}
</td>
</tr>
</tr>
<tr>
<tr style="vertical-align: top">
<th style="width:25%;padding-right:10px;">Product Requirements:</th>
{{Core Platform Team Initiative Infobox Row|Open Questions}}
<td style="vertical-align: middle;">{{#ifexist:Core Platform Team/Project/{{SUBPAGENAME}}/Product Requirements
| [[Core Platform Team/Project/{{SUBPAGENAME}}/Product Requirements|View]] &middot; <span class="plainlinks">[{{fullurl:Core Platform Team/Project/{{SUBPAGENAME}}/Product Requirements|action=edit}} Edit]</span>
|<inputbox>
type=create
default=Core Platform Team/Project/{{SUBPAGENAME}}/Product Requirements
preload={{FULLPAGENAME}}/Project/Preload/Product Requirements
hidden=true
buttonlabel=Create
inline=true
break=no
</inputbox>
}}
</td>
</tr>
</tr>
<tr style="vertical-align: top">
{{Core Platform Team Initiative Infobox Row|Documentation Links}}
</tr>
</tr>
<tr>
</table>
<th style="width:25%;padding-right:10px;">Functional Requirements:</th>
</td></tr></table>__TOC__<div style="clear:both"></div>
<td style="vertical-align: middle;">{{#ifexist:Core Platform Team/Project/{{SUBPAGENAME}}/Functional Requirements
| #default=
| <span class="createboxButton">[[Core Platform Team/Project/{{SUBPAGENAME}}/Functional Requirements|View]]<span> &middot; <span class="plainlinks">[{{fullurl:Core Platform Team/Project/{{SUBPAGENAME}}/Functional Requirements|action=edit}} Edit]</span>
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Core Platform Team Initiative Infobox|noshift=1|uselang={{int:lang}}}}
|<inputbox>
}}<includeonly>{{#ifeq:Preload|{{#titleparts:{{FULLPAGENAME}}|-1|-2}}||
type=create
{{#switch:{{{status|}}}
default=Core Platform Team/Project/{{SUBPAGENAME}}/Functional Requirements
| Planning
preload={{FULLPAGENAME}}/Project/Preload/Functional Requirements
| Proposed
hidden=true
| Later
buttonlabel=Create
| Declined
inline=true
| Transferred
break=no
| In Progress
</inputbox>
| Paused
}}
| Completed = [[Category:Platform Engineering Team Initiatives ({{{status}}})]]
</td>
|[[Category:Platform Engineering Team Initiatives]]
</tr></table>
}}}}</includeonly><noinclude>
</div></td></tr></table>
{{documentation|content=
</includeonly><noinclude>
{{Uses TemplateStyles|Template:Core Platform Team Initiative Infobox/styles.css}}
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"Owner": {
"Product Owner": {
"type": "line",
"aliases": [
"product-owner"
],
"description": "The person responsible for this initiative.",
"example": "[[User:Username|Full Name]]",
"required": true
},
"Technical Contact": {
"type": "line",
"type": "line",
"description": "The person responsible for this project.",
"aliases": [
"aliases": [
"owner"
"technical-contact"
],
],
"example": "[[User:Username|Full Name]]"
"description": "The person to contact with technical questions about this initiative.",
"example": "[[User:Username|Full Name]]",
"suggested": true
},
},
"Status": {
"Status": {
"type": "string",
"type": "content",
"aliases": [
"aliases": [
"status"
"status"
],
],
"example": "Not Started, Planning, Description, Requirements, In Review, RFC, Scheduling, In Progress, Complete, Archived"
"description": "The current status of this initiative.",
"example": "Planning, Proposed, Later, Declined, Transfered, In Progress, Paused, Completed",
"suggested": true
}
}
},
},
"description": "Navigation page for a Core Platform Team project.",
"description": "Navigation page for a Core Platform Team Initiative.",
"format": "block"
"format": "block",
"paramOrder": [
"Product Owner",
"Technical Contact",
"Status"
]
}
}
</templatedata>
</templatedata>
}}
</noinclude>
</noinclude>

Latest revision as of 11:10, 16 November 2021