注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Template:Repository"

From Funtoo
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 12: Line 12:
}}
}}
</pre>
</pre>
{{#cargo_declare:
_table=repositories
|RepoID=Text
|RepoType=Text
|Maintainer=List (,) of Page
|Organization=Page
|Homepage=Text
|Source_URI=Text
}}
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>[[Repository Type::{{{Repository Type|}}}]]</td></tr>
<tr><td><i>Repository Type:</i></td><td>{{{Repository Type|}}}</td></tr>
<tr><td><i>Repository ID:</i></td><td>[[Repository ID::{{{Repository ID|}}}]]</td></tr>
<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>[[Organization::Organization:{{{Organization|}}}|{{{Organization|}}}]]</td></tr>}}
{{#if: {{{Organization|}}}|<tr><td><i>Organization:</i></td><td>[[Organization:{{{Organization|}}}|{{{Organization|}}}]]</td></tr>}}
<tr><td><i>Links:</i></td><td>[[Homepage::{{{Homepage|}}}|Home Page]]</td></tr>
<tr><td><i>Links:</i></td><td>[{{{Homepage|}}} Home Page]</td></tr>
{{#if:{{{Source URI|}}}|<tr><td></td><td>[[Source URI::{{{Source URI|}}}|Source Repository URL]]</td></tr>|}}
{{#if:{{{Source URI|}}}|<tr><td></td><td>[{{{Source URI|}}} Source Repository URL]</td></tr>|}}
</table>
</table>
</div>
</div>{{#cargo_store:
_table=repositories
|RepoID={{{Repository ID|}}}
|RepoType={{{Repository Type|}}}
|Maintainer={{#arraymaptemplate:{{{Maintainer|}}}|Userify|,}}
|Organization={{#if:{{{Organization|}}}|Organization:{{{Organization|}}}}}
|Homepage={{{Homepage|}}}
|Source_URI={{{Source URI|}}}
}}
= {{PAGENAME}} =
= {{PAGENAME}} =
</includeonly>
</includeonly>

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.