Template:Repository: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (20 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{Repository | {{Repository | ||
|RoR= | |Owner= Comma Separated list of Teams or People who own the Repository | ||
|Commit Location= | |RoR= Repository of Record | ||
|Mirrors= | |Commit Location= Location commits go (if different than the "RoR") | ||
|Mirrors= Comma Separated list of Mirrors of the repo | |||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
{{{{ | </noinclude><includeonly>{| cellpadding="3" style="float:right; border-spacing:0px; background-color:#fbfbff; font-size:95%; margin:0 0 0.5em 1em; width:28em;" | ||
| | ! colspan="2" style="color: black; background-color: #dddddd; font-weight: bold; text-align:center; font-size: larger; -moz-border-radius-topright: 10px; -moz-border-radius-topleft: 10px; border-left: 4px solid rgb(40, 40, 40); border-right: 4px solid rgb(40, 40, 40); border-top: 4px solid rgb(40, 40, 40);" | {{SUBPAGENAME}} Repository | ||
|Commit Location= | |- class="hiddenStructure" | ||
| colspan="2" align="center" bgcolor="#ffffff" style="border-left: 4px solid rgb(40, 40, 40); border-right: 4px solid rgb(40, 40, 40);" | Owner(s): {{#if: {{{Owner|}}} | {{#arraymap:{{{Owner|}}}|,|x|x|, }} | Unspecified }} | |||
|- | |||
! colspan="2" style="color: black; background-color: #dddddd; font-weight: bold; text-align:center; border-left: 4px solid rgb(40, 40, 40); border-right: 4px solid rgb(40, 40, 40);" | Repository URLs | |||
|- class="hiddenStructure" bgcolor="#fbfbff" valign="top" | |||
| style="border-left: 4px solid rgb(40, 40, 40);" | '''Repository of Record:''' || style=" border-right: 4px solid rgb(40, 40, 40);" | {{RepoIcon|{{{RoR|}}}}} [[Is RoR::{{{RoR|}}}]] | |||
{{#if: {{{Commit Location|}}}| | |||
{{!}}- bgcolor="#fbfbff" valign="top" | |||
{{!}} style="border-left: 4px solid rgb(40, 40, 40);" {{!}}'''Committable Repository:''' {{!}}{{!}} style=" border-right: 4px solid rgb(40, 40, 40);"{{!}} {{RepoIcon|{{{Commit Location|}}}}} {{{Commit Location|}}}| | |||
}} | }} | ||
|- | |||
! | ! colspan="2" style="color: black; background-color: #dddddd; font-weight: bold; text-align:center; border-left: 4px solid rgb(40, 40, 40); border-right: 4px solid rgb(40, 40, 40); " | Applications Using this Repo | ||
| | |- | ||
| colspan="2" align="center" bgcolor="#ffffff" style="border-left: 4px solid rgb(40, 40, 40); border-right: 4px solid rgb(40, 40, 40);" | '''''TODO''''' | |||
|- | |||
! colspan="2" style="color: #dddddd; background-color: #dddddd; font-weight: bold; text-align:center; -moz-border-radius-bottomright: 10px; -moz-border-radius-bottomleft: 10px; border-left: 4px solid rgb(40, 40, 40); border-right: 4px solid rgb(40, 40, 40); border-bottom: 4px solid rgb(40, 40, 40);" | | |||
|} | |||
{{#arraymap:{{{Owner|}}}|,|x|{{#set:Has Owner=x}}}} | |||
{| | |||
|- | |- | ||
! | ! Mirrors | ||
| | | {{#arraymap:{{{Mirrors|}}}|,|@|{{RepoIcon|@}} [[Has Repo Mirror::@]]|<br />}} | ||
|- | |- | ||
|} | |} | ||
[[Category:Repositories]] | [[Category:Repositories]] | ||
</includeonly> | </includeonly> | ||
Latest revision as of 00:41, 6 December 2014
This is the "Repository" template. It should be called in the following format:
{{Repository
|Owner= Comma Separated list of Teams or People who own the Repository
|RoR= Repository of Record
|Commit Location= Location commits go (if different than the "RoR")
|Mirrors= Comma Separated list of Mirrors of the repo
}}
Edit the page to see the template text.