注意:

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
(cargo-ification)
Line 12: Line 12:
}}
}}
</pre>
</pre>
{{#cargo_declare:
_table=repositories
|RepoID=Text
|RepoType=Text
|Maintainer=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">
Line 22: Line 32:
{{#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 URI|}}}|Source Repository URL]]</td></tr>|}}
</table>
</table>
</div>
</div>{{#cargo_store:
_table=repositories
|RepoID={{{Repository ID|}}}
|RepoType={{{Repository Type|}}}
|Maintainer={{{Maintainer|}}}
|Organization={{#if:{{{Organization|}}}|Organization:{{{Organization|}}}}}
|Homepage={{{Homepage|}}}
|Source_URI={{{Source URI|}}}
}}
= {{PAGENAME}} =
= {{PAGENAME}} =
</includeonly>
</includeonly>

Revision as of 05:44, 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.