Template:Repository: Difference between revisions
No edit summary |
No edit summary |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{Repository | {{Repository | ||
|Owner= | |Owner= Comma Separated list of Teams or People who own the Repository | ||
|RoR= | |RoR= Repository of Record | ||
|Commit Location= | |Commit Location= Location commits go (if different than the "RoR") | ||
|Mirrors= | |Mirrors= Comma Separated list of Mirrors of the repo | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 15: | Line 15: | ||
! 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 | ! 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 | ||
|- class="hiddenStructure" | |- 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): {{{Owner|Unspecified | | 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 | ! 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" | |- 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);" | {{{RoR|}}} | | 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|}}}]] | ||
|- bgcolor="#fbfbff" valign="top" | {{#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" 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 | ||
| Line 29: | Line 31: | ||
! 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);" | | ! 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 | ! Mirrors | ||
| {{#arraymap:{{{Mirrors|}}}|,| | | {{#arraymap:{{{Mirrors|}}}|,|@|{{RepoIcon|@}} [[Has Repo Mirror::@]]|<br />}} | ||
[[Has Repo Mirror:: | |||
|- | |- | ||
|} | |} | ||
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.