Note:
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Template:Ebuild"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
<div class="col-md-3 col-md-push-9"> | <div class="col-md-3 col-md-push-9"> | ||
<b>{{{CatPkg|}}}</b> | <b>{{{CatPkg|}}}</b> | ||
<hr>{{#vardefine:cat|{{#explode:{{{CatPkg}}}|/|0}}}}{{#vardefine:pkg|{{#explode:{{{CatPkg}}}|/|1 | <hr>{{#vardefine:cat|{{#explode:{{{CatPkg}}}|/|0}}}}{{#vardefine:pkg|{{#explode:{{{CatPkg}}}|/|1}}}} | ||
<table border="0" width="100%"> | <table border="0" width="100%"> | ||
{{#if: {{{Maintainer|}}} |<tr><td><i>Current Maintainer(s):</i></td><td>{{#arraymaptemplate:{{{Maintainer|}}}|MaintainerDisplay|,|<br>}}</td></tr> |}}<tr><td><i>Source Repository:</i></td><td>{{#cargo_query: | {{#if: {{{Maintainer|}}} |<tr><td><i>Current Maintainer(s):</i></td><td>{{#arraymaptemplate:{{{Maintainer|}}}|MaintainerDisplay|,|<br>}}</td></tr> |}}<tr><td><i>Source Repository:</i></td><td>{{#cargo_query: | ||
Line 24: | Line 24: | ||
</td></tr> {{#if: {{{Homepage|}}} |<tr><td></td><td>{{{Homepage|}}}</td></tr> |}}</table><hr> | </td></tr> {{#if: {{{Homepage|}}} |<tr><td></td><td>{{{Homepage|}}}</td></tr> |}}</table><hr> | ||
<b>Summary:</b> {{{Summary|}}} | <b>Summary:</b> {{{Summary|}}} | ||
== News == | == News == | ||
Line 47: | Line 43: | ||
|Homepage={{{Homepage|}}} | |Homepage={{{Homepage|}}} | ||
|Summary={{{Summary|}}} | |Summary={{{Summary|}}} | ||
}} | }} | ||
</includeonly> | </includeonly> |
Revision as of 20:47, August 16, 2018
This is the "Ebuild" template. It should be called in the following format:
{{Ebuild |Summary= |CatPkg= |Maintainer= |Homepage= }}
Edit the page to see the template text. This template defines the table "ebuilds". View table.