Template:Repository: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{| cellpadding="3" style="float:right; border-spacing:0px; background-color:#fbfbff; font-size:95%; margin:0 0 0.5em 1em; width:28em;"
This is the "Repository" template.
It should be called in the following format:
<pre>
{{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
}}
</pre>
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
! 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|,&nbsp;}} | 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|}}}|
| style="border-left: 4px solid rgb(40, 40, 40);" |'''Committable Repository:''' || style=" border-right: 4px solid rgb(40, 40, 40);"| {{{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 17: 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);" | &nbsp;
! 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);" | &nbsp;
|}
|}
 
{{#arraymap:{{{Owner|}}}|,|x|{{#set:Has Owner=x}}}}
This is the "Repository" template.
{|
It should be called in the following format:
<pre>
{{Repository
|Owner=
|RoR=
|Commit Location=
|Mirrors=
}}
</pre>
Edit the page to see the template text.
 
</noinclude><includeonly>{| class="wikitable"
! Repository of Record
| [[Is RoR::{{{RoR|}}}]]
{{#if: {{{Commit Location|}}} |
{{!}}-
! Commit Location
{{!}} [[Is Committable::{{{Commit Location|}}}]]
|}}
|-
|-
! Mirrors
! Mirrors
| {{#arraymap:{{{Mirrors|}}}|,|x|
| {{#arraymap:{{{Mirrors|}}}|,|@|{{RepoIcon|@}} [[Has Repo Mirror::@]]|<br />}}
[[Has Repo Mirror::x]]|<br />}}
|-
|-
|}
|}

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.