Difference between revisions of "Template:Ebuild"

From Funtoo
Jump to: navigation, search
Line 17: Line 17:
 
<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: {{{Homepage|}}} |<tr><td></td><td>{{{Homepage|}}}</td></tr> |}}</table><hr>
tables=repositories
 
|where=RepoID="{{#var:repoid}}"
 
|limit=1
 
|more results text=}}
 
</td></tr>  {{#if: {{{Homepage|}}} |<tr><td></td><td>{{{Homepage|}}}</td></tr> |}}</table><hr>
 
 
<b>Summary:</b> {{{Summary|}}}
 
<b>Summary:</b> {{{Summary|}}}
  

Revision as of 07:15, August 26, 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.