注意:
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Template:Repository"
Jump to navigation
Jump to search
(cargo-ification) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
|RepoID=Text | |RepoID=Text | ||
|RepoType=Text | |RepoType=Text | ||
|Maintainer=Page | |Maintainer=List (,) of Page | ||
|Organization=Page | |Organization=Page | ||
|Homepage=Text | |Homepage=Text | ||
Line 23: | Line 23: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly><div style="float: right; width: 30%; padding: 1em; margin-left: 1em; margin-bottom: 1em; border-radius: 10px; border: 1px solid #ddd; background-color: #efefef;" id="ov_infobox"> | </noinclude><includeonly><div style="float: right; width: 30%; padding: 1em; margin-left: 1em; margin-bottom: 1em; border-radius: 10px; border: 1px solid #ddd; background-color: #efefef;" id="ov_infobox">{{#vardefine:RepoID|{{{Repository ID|}}}}} | ||
<table border="0" width="100%"> | <table border="0" width="100%"> | ||
<tr><td><i>Repository Type:</i></td><td> | <tr><td><i>Repository Type:</i></td><td>{{{Repository Type|}}}</td></tr> | ||
<tr><td><i>Repository ID:</i></td><td> | <tr><td><i>Repository ID:</i></td><td>{{{Repository ID|}}}</td></tr> | ||
{{#if: {{{Maintainer|}}} |<tr><td><i>Current Maintainer(s):</i></td><td>{{#arraymaptemplate:{{{Maintainer|}}}|MaintainerDisplay|,|<br>}}</td></tr> |}} | {{#if: {{{Maintainer|}}} |<tr><td><i>Current Maintainer(s):</i></td><td>{{#arraymaptemplate:{{{Maintainer|}}}|MaintainerDisplay|,|<br>}}</td></tr> |}} | ||
{{#if: {{{Organization|}}}|<tr><td><i>Organization:</i></td><td>[[ | {{#if: {{{Organization|}}}|<tr><td><i>Organization:</i></td><td>[[Organization:{{{Organization|}}}|{{{Organization|}}}]]</td></tr>}} | ||
<tr><td><i>Links:</i></td><td>[ | <tr><td><i>Links:</i></td><td>[{{{Homepage|}}} Home Page]</td></tr> | ||
{{#if:{{{Source URI|}}}|<tr><td></td><td>[ | {{#if:{{{Source URI|}}}|<tr><td></td><td>[{{{Source URI|}}} Source Repository URL]</td></tr>|}} | ||
</table> | </table> | ||
</div>{{#cargo_store: | </div>{{#cargo_store: | ||
Line 36: | Line 36: | ||
|RepoID={{{Repository ID|}}} | |RepoID={{{Repository ID|}}} | ||
|RepoType={{{Repository Type|}}} | |RepoType={{{Repository Type|}}} | ||
|Maintainer={{{Maintainer|}}} | |Maintainer={{#arraymaptemplate:{{{Maintainer|}}}|Userify|,}} | ||
|Organization={{#if:{{{Organization|}}}|Organization:{{{Organization|}}}}} | |Organization={{#if:{{{Organization|}}}|Organization:{{{Organization|}}}}} | ||
|Homepage={{{Homepage|}}} | |Homepage={{{Homepage|}}} |
Latest revision as of 07:33, June 28, 2015
This is the "Repository" template. It should be called in the following format:
{{Repository |Repository ID= |Repository Type= |Maintainer= |Organization= |Homepage= |Source URI= }}
This template defines the table "repositories". View table.
Edit the page to see the template text.